mirror of https://git.rancher.io/charts
Regenerate released directory
Add k3s-cis support for permissive and hardened profiles (#1140) * add k3s cis 1.6 profiles * update security scans image version * update cis-operator versionpull/1215/head
parent
9f5ec2949a
commit
b3a1074d4d
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
apiVersion: cis.cattle.io/v1
|
||||||
|
kind: ClusterScanBenchmark
|
||||||
|
metadata:
|
||||||
|
name: k3s-cis-1.6-hardened
|
||||||
|
spec:
|
||||||
|
clusterProvider: k3s
|
||||||
|
minKubernetesVersion: "1.20.5"
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
apiVersion: cis.cattle.io/v1
|
||||||
|
kind: ClusterScanBenchmark
|
||||||
|
metadata:
|
||||||
|
name: k3s-cis-1.6-permissive
|
||||||
|
spec:
|
||||||
|
clusterProvider: k3s
|
||||||
|
minKubernetesVersion: "1.20.5"
|
|
@ -13,4 +13,5 @@ data:
|
||||||
>=1.20.5: rke2-cis-1.6-profile-permissive
|
>=1.20.5: rke2-cis-1.6-profile-permissive
|
||||||
eks: "eks-profile"
|
eks: "eks-profile"
|
||||||
gke: "gke-profile"
|
gke: "gke-profile"
|
||||||
|
k3s: "k3s-cis-1.6-profile-permissive"
|
||||||
default: "cis-1.6-profile"
|
default: "cis-1.6-profile"
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
apiVersion: cis.cattle.io/v1
|
||||||
|
kind: ClusterScanProfile
|
||||||
|
metadata:
|
||||||
|
name: k3s-cis-1.6-profile-hardened
|
||||||
|
annotations:
|
||||||
|
clusterscanprofile.cis.cattle.io/builtin: "true"
|
||||||
|
spec:
|
||||||
|
benchmarkVersion: k3s-cis-1.6-hardened
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
apiVersion: cis.cattle.io/v1
|
||||||
|
kind: ClusterScanProfile
|
||||||
|
metadata:
|
||||||
|
name: k3s-cis-1.6-profile-permissive
|
||||||
|
annotations:
|
||||||
|
clusterscanprofile.cis.cattle.io/builtin: "true"
|
||||||
|
spec:
|
||||||
|
benchmarkVersion: k3s-cis-1.6-permissive
|
|
@ -5,10 +5,10 @@
|
||||||
image:
|
image:
|
||||||
cisoperator:
|
cisoperator:
|
||||||
repository: rancher/cis-operator
|
repository: rancher/cis-operator
|
||||||
tag: v1.0.4-rc1
|
tag: v1.0.4-rc2
|
||||||
securityScan:
|
securityScan:
|
||||||
repository: rancher/security-scan
|
repository: rancher/security-scan
|
||||||
tag: v0.2.3-rc2
|
tag: v0.2.3-rc3
|
||||||
sonobuoy:
|
sonobuoy:
|
||||||
repository: rancher/mirrored-sonobuoy-sonobuoy
|
repository: rancher/mirrored-sonobuoy-sonobuoy
|
||||||
tag: v0.16.3
|
tag: v0.16.3
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/release-name: rancher-operator-crd
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.0
|
||||||
|
description: Rancher Operator CustomResourceDefinitions
|
||||||
|
name: rancher-operator-crd
|
||||||
|
version: 0.1.000
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/release-name: rancher-operator-crd
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.1
|
||||||
|
description: Rancher Operator CustomResourceDefinitions
|
||||||
|
name: rancher-operator-crd
|
||||||
|
version: 0.1.100
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,11 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/release-name: rancher-operator-crd
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.2
|
||||||
|
description: Rancher Operator CustomResourceDefinitions
|
||||||
|
name: rancher-operator-crd
|
||||||
|
version: 0.1.200
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,11 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/release-name: rancher-operator-crd
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.3
|
||||||
|
description: Rancher Operator CustomResourceDefinitions
|
||||||
|
name: rancher-operator-crd
|
||||||
|
version: 0.1.300
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,11 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/release-name: rancher-operator-crd
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.4
|
||||||
|
description: Rancher Operator CustomResourceDefinitions
|
||||||
|
name: rancher-operator-crd
|
||||||
|
version: 0.1.400
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,14 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/experimental: "true"
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||||
|
catalog.cattle.io/release-name: rancher-operator
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.0
|
||||||
|
description: Control Rancher using GitOps
|
||||||
|
name: rancher-operator
|
||||||
|
version: 0.1.000
|
|
@ -0,0 +1,7 @@
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: rancher-operator
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: rancher-operator
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||||
|
name: rancher-operator
|
||||||
|
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
||||||
|
serviceAccountName: rancher-operator
|
|
@ -0,0 +1,35 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
- configmaps
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
- apiGroups:
|
||||||
|
- "rancher.cattle.io"
|
||||||
|
- "management.cattle.io"
|
||||||
|
- "fleet.cattle.io"
|
||||||
|
resources:
|
||||||
|
- '*'
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: rancher-operator
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: rancher-operator
|
||||||
|
namespace: {{.Release.Namespace}}
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
|
@ -0,0 +1,8 @@
|
||||||
|
image:
|
||||||
|
repository: rancher/rancher-operator
|
||||||
|
tag: v0.1.0
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
global:
|
||||||
|
cattle:
|
||||||
|
systemDefaultRegistry: ""
|
|
@ -0,0 +1,14 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/experimental: "true"
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||||
|
catalog.cattle.io/release-name: rancher-operator
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.1
|
||||||
|
description: Control Rancher using GitOps
|
||||||
|
name: rancher-operator
|
||||||
|
version: 0.1.100
|
|
@ -0,0 +1,7 @@
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: rancher-operator
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: rancher-operator
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||||
|
name: rancher-operator
|
||||||
|
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
||||||
|
serviceAccountName: rancher-operator
|
|
@ -0,0 +1,44 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
- configmaps
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- daemonsets
|
||||||
|
- deployments
|
||||||
|
verbs:
|
||||||
|
- list
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- "rancher.cattle.io"
|
||||||
|
- "management.cattle.io"
|
||||||
|
- "fleet.cattle.io"
|
||||||
|
resources:
|
||||||
|
- '*'
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: rancher-operator
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: rancher-operator
|
||||||
|
namespace: {{.Release.Namespace}}
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
|
@ -0,0 +1,8 @@
|
||||||
|
image:
|
||||||
|
repository: rancher/rancher-operator
|
||||||
|
tag: v0.1.1
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
global:
|
||||||
|
cattle:
|
||||||
|
systemDefaultRegistry: ""
|
|
@ -0,0 +1,14 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/experimental: "true"
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||||
|
catalog.cattle.io/release-name: rancher-operator
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.2
|
||||||
|
description: Control Rancher using GitOps
|
||||||
|
name: rancher-operator
|
||||||
|
version: 0.1.200
|
|
@ -0,0 +1,7 @@
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: rancher-operator
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: rancher-operator
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||||
|
name: rancher-operator
|
||||||
|
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
||||||
|
serviceAccountName: rancher-operator
|
|
@ -0,0 +1,44 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
- configmaps
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- daemonsets
|
||||||
|
- deployments
|
||||||
|
verbs:
|
||||||
|
- list
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- "rancher.cattle.io"
|
||||||
|
- "management.cattle.io"
|
||||||
|
- "fleet.cattle.io"
|
||||||
|
resources:
|
||||||
|
- '*'
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: rancher-operator
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: rancher-operator
|
||||||
|
namespace: {{.Release.Namespace}}
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
|
@ -0,0 +1,8 @@
|
||||||
|
image:
|
||||||
|
repository: rancher/rancher-operator
|
||||||
|
tag: v0.1.2
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
global:
|
||||||
|
cattle:
|
||||||
|
systemDefaultRegistry: ""
|
|
@ -0,0 +1,14 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/experimental: "true"
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||||
|
catalog.cattle.io/release-name: rancher-operator
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.3
|
||||||
|
description: Control Rancher using GitOps
|
||||||
|
name: rancher-operator
|
||||||
|
version: 0.1.300
|
|
@ -0,0 +1,7 @@
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: rancher-operator
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: rancher-operator
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||||
|
name: rancher-operator
|
||||||
|
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
||||||
|
serviceAccountName: rancher-operator
|
|
@ -0,0 +1,44 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
- configmaps
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- daemonsets
|
||||||
|
- deployments
|
||||||
|
verbs:
|
||||||
|
- list
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- "rancher.cattle.io"
|
||||||
|
- "management.cattle.io"
|
||||||
|
- "fleet.cattle.io"
|
||||||
|
resources:
|
||||||
|
- '*'
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: rancher-operator
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: rancher-operator
|
||||||
|
namespace: {{.Release.Namespace}}
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
|
@ -0,0 +1,8 @@
|
||||||
|
image:
|
||||||
|
repository: rancher/rancher-operator
|
||||||
|
tag: v0.1.3
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
global:
|
||||||
|
cattle:
|
||||||
|
systemDefaultRegistry: ""
|
|
@ -0,0 +1,14 @@
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/experimental: "true"
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: rancher-operator-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||||
|
catalog.cattle.io/release-name: rancher-operator
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.1.4
|
||||||
|
description: Control Rancher using GitOps
|
||||||
|
name: rancher-operator
|
||||||
|
version: 0.1.400
|
|
@ -0,0 +1,7 @@
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: rancher-operator
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: rancher-operator
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||||
|
name: rancher-operator
|
||||||
|
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
||||||
|
serviceAccountName: rancher-operator
|
|
@ -0,0 +1,44 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
- configmaps
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- daemonsets
|
||||||
|
- deployments
|
||||||
|
verbs:
|
||||||
|
- list
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- "rancher.cattle.io"
|
||||||
|
- "management.cattle.io"
|
||||||
|
- "fleet.cattle.io"
|
||||||
|
resources:
|
||||||
|
- '*'
|
||||||
|
verbs:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: rancher-operator
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: rancher-operator
|
||||||
|
namespace: {{.Release.Namespace}}
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: rancher-operator
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue