diff --git a/.gitignore b/.gitignore index a9b78ec1bd95a5f59bcaec531f7b1812448f09f4..15eb3155e4ced3b0e0f4d7f536276d5325717995 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .bash_history .vscode .idea/ +/tmp \ No newline at end of file diff --git a/Makefile b/Makefile index 93161df58f3dae6b2d9d8ba2e07dccf0fd029eb3..ed3a58a061fcbf9e572cb8cdd60424fa3856d964 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := v1.1.1 +VERSION := v1.2.0-rc0 # Name of this service/application SERVICE_NAME := redis-operator diff --git a/charts/redisoperator/templates/service-account.yaml b/charts/redisoperator/templates/service-account.yaml index b136238d24aa6507cbee7f082ff1f721e3378006..940339d2250257be2429488b1d140b3713a0e84f 100644 --- a/charts/redisoperator/templates/service-account.yaml +++ b/charts/redisoperator/templates/service-account.yaml @@ -40,6 +40,15 @@ rules: - patch - update - watch + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - get + - list + - update - apiGroups: - "" resources: diff --git a/example/operator/roles.yaml b/example/operator/roles.yaml index b57180e5fb047db1c4b37ab802c07a4d6d2d01be..4d4611b3fd3030c5cafee7ce1909f6892f9ce758 100644 --- a/example/operator/roles.yaml +++ b/example/operator/roles.yaml @@ -16,6 +16,15 @@ rules: - customresourcedefinitions verbs: - "*" + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - get + - list + - update - apiGroups: - "" resources: