diff --git a/README.md b/README.md index f15e3735f..5fa837680 100644 --- a/README.md +++ b/README.md @@ -114,12 +114,12 @@ for details. ## Installation of latest release using Kubectl ```bash -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.6/manifests/arango-crd.yaml -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.6/manifests/arango-deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.7/manifests/arango-crd.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.7/manifests/arango-deployment.yaml # To use `ArangoLocalStorage`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.6/manifests/arango-storage.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.7/manifests/arango-storage.yaml # To use `ArangoDeploymentReplication`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.6/manifests/arango-deployment-replication.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.7/manifests/arango-deployment-replication.yaml ``` This procedure can also be used for upgrades and will not harm any @@ -151,12 +151,12 @@ upgrades. ```bash # The following will install the custom resources required by the operators. -helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.6/kube-arangodb-crd-1.2.6.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.7/kube-arangodb-crd-1.2.7.tgz # The following will install the operator for `ArangoDeployment` & # `ArangoDeploymentReplication` resources. -helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.6/kube-arangodb-1.2.6.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.7/kube-arangodb-1.2.7.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.6/kube-arangodb-1.2.6.tgz --set "operator.features.storage=true" +helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.7/kube-arangodb-1.2.7.tgz --set "operator.features.storage=true" ``` ## Upgrading the operator using Helm @@ -191,9 +191,9 @@ with `helm install` as normal: ```bash # The following will install the operator for `ArangoDeployment` & # `ArangoDeploymentReplication` resources. -helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.6/kube-arangodb-1.2.6.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.7/kube-arangodb-1.2.7.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.6/kube-arangodb-1.2.6.tgz --set "operator.features.storage=true" +helm install https://github.com/arangodb/kube-arangodb/releases/download/1.2.7/kube-arangodb-1.2.7.tgz --set "operator.features.storage=true" ``` ## Building diff --git a/VERSION b/VERSION index 0083d72ff..a77d7d927 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.7-preview-3+git \ No newline at end of file +1.2.7 \ No newline at end of file diff --git a/chart/kube-arangodb-crd/Chart.yaml b/chart/kube-arangodb-crd/Chart.yaml index 351f3be97..c5d38112a 100644 --- a/chart/kube-arangodb-crd/Chart.yaml +++ b/chart/kube-arangodb-crd/Chart.yaml @@ -1,7 +1,7 @@ --- name: kube-arangodb-crd -version: 1.2.6 +version: 1.2.7 description: "ArangoDB Kubernetes Custom Resource Definitions" tillerVersion: ">2.7" diff --git a/chart/kube-arangodb-test/Chart.yaml b/chart/kube-arangodb-test/Chart.yaml index 45f263e61..1ae56bb20 100644 --- a/chart/kube-arangodb-test/Chart.yaml +++ b/chart/kube-arangodb-test/Chart.yaml @@ -1,6 +1,6 @@ --- name: kube-arangodb-test -version: 1.2.6 +version: 1.2.7 description: "ArangoDB Kubernetes Test Access" \ No newline at end of file diff --git a/chart/kube-arangodb/Chart.yaml b/chart/kube-arangodb/Chart.yaml index 9c5cdf650..13df9a9ed 100644 --- a/chart/kube-arangodb/Chart.yaml +++ b/chart/kube-arangodb/Chart.yaml @@ -1,7 +1,7 @@ --- name: kube-arangodb -version: 1.2.6 +version: 1.2.7 description: "ArangoDB Kubernetes Operator" tillerVersion: ">2.7" diff --git a/chart/kube-arangodb/values.yaml b/chart/kube-arangodb/values.yaml index e0060af83..3d22cbf42 100644 --- a/chart/kube-arangodb/values.yaml +++ b/chart/kube-arangodb/values.yaml @@ -1,7 +1,7 @@ --- operator: - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 imagePullPolicy: IfNotPresent imagePullSecrets: [] diff --git a/examples/reboot-pod.yaml b/examples/reboot-pod.yaml index 308c68ca4..46b092089 100644 --- a/examples/reboot-pod.yaml +++ b/examples/reboot-pod.yaml @@ -6,7 +6,7 @@ spec: restartPolicy: Never serviceAccountName: arango-deployment-operator-reboot containers: - - image: arangodb/kube-arangodb:1.2.6 + - image: arangodb/kube-arangodb:1.2.7 name: reboot command: ["arangodb_operator", "reboot"] args: diff --git a/manifests/arango-all.yaml b/manifests/arango-all.yaml index e8c9b52cf..20ed62b3c 100644 --- a/manifests/arango-all.yaml +++ b/manifests/arango-all.yaml @@ -1,3 +1,17 @@ +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-all-operator-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all + --- # Source: kube-arangodb/templates/service-account.yaml apiVersion: v1 @@ -7,7 +21,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -19,7 +33,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -35,6 +49,22 @@ spec: scope: Cluster version: v1alpha --- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-all-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] +--- # Source: kube-arangodb/templates/backup-operator/cluster-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -42,7 +72,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -58,7 +88,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -77,7 +107,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -89,6 +119,23 @@ rules: resources: ["namespaces", "nodes"] verbs: ["get", "list"] --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-all-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] + +--- # Source: kube-arangodb/templates/storage-operator/cluster-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -96,7 +143,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -117,6 +164,26 @@ rules: resources: ["arangolocalstorages"] verbs: ["*"] --- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-all-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-all-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default +--- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -124,7 +191,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -144,7 +211,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -164,7 +231,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -177,6 +244,27 @@ subjects: name: arango-all-operator namespace: default --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-all-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-all-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default + +--- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -184,7 +272,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -197,6 +285,57 @@ subjects: name: arango-all-operator namespace: default --- +# Source: kube-arangodb/templates/apps-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-all-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["*"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] + - apiGroups: ["apps.arangodb.com"] + resources: ["arangojobs","arangojobs/status"] + verbs: ["*"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-all-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] +--- # Source: kube-arangodb/templates/backup-operator/role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -205,7 +344,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -237,7 +376,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -254,7 +393,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -286,7 +425,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -304,6 +443,36 @@ rules: resources: ["deployments", "replicasets"] verbs: ["get"] --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-all-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments", "arangoclustersynchronizations"] + verbs: ["get", "list", "watch"] + +--- # Source: kube-arangodb/templates/storage-operator/role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -312,7 +481,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -330,6 +499,49 @@ rules: resources: ["deployments", "replicasets"] verbs: ["get"] --- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-all-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-all-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-all-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-all-operator-rbac-job +subjects: + - kind: ServiceAccount + name: arango-all-operator-job + namespace: default +--- # Source: kube-arangodb/templates/backup-operator/role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -338,7 +550,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -359,7 +571,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -380,7 +592,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -401,7 +613,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -414,6 +626,28 @@ subjects: name: arango-all-operator namespace: default --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-all-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-all-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default + +--- # Source: kube-arangodb/templates/storage-operator/role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -422,7 +656,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -443,7 +677,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -470,7 +704,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -489,7 +723,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -528,7 +762,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.deployment @@ -536,6 +770,10 @@ spec: - --operator.storage - --operator.backup + + - --operator.apps + + - --operator.k2k-cluster-sync - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -556,6 +794,8 @@ spec: value: "arangodb/arangodb-exporter:0.1.7" - name: RELATED_IMAGE_DATABASE value: "arangodb/arangodb:latest" + - name: ARANGOJOB_SA_NAME + value: "arango-all-operator-job" ports: - name: metrics containerPort: 8528 diff --git a/manifests/arango-apps.yaml b/manifests/arango-apps.yaml new file mode 100644 index 000000000..8582ef420 --- /dev/null +++ b/manifests/arango-apps.yaml @@ -0,0 +1,387 @@ +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-apps-operator-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + +--- +# Source: kube-arangodb/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-apps-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-apps-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-apps-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-apps-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-apps-operator + namespace: default +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-apps-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["*"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] + - apiGroups: ["apps.arangodb.com"] + resources: ["arangojobs","arangojobs/status"] + verbs: ["*"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-apps-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +rules: + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-apps-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-apps-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-apps-operator + namespace: default + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-apps-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-apps-operator-rbac-job +subjects: + - kind: ServiceAccount + name: arango-apps-operator-job + namespace: default +--- +# Source: kube-arangodb/templates/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: arango-apps-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +spec: + ports: + - name: server + port: 8528 + protocol: TCP + targetPort: 8528 + selector: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + role: leader + type: ClusterIP +--- +# Source: kube-arangodb/templates/deployment.yaml +# Scope "legacy" selected +apiVersion: apps/v1 +kind: Deployment +metadata: + name: arango-apps-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +spec: + replicas: 2 + strategy: + type: Recreate + + selector: + matchLabels: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + template: + metadata: + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + spec: + serviceAccountName: arango-apps-operator + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/arch + operator: In + values: + - amd64 + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: "kubernetes.io/hostname" + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - kube-arangodb + - key: app.kubernetes.io/instance + operator: In + values: + - apps + hostNetwork: false + hostPID: false + hostIPC: false + securityContext: + runAsNonRoot: true + runAsUser: 1000 + containers: + - name: operator + imagePullPolicy: Always + image: arangodb/kube-arangodb:1.2.7 + args: + - --scope=legacy + + + - --operator.apps + + - --chaos.allowed=false + env: + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: RELATED_IMAGE_UBI + value: "alpine:3.11" + - name: RELATED_IMAGE_METRICSEXPORTER + value: "arangodb/arangodb-exporter:0.1.7" + - name: RELATED_IMAGE_DATABASE + value: "arangodb/arangodb:latest" + - name: ARANGOJOB_SA_NAME + value: "arango-apps-operator-job" + ports: + - name: metrics + containerPort: 8528 + securityContext: + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - 'ALL' + livenessProbe: + httpGet: + path: /health + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /ready + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + - key: "node.kubernetes.io/not-ready" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role.yaml + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/crd.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role.yaml + diff --git a/manifests/arango-backup.yaml b/manifests/arango-backup.yaml index d9ef75f3b..ddbd97185 100644 --- a/manifests/arango-backup.yaml +++ b/manifests/arango-backup.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -19,7 +19,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -35,7 +35,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -56,7 +56,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -88,7 +88,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -109,7 +109,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -136,7 +136,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -155,7 +155,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -194,11 +194,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.backup + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -253,6 +255,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml @@ -283,6 +301,22 @@ spec: --- # Source: kube-arangodb/templates/deployment-replications-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + --- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml diff --git a/manifests/arango-crd.yaml b/manifests/arango-crd.yaml index 9f286eceb..47821fd5d 100644 --- a/manifests/arango-crd.yaml +++ b/manifests/arango-crd.yaml @@ -6,7 +6,7 @@ metadata: name: arangobackuppolicies.backup.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -77,7 +77,7 @@ metadata: name: arangobackups.backup.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -189,7 +189,7 @@ metadata: name: arangodeploymentreplications.replication.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -236,7 +236,7 @@ metadata: name: arangodeployments.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -276,6 +276,86 @@ spec: subresources: status: {} --- +# Source: kube-arangodb-crd/templates/job.yaml +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: arangojobs.apps.arangodb.com + labels: + app.kubernetes.io/name: kube-arangodb-crd + helm.sh/chart: kube-arangodb-crd-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: crd + release: crd +spec: + group: apps.arangodb.com + names: + kind: ArangoJob + listKind: ArangoJobList + plural: arangojobs + singular: arangojob + shortNames: + - arangojob + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true + additionalPrinterColumns: + - jsonPath: .spec.arangoDeploymentName + description: Deployment name + name: ArangoDeploymentName + type: string + subresources: + status: {} + +--- +# Source: kube-arangodb-crd/templates/k2kclustersync.yaml +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: arangoclustersynchronizations.database.arangodb.com + labels: + app.kubernetes.io/name: kube-arangodb-crd + helm.sh/chart: kube-arangodb-crd-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: crd + release: crd +spec: + group: database.arangodb.com + names: + kind: ArangoClusterSynchronization + listKind: ArangoClusterSynchronizationList + plural: arangoclustersynchronizations + singular: arangoclustersynchronization + shortNames: + - arangoclustersync + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true + subresources: + status: {} + - name: v2alpha1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: false + subresources: + status: {} + +--- # Source: kube-arangodb-crd/templates/member.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -283,7 +363,7 @@ metadata: name: arangomembers.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd diff --git a/manifests/arango-deployment-replication.yaml b/manifests/arango-deployment-replication.yaml index d2a69af06..ab00c3f7c 100644 --- a/manifests/arango-deployment-replication.yaml +++ b/manifests/arango-deployment-replication.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -19,7 +19,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -38,7 +38,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -59,7 +59,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -85,7 +85,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -106,7 +106,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -133,7 +133,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -152,7 +152,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -191,11 +191,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.deployment-replication + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -250,6 +252,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml @@ -280,6 +298,22 @@ spec: --- # Source: kube-arangodb/templates/deployment-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + --- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml diff --git a/manifests/arango-deployment.yaml b/manifests/arango-deployment.yaml index 48aedcf1b..36bff5876 100644 --- a/manifests/arango-deployment.yaml +++ b/manifests/arango-deployment.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -19,7 +19,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -38,7 +38,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -59,7 +59,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -76,7 +76,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -108,7 +108,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -129,7 +129,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -150,7 +150,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -177,7 +177,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -196,7 +196,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -235,11 +235,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.deployment + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -294,6 +296,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml @@ -318,6 +336,22 @@ spec: --- # Source: kube-arangodb/templates/deployment-replications-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + --- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml diff --git a/manifests/arango-k2kclustersync.yaml b/manifests/arango-k2kclustersync.yaml new file mode 100644 index 000000000..0fc0cb217 --- /dev/null +++ b/manifests/arango-k2kclustersync.yaml @@ -0,0 +1,331 @@ +--- +# Source: kube-arangodb/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-k2kclustersync-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-k2kclustersync-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-k2kclustersync-operator + namespace: default + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments", "arangoclustersynchronizations"] + verbs: ["get", "list", "watch"] + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-k2kclustersync-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-k2kclustersync-operator + namespace: default + +--- +# Source: kube-arangodb/templates/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: arango-k2kclustersync-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +spec: + ports: + - name: server + port: 8528 + protocol: TCP + targetPort: 8528 + selector: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync + role: leader + type: ClusterIP +--- +# Source: kube-arangodb/templates/deployment.yaml +# Scope "legacy" selected +apiVersion: apps/v1 +kind: Deployment +metadata: + name: arango-k2kclustersync-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +spec: + replicas: 2 + strategy: + type: Recreate + + selector: + matchLabels: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync + template: + metadata: + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync + spec: + serviceAccountName: arango-k2kclustersync-operator + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/arch + operator: In + values: + - amd64 + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: "kubernetes.io/hostname" + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - kube-arangodb + - key: app.kubernetes.io/instance + operator: In + values: + - k2kclustersync + hostNetwork: false + hostPID: false + hostIPC: false + securityContext: + runAsNonRoot: true + runAsUser: 1000 + containers: + - name: operator + imagePullPolicy: Always + image: arangodb/kube-arangodb:1.2.7 + args: + - --scope=legacy + + + + - --operator.k2k-cluster-sync + - --chaos.allowed=false + env: + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: RELATED_IMAGE_UBI + value: "alpine:3.11" + - name: RELATED_IMAGE_METRICSEXPORTER + value: "arangodb/arangodb-exporter:0.1.7" + - name: RELATED_IMAGE_DATABASE + value: "arangodb/arangodb:latest" + ports: + - name: metrics + containerPort: 8528 + securityContext: + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - 'ALL' + livenessProbe: + httpGet: + path: /health + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /ready + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + - key: "node.kubernetes.io/not-ready" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/crd.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role.yaml + diff --git a/manifests/arango-storage.yaml b/manifests/arango-storage.yaml index a7e3250e4..20d9809f3 100644 --- a/manifests/arango-storage.yaml +++ b/manifests/arango-storage.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -19,7 +19,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -42,7 +42,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -70,7 +70,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -91,7 +91,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -117,7 +117,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -138,7 +138,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -165,7 +165,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -184,7 +184,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -223,11 +223,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.storage + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -282,6 +284,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml @@ -324,3 +342,19 @@ spec: --- # Source: kube-arangodb/templates/deployment-replications-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + diff --git a/manifests/arango-test.yaml b/manifests/arango-test.yaml index 716c9a995..c751f3cb2 100644 --- a/manifests/arango-test.yaml +++ b/manifests/arango-test.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb-test - helm.sh/chart: kube-arangodb-test-1.2.6 + helm.sh/chart: kube-arangodb-test-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: test release: test @@ -20,7 +20,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb-test - helm.sh/chart: kube-arangodb-test-1.2.6 + helm.sh/chart: kube-arangodb-test-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: test release: test diff --git a/manifests/kustomize/all/arango-all.yaml b/manifests/kustomize/all/arango-all.yaml index e8c9b52cf..20ed62b3c 100644 --- a/manifests/kustomize/all/arango-all.yaml +++ b/manifests/kustomize/all/arango-all.yaml @@ -1,3 +1,17 @@ +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-all-operator-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all + --- # Source: kube-arangodb/templates/service-account.yaml apiVersion: v1 @@ -7,7 +21,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -19,7 +33,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -35,6 +49,22 @@ spec: scope: Cluster version: v1alpha --- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-all-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] +--- # Source: kube-arangodb/templates/backup-operator/cluster-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -42,7 +72,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -58,7 +88,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -77,7 +107,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -89,6 +119,23 @@ rules: resources: ["namespaces", "nodes"] verbs: ["get", "list"] --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-all-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] + +--- # Source: kube-arangodb/templates/storage-operator/cluster-role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -96,7 +143,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -117,6 +164,26 @@ rules: resources: ["arangolocalstorages"] verbs: ["*"] --- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-all-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-all-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default +--- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -124,7 +191,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -144,7 +211,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -164,7 +231,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -177,6 +244,27 @@ subjects: name: arango-all-operator namespace: default --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-all-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-all-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default + +--- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -184,7 +272,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -197,6 +285,57 @@ subjects: name: arango-all-operator namespace: default --- +# Source: kube-arangodb/templates/apps-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-all-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["*"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] + - apiGroups: ["apps.arangodb.com"] + resources: ["arangojobs","arangojobs/status"] + verbs: ["*"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-all-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] +--- # Source: kube-arangodb/templates/backup-operator/role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -205,7 +344,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -237,7 +376,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -254,7 +393,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -286,7 +425,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -304,6 +443,36 @@ rules: resources: ["deployments", "replicasets"] verbs: ["get"] --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-all-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments", "arangoclustersynchronizations"] + verbs: ["get", "list", "watch"] + +--- # Source: kube-arangodb/templates/storage-operator/role.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -312,7 +481,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -330,6 +499,49 @@ rules: resources: ["deployments", "replicasets"] verbs: ["get"] --- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-all-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-all-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-all-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-all-operator-rbac-job +subjects: + - kind: ServiceAccount + name: arango-all-operator-job + namespace: default +--- # Source: kube-arangodb/templates/backup-operator/role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -338,7 +550,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -359,7 +571,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -380,7 +592,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -401,7 +613,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -414,6 +626,28 @@ subjects: name: arango-all-operator namespace: default --- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-all-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: all + release: all +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-all-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-all-operator + namespace: default + +--- # Source: kube-arangodb/templates/storage-operator/role-binding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -422,7 +656,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -443,7 +677,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -470,7 +704,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -489,7 +723,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -528,7 +762,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.deployment @@ -536,6 +770,10 @@ spec: - --operator.storage - --operator.backup + + - --operator.apps + + - --operator.k2k-cluster-sync - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -556,6 +794,8 @@ spec: value: "arangodb/arangodb-exporter:0.1.7" - name: RELATED_IMAGE_DATABASE value: "arangodb/arangodb:latest" + - name: ARANGOJOB_SA_NAME + value: "arango-all-operator-job" ports: - name: metrics containerPort: 8528 diff --git a/manifests/kustomize/apps/arango-apps.yaml b/manifests/kustomize/apps/arango-apps.yaml new file mode 100644 index 000000000..8582ef420 --- /dev/null +++ b/manifests/kustomize/apps/arango-apps.yaml @@ -0,0 +1,387 @@ +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-apps-operator-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + +--- +# Source: kube-arangodb/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-apps-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-apps-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-apps-operator-rbac-apps + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-apps-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-apps-operator + namespace: default +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-apps-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["*"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] + - apiGroups: ["apps.arangodb.com"] + resources: ["arangojobs","arangojobs/status"] + verbs: ["*"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-apps-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +rules: + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments"] + verbs: ["get", "list", "watch"] +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-apps-operator-rbac-apps + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-apps-operator-rbac-apps +subjects: + - kind: ServiceAccount + name: arango-apps-operator + namespace: default + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-apps-operator-rbac-job + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-apps-operator-rbac-job +subjects: + - kind: ServiceAccount + name: arango-apps-operator-job + namespace: default +--- +# Source: kube-arangodb/templates/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: arango-apps-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +spec: + ports: + - name: server + port: 8528 + protocol: TCP + targetPort: 8528 + selector: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + role: leader + type: ClusterIP +--- +# Source: kube-arangodb/templates/deployment.yaml +# Scope "legacy" selected +apiVersion: apps/v1 +kind: Deployment +metadata: + name: arango-apps-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps +spec: + replicas: 2 + strategy: + type: Recreate + + selector: + matchLabels: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + template: + metadata: + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: apps + release: apps + spec: + serviceAccountName: arango-apps-operator + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/arch + operator: In + values: + - amd64 + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: "kubernetes.io/hostname" + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - kube-arangodb + - key: app.kubernetes.io/instance + operator: In + values: + - apps + hostNetwork: false + hostPID: false + hostIPC: false + securityContext: + runAsNonRoot: true + runAsUser: 1000 + containers: + - name: operator + imagePullPolicy: Always + image: arangodb/kube-arangodb:1.2.7 + args: + - --scope=legacy + + + - --operator.apps + + - --chaos.allowed=false + env: + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: RELATED_IMAGE_UBI + value: "alpine:3.11" + - name: RELATED_IMAGE_METRICSEXPORTER + value: "arangodb/arangodb-exporter:0.1.7" + - name: RELATED_IMAGE_DATABASE + value: "arangodb/arangodb:latest" + - name: ARANGOJOB_SA_NAME + value: "arango-apps-operator-job" + ports: + - name: metrics + containerPort: 8528 + securityContext: + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - 'ALL' + livenessProbe: + httpGet: + path: /health + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /ready + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + - key: "node.kubernetes.io/not-ready" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role.yaml + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/crd.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role.yaml + diff --git a/manifests/kustomize/apps/arango-k2kclustersync.yaml b/manifests/kustomize/apps/arango-k2kclustersync.yaml new file mode 100644 index 000000000..0fc0cb217 --- /dev/null +++ b/manifests/kustomize/apps/arango-k2kclustersync.yaml @@ -0,0 +1,331 @@ +--- +# Source: kube-arangodb/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: arango-k2kclustersync-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +rules: + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["get", "list", "watch"] + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: arango-k2kclustersync-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-k2kclustersync-operator + namespace: default + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +rules: + - apiGroups: [""] + resources: ["pods", "services", "endpoints"] + verbs: ["get", "update"] + - apiGroups: [""] + resources: ["events"] + verbs: ["*"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] + - apiGroups: ["database.arangodb.com"] + resources: ["arangodeployments", "arangoclustersynchronizations"] + verbs: ["get", "list", "watch"] + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: arango-k2kclustersync-operator-rbac-k2kclustersync + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: arango-k2kclustersync-operator-rbac-k2kclustersync +subjects: + - kind: ServiceAccount + name: arango-k2kclustersync-operator + namespace: default + +--- +# Source: kube-arangodb/templates/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: arango-k2kclustersync-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +spec: + ports: + - name: server + port: 8528 + protocol: TCP + targetPort: 8528 + selector: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync + role: leader + type: ClusterIP +--- +# Source: kube-arangodb/templates/deployment.yaml +# Scope "legacy" selected +apiVersion: apps/v1 +kind: Deployment +metadata: + name: arango-k2kclustersync-operator + namespace: default + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync +spec: + replicas: 2 + strategy: + type: Recreate + + selector: + matchLabels: + app.kubernetes.io/name: kube-arangodb + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync + template: + metadata: + labels: + app.kubernetes.io/name: kube-arangodb + helm.sh/chart: kube-arangodb-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: k2kclustersync + release: k2kclustersync + spec: + serviceAccountName: arango-k2kclustersync-operator + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/arch + operator: In + values: + - amd64 + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + topologyKey: "kubernetes.io/hostname" + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - kube-arangodb + - key: app.kubernetes.io/instance + operator: In + values: + - k2kclustersync + hostNetwork: false + hostPID: false + hostIPC: false + securityContext: + runAsNonRoot: true + runAsUser: 1000 + containers: + - name: operator + imagePullPolicy: Always + image: arangodb/kube-arangodb:1.2.7 + args: + - --scope=legacy + + + + - --operator.k2k-cluster-sync + - --chaos.allowed=false + env: + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: RELATED_IMAGE_UBI + value: "alpine:3.11" + - name: RELATED_IMAGE_METRICSEXPORTER + value: "arangodb/arangodb-exporter:0.1.7" + - name: RELATED_IMAGE_DATABASE + value: "arangodb/arangodb:latest" + ports: + - name: metrics + containerPort: 8528 + securityContext: + privileged: false + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + capabilities: + drop: + - 'ALL' + livenessProbe: + httpGet: + path: /health + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /ready + port: 8528 + scheme: HTTPS + initialDelaySeconds: 5 + periodSeconds: 10 + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + - key: "node.kubernetes.io/not-ready" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/backup-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/default-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-operator/role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/deployment-replications-operator/role.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/crd.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/storage-operator/role.yaml + diff --git a/manifests/kustomize/backup/arango-backup.yaml b/manifests/kustomize/backup/arango-backup.yaml index d9ef75f3b..ddbd97185 100644 --- a/manifests/kustomize/backup/arango-backup.yaml +++ b/manifests/kustomize/backup/arango-backup.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -19,7 +19,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -35,7 +35,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -56,7 +56,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -88,7 +88,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -109,7 +109,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -136,7 +136,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -155,7 +155,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -194,11 +194,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.backup + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -253,6 +255,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml @@ -283,6 +301,22 @@ spec: --- # Source: kube-arangodb/templates/deployment-replications-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + --- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml diff --git a/manifests/kustomize/crd/arango-crd.yaml b/manifests/kustomize/crd/arango-crd.yaml index 9f286eceb..47821fd5d 100644 --- a/manifests/kustomize/crd/arango-crd.yaml +++ b/manifests/kustomize/crd/arango-crd.yaml @@ -6,7 +6,7 @@ metadata: name: arangobackuppolicies.backup.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -77,7 +77,7 @@ metadata: name: arangobackups.backup.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -189,7 +189,7 @@ metadata: name: arangodeploymentreplications.replication.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -236,7 +236,7 @@ metadata: name: arangodeployments.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -276,6 +276,86 @@ spec: subresources: status: {} --- +# Source: kube-arangodb-crd/templates/job.yaml +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: arangojobs.apps.arangodb.com + labels: + app.kubernetes.io/name: kube-arangodb-crd + helm.sh/chart: kube-arangodb-crd-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: crd + release: crd +spec: + group: apps.arangodb.com + names: + kind: ArangoJob + listKind: ArangoJobList + plural: arangojobs + singular: arangojob + shortNames: + - arangojob + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true + additionalPrinterColumns: + - jsonPath: .spec.arangoDeploymentName + description: Deployment name + name: ArangoDeploymentName + type: string + subresources: + status: {} + +--- +# Source: kube-arangodb-crd/templates/k2kclustersync.yaml +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: arangoclustersynchronizations.database.arangodb.com + labels: + app.kubernetes.io/name: kube-arangodb-crd + helm.sh/chart: kube-arangodb-crd-1.2.7 + app.kubernetes.io/managed-by: Tiller + app.kubernetes.io/instance: crd + release: crd +spec: + group: database.arangodb.com + names: + kind: ArangoClusterSynchronization + listKind: ArangoClusterSynchronizationList + plural: arangoclustersynchronizations + singular: arangoclustersynchronization + shortNames: + - arangoclustersync + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: true + subresources: + status: {} + - name: v2alpha1 + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + served: true + storage: false + subresources: + status: {} + +--- # Source: kube-arangodb-crd/templates/member.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -283,7 +363,7 @@ metadata: name: arangomembers.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-1.2.6 + helm.sh/chart: kube-arangodb-crd-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd diff --git a/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml b/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml index d2a69af06..ab00c3f7c 100644 --- a/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml +++ b/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -19,7 +19,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -38,7 +38,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -59,7 +59,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -85,7 +85,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -106,7 +106,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -133,7 +133,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -152,7 +152,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -191,11 +191,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.deployment-replication + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -250,6 +252,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml @@ -280,6 +298,22 @@ spec: --- # Source: kube-arangodb/templates/deployment-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + --- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml diff --git a/manifests/kustomize/deployment/arango-deployment.yaml b/manifests/kustomize/deployment/arango-deployment.yaml index 48aedcf1b..36bff5876 100644 --- a/manifests/kustomize/deployment/arango-deployment.yaml +++ b/manifests/kustomize/deployment/arango-deployment.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -19,7 +19,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -38,7 +38,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -59,7 +59,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -76,7 +76,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -108,7 +108,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -129,7 +129,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -150,7 +150,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -177,7 +177,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -196,7 +196,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -235,11 +235,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.deployment + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -294,6 +296,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml @@ -318,6 +336,22 @@ spec: --- # Source: kube-arangodb/templates/deployment-replications-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + --- # Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml diff --git a/manifests/kustomize/storage/arango-storage.yaml b/manifests/kustomize/storage/arango-storage.yaml index a7e3250e4..20d9809f3 100644 --- a/manifests/kustomize/storage/arango-storage.yaml +++ b/manifests/kustomize/storage/arango-storage.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -19,7 +19,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -42,7 +42,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -70,7 +70,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -91,7 +91,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -117,7 +117,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -138,7 +138,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -165,7 +165,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -184,7 +184,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.6 + helm.sh/chart: kube-arangodb-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -223,11 +223,13 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.6 + image: arangodb/kube-arangodb:1.2.7 args: - --scope=legacy - --operator.storage + + - --chaos.allowed=false env: - name: MY_POD_NAMESPACE @@ -282,6 +284,22 @@ spec: effect: "NoExecute" tolerationSeconds: 5 +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role-binding.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/role.yaml + +--- +# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml + + --- # Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml @@ -324,3 +342,19 @@ spec: --- # Source: kube-arangodb/templates/deployment-replications-operator/role.yaml +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml + + +--- +# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml + + diff --git a/manifests/kustomize/test/arango-test.yaml b/manifests/kustomize/test/arango-test.yaml index 716c9a995..c751f3cb2 100644 --- a/manifests/kustomize/test/arango-test.yaml +++ b/manifests/kustomize/test/arango-test.yaml @@ -7,7 +7,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb-test - helm.sh/chart: kube-arangodb-test-1.2.6 + helm.sh/chart: kube-arangodb-test-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: test release: test @@ -20,7 +20,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb-test - helm.sh/chart: kube-arangodb-test-1.2.6 + helm.sh/chart: kube-arangodb-test-1.2.7 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: test release: test