From 3222393cd9a54624f0a685ae7c8c31f2aebf734e Mon Sep 17 00:00:00 2001 From: Ewout Prangsma Date: Fri, 29 Jun 2018 15:54:56 +0200 Subject: [PATCH] Updated manifest to 0.2.2 --- README.md | 8 ++++---- manifests/arango-deployment-replication.yaml | 6 +++--- manifests/arango-deployment.yaml | 6 +++--- manifests/arango-storage.yaml | 5 ++++- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1f0e2f3fc..7c4386019 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,12 @@ it is intended to be. ## Installation of latest release ```bash -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.1/manifests/crd.yaml -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.1/manifests/arango-deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.2/manifests/crd.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.2/manifests/arango-deployment.yaml # To use `ArangoLocalStorage`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.1/manifests/arango-storage.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.2/manifests/arango-storage.yaml # To use `ArangoDeploymentReplication`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.1/manifests/arango-deployment-replication.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.2/manifests/arango-deployment-replication.yaml ``` ## Building diff --git a/manifests/arango-deployment-replication.yaml b/manifests/arango-deployment-replication.yaml index 054071092..26496f536 100644 --- a/manifests/arango-deployment-replication.yaml +++ b/manifests/arango-deployment-replication.yaml @@ -33,8 +33,8 @@ rules: resources: ["nodes"] verbs: ["get"] - apiGroups: ["apps"] - resources: ["deployments"] - verbs: ["*"] + resources: ["deployments", "replicasets"] + verbs: ["get"] --- @@ -94,7 +94,7 @@ spec: containers: - name: operator imagePullPolicy: IfNotPresent - image: arangodb/kube-arangodb@sha256:1ac03c2ecd188148259e392655381b05b32b389977b53b29ddc51f9d6c39bd88 + image: arangodb/kube-arangodb@sha256:bbf5433b2cda054835f7abf923116b43fa2e56907d2a19895cd12c74b907c056 args: - --operator.deployment-replication env: diff --git a/manifests/arango-deployment.yaml b/manifests/arango-deployment.yaml index 82b070520..25c9a960b 100644 --- a/manifests/arango-deployment.yaml +++ b/manifests/arango-deployment.yaml @@ -30,8 +30,8 @@ rules: resources: ["nodes"] verbs: ["get"] - apiGroups: ["apps"] - resources: ["deployments"] - verbs: ["*"] + resources: ["deployments", "replicasets"] + verbs: ["get"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] verbs: ["get", "list"] @@ -94,7 +94,7 @@ spec: containers: - name: operator imagePullPolicy: IfNotPresent - image: arangodb/kube-arangodb@sha256:1ac03c2ecd188148259e392655381b05b32b389977b53b29ddc51f9d6c39bd88 + image: arangodb/kube-arangodb@sha256:bbf5433b2cda054835f7abf923116b43fa2e56907d2a19895cd12c74b907c056 args: - --operator.deployment - --chaos.allowed=false diff --git a/manifests/arango-storage.yaml b/manifests/arango-storage.yaml index 0b62dfa64..553a78beb 100644 --- a/manifests/arango-storage.yaml +++ b/manifests/arango-storage.yaml @@ -32,6 +32,9 @@ rules: - apiGroups: ["apps"] resources: ["daemonsets"] verbs: ["*"] +- apiGroups: ["apps"] + resources: ["deployments", "replicasets"] + verbs: ["get"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] verbs: ["*"] @@ -103,7 +106,7 @@ spec: containers: - name: operator imagePullPolicy: IfNotPresent - image: arangodb/kube-arangodb@sha256:1ac03c2ecd188148259e392655381b05b32b389977b53b29ddc51f9d6c39bd88 + image: arangodb/kube-arangodb@sha256:bbf5433b2cda054835f7abf923116b43fa2e56907d2a19895cd12c74b907c056 args: - --operator.storage env: