From 6829ad77fa94308e922de34ab8e89e007362c639 Mon Sep 17 00:00:00 2001 From: ajanikow Date: Tue, 12 Nov 2019 18:50:51 +0000 Subject: [PATCH] Updated manifest to 0.4.2 --- README.md | 18 ++++---- chart/kube-arangodb-crd/Chart.yaml | 2 +- chart/kube-arangodb-test/Chart.yaml | 2 +- chart/kube-arangodb/Chart.yaml | 2 +- chart/kube-arangodb/values.yaml | 2 +- manifests/arango-backup.yaml | 18 ++++---- manifests/arango-crd.yaml | 44 ++++++++++++++++---- manifests/arango-deployment-replication.yaml | 18 ++++---- manifests/arango-deployment.yaml | 26 ++++++------ manifests/arango-storage.yaml | 20 ++++----- manifests/arango-test.yaml | 4 +- 11 files changed, 92 insertions(+), 64 deletions(-) diff --git a/README.md b/README.md index 1d9df5649..3c50ee352 100644 --- a/README.md +++ b/README.md @@ -82,12 +82,12 @@ for details. ## Installation of latest release using Kubectl ```bash -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.1/manifests/arango-crd.yaml -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.1/manifests/arango-deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.2/manifests/arango-crd.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.2/manifests/arango-deployment.yaml # To use `ArangoLocalStorage`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.1/manifests/arango-storage.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.2/manifests/arango-storage.yaml # To use `ArangoDeploymentReplication`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.1/manifests/arango-deployment-replication.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.4.2/manifests/arango-deployment-replication.yaml ``` This procedure can also be used for upgrades and will not harm any @@ -100,12 +100,12 @@ upgrades. ```bash # The following will install the custom resources required by the operators. -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-crd-0.4.1.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.2/kube-arangodb-crd-0.4.2.tgz # The following will install the operator for `ArangoDeployment` & # `ArangoDeploymentReplication` resources. -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.2/kube-arangodb-0.4.2.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz --set "operator.features.storage=true" +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.2/kube-arangodb-0.4.2.tgz --set "operator.features.storage=true" ``` ## Upgrading the operator using Helm @@ -140,9 +140,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/0.4.1/kube-arangodb-0.4.1.tgz +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.2/kube-arangodb-0.4.2.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.1/kube-arangodb-0.4.1.tgz --set "operator.features.storage=true" +helm install https://github.com/arangodb/kube-arangodb/releases/download/0.4.2/kube-arangodb-0.4.2.tgz --set "operator.features.storage=true" ``` ## Building diff --git a/chart/kube-arangodb-crd/Chart.yaml b/chart/kube-arangodb-crd/Chart.yaml index fcc143524..95425cf94 100644 --- a/chart/kube-arangodb-crd/Chart.yaml +++ b/chart/kube-arangodb-crd/Chart.yaml @@ -1,7 +1,7 @@ --- name: kube-arangodb-crd -version: 0.4.1 +version: 0.4.2 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 e3f096fa8..39f164473 100644 --- a/chart/kube-arangodb-test/Chart.yaml +++ b/chart/kube-arangodb-test/Chart.yaml @@ -1,6 +1,6 @@ --- name: kube-arangodb-test -version: 0.4.1 +version: 0.4.2 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 dfe236ded..e7b588931 100644 --- a/chart/kube-arangodb/Chart.yaml +++ b/chart/kube-arangodb/Chart.yaml @@ -1,7 +1,7 @@ --- name: kube-arangodb -version: 0.4.1 +version: 0.4.2 description: "ArangoDB Kubernetes Operator" tillerVersion: ">2.7" diff --git a/chart/kube-arangodb/values.yaml b/chart/kube-arangodb/values.yaml index 5733e5b75..117219313 100644 --- a/chart/kube-arangodb/values.yaml +++ b/chart/kube-arangodb/values.yaml @@ -1,7 +1,7 @@ --- operator: - image: arangodb/kube-arangodb:0.4.1 + image: arangodb/kube-arangodb:0.4.2 imagePullPolicy: IfNotPresent imagePullSecrets: [] diff --git a/manifests/arango-backup.yaml b/manifests/arango-backup.yaml index 14aa34265..9fba42c78 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-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -20,7 +20,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -37,7 +37,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -58,7 +58,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -90,7 +90,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -111,7 +111,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -137,7 +137,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -156,7 +156,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -195,7 +195,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:0.4.1 + image: arangodb/kube-arangodb:0.4.2 args: - --operator.backup diff --git a/manifests/arango-crd.yaml b/manifests/arango-crd.yaml index b8f7d25c7..92267a1dc 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-0.4.1 + helm.sh/chart: kube-arangodb-crd-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -35,9 +35,16 @@ spec: - arangobp singular: arangobackuppolicy scope: Namespaced - version: v1alpha subresources: status: {} + version: v1 + versions: + - name: v1 + served: true + storage: true + - name: v1alpha + served: true + storage: false --- # Source: kube-arangodb-crd/templates/backup.yaml @@ -47,7 +54,7 @@ metadata: name: arangobackups.backup.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-0.4.1 + helm.sh/chart: kube-arangodb-crd-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -96,9 +103,16 @@ spec: - arangobackup singular: arangobackup scope: Namespaced - version: v1alpha subresources: status: {} + version: v1 + versions: + - name: v1 + served: true + storage: true + - name: v1alpha + served: true + storage: false --- # Source: kube-arangodb-crd/templates/deployment-replications.yaml apiVersion: apiextensions.k8s.io/v1beta1 @@ -107,7 +121,7 @@ metadata: name: arangodeploymentreplications.replication.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-0.4.1 + helm.sh/chart: kube-arangodb-crd-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -121,7 +135,14 @@ spec: - arangorepl singular: arangodeploymentreplication scope: Namespaced - version: v1alpha + version: v1 + versions: + - name: v1 + served: true + storage: true + - name: v1alpha + served: true + storage: false --- # Source: kube-arangodb-crd/templates/deployment.yaml apiVersion: apiextensions.k8s.io/v1beta1 @@ -130,7 +151,7 @@ metadata: name: arangodeployments.database.arangodb.com labels: app.kubernetes.io/name: kube-arangodb-crd - helm.sh/chart: kube-arangodb-crd-0.4.1 + helm.sh/chart: kube-arangodb-crd-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: crd release: crd @@ -145,4 +166,11 @@ spec: - arango singular: arangodeployment scope: Namespaced - version: v1alpha + version: v1 + versions: + - name: v1 + served: true + storage: true + - name: v1alpha + served: true + storage: false diff --git a/manifests/arango-deployment-replication.yaml b/manifests/arango-deployment-replication.yaml index fdfd2beb9..c8ef9f2d6 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-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -20,7 +20,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -40,7 +40,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -61,7 +61,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -87,7 +87,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -108,7 +108,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -134,7 +134,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -153,7 +153,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -192,7 +192,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:0.4.1 + image: arangodb/kube-arangodb:0.4.2 args: - --operator.deployment-replication diff --git a/manifests/arango-deployment.yaml b/manifests/arango-deployment.yaml index a884ef064..ff4f2bee3 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-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -20,7 +20,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -43,7 +43,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -64,7 +64,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -81,7 +81,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -90,14 +90,14 @@ rules: resources: ["arangodeployments"] verbs: ["*"] - apiGroups: [""] - resources: ["pods", "services", "endpoints", "persistentvolumeclaims", "events", "secrets"] + resources: ["pods", "services", "endpoints", "persistentvolumeclaims", "events", "secrets", "serviceaccounts"] verbs: ["*"] - apiGroups: ["apps"] resources: ["deployments", "replicasets"] verbs: ["get"] - apiGroups: ["policy"] resources: ["poddisruptionbudgets"] - verbs: ["get", "create", "delete"] + verbs: ["*"] - apiGroups: ["backup.arangodb.com"] resources: ["arangobackuppolicies", "arangobackups"] verbs: ["get", "list", "watch"] @@ -113,7 +113,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -134,7 +134,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -155,7 +155,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -181,7 +181,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -200,7 +200,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -239,7 +239,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:0.4.1 + image: arangodb/kube-arangodb:0.4.2 args: - --operator.deployment diff --git a/manifests/arango-storage.yaml b/manifests/arango-storage.yaml index 9cf3556d5..5cbb7e756 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-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 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-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -43,7 +43,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -72,7 +72,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -93,7 +93,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -119,7 +119,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -140,7 +140,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -166,7 +166,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -185,7 +185,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-0.4.1 + helm.sh/chart: kube-arangodb-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -224,7 +224,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:0.4.1 + image: arangodb/kube-arangodb:0.4.2 args: - --operator.storage diff --git a/manifests/arango-test.yaml b/manifests/arango-test.yaml index af559d782..c29109b7a 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-0.4.1 + helm.sh/chart: kube-arangodb-test-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: arangodb-test release: arangodb-test @@ -20,7 +20,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb-test - helm.sh/chart: kube-arangodb-test-0.4.1 + helm.sh/chart: kube-arangodb-test-0.4.2 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: arangodb-test release: arangodb-test