Skip to content

Commit 3a9b1f2

Browse files
committed
use pre-existing role when syncing cinder-netapp-config
1 parent 3946757 commit 3a9b1f2

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed
Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
11
---
2-
apiVersion: rbac.authorization.k8s.io/v1
3-
kind: ClusterRole
4-
metadata:
5-
name: eso-cross-namespace-secret-reader
6-
rules:
7-
- apiGroups: [""]
8-
resources: ["secrets"]
9-
verbs: ["get", "list"]
10-
---
11-
apiVersion: rbac.authorization.k8s.io/v1
12-
kind: ClusterRoleBinding
13-
metadata:
14-
name: eso-openstack-cross-namespace
15-
subjects:
16-
- kind: ServiceAccount
17-
name: eso-openstack
18-
namespace: openstack
19-
roleRef:
20-
kind: ClusterRole
21-
name: eso-cross-namespace-secret-reader
22-
apiGroup: rbac.authorization.k8s.io
23-
---
242
apiVersion: external-secrets.io/v1beta1
253
kind: ExternalSecret
264
metadata:
@@ -37,7 +15,3 @@ spec:
3715
dataFrom:
3816
- extract:
3917
key: cinder-netapp-config
40-
# necessary to avoid argoproj/argo-cd#13004
41-
conversionStrategy: Default
42-
decodingStrategy: None
43-
metadataPolicy: None

components/openstack/templates/secretstore-openstack.yaml.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ rules:
2727
resourceNames:
2828
- svc-acct-argoworkflow
2929
- svc-acct-netapp
30+
- cinder-netapp-config
3031
- apiGroups:
3132
- authorization.k8s.io
3233
resources:

0 commit comments

Comments
 (0)