File tree Expand file tree Collapse file tree 11 files changed +318
-50
lines changed Expand file tree Collapse file tree 11 files changed +318
-50
lines changed Original file line number Diff line number Diff line change 1+ {{ .DeploymentReplication.FilterStart }}
12
23apiVersion : extensions/v1beta1
34kind : Deployment
1415 name : {{ .DeploymentReplication.OperatorDeploymentName }}
1516 app : arango-deployment-replication-operator
1617 spec :
18+ serviceAccountName : {{ .DeploymentReplication.Operator.ServiceAccountName }}
1719 containers :
1820 - name : operator
1921 imagePullPolicy : {{ .ImagePullPolicy }}
5961 operator : " Exists"
6062 effect : " NoExecute"
6163 tolerationSeconds : 5
64+
65+ {{ .DeploymentReplication.FilterEnd }}
Original file line number Diff line number Diff line change 1- {{- if .RBAC -}}
1+ {{ .DeploymentReplication.FilterStart }}
2+ {{ .RBACFilterStart }}
3+
24# # Cluster role granting access to ArangoDeploymentReplication resources.
35apiVersion : rbac.authorization.k8s.io/v1beta1
46kind : ClusterRole
@@ -72,4 +74,5 @@ subjects:
7274 name : {{ .DeploymentReplication.Operator.ServiceAccountName }}
7375 namespace : {{ .DeploymentReplication.Operator.Namespace }}
7476
75- {{- end -}}
77+ {{ .RBACFilterEnd }}
78+ {{ .DeploymentReplication.FilterEnd }}
Original file line number Diff line number Diff line change 1+ {{ .DeploymentReplication.FilterStart }}
2+
13apiVersion : v1
24kind : Service
35metadata :
1719 app : arango-deployment-replication-operator
1820 role : leader
1921 type : {{ .DeploymentReplication.Operator.ServiceType }}
22+
23+ {{ .DeploymentReplication.FilterEnd }}
Original file line number Diff line number Diff line change 1+ {{ .Deployment.FilterStart }}
12
23apiVersion : extensions/v1beta1
34kind : Deployment
1415 name : {{ .Deployment.OperatorDeploymentName }}
1516 app : arango-deployment-operator
1617 spec :
18+ serviceAccountName : {{ .Deployment.Operator.ServiceAccountName }}
1719 containers :
1820 - name : operator
1921 imagePullPolicy : {{ .ImagePullPolicy }}
6062 operator : " Exists"
6163 effect : " NoExecute"
6264 tolerationSeconds : 5
65+
66+ {{ .Deployment.FilterEnd }}
Original file line number Diff line number Diff line change 1- {{- if .RBAC -}}
1+ {{ .Deployment.FilterStart }}
2+ {{ .RBACFilterStart }}
3+
24# # Cluster role granting access to ArangoDeployment resources.
35apiVersion : rbac.authorization.k8s.io/v1beta1
46kind : ClusterRole
@@ -72,4 +74,5 @@ subjects:
7274 name : {{ .Deployment.Operator.ServiceAccountName }}
7375 namespace : {{ .Deployment.Operator.Namespace }}
7476
75- {{- end -}}
77+ {{ .RBACFilterEnd }}
78+ {{ .Deployment.FilterEnd }}
Original file line number Diff line number Diff line change 1+ {{ .Deployment.FilterStart }}
2+
13apiVersion : v1
24kind : Service
35metadata :
1719 app : arango-deployment-operator
1820 role : leader
1921 type : {{ .Deployment.Operator.ServiceType }}
22+
23+ {{ .Deployment.FilterEnd }}
Original file line number Diff line number Diff line change 1+ {{ .Storage.FilterStart }}
2+
13# # Service accounts
24apiVersion : v1
35kind : ServiceAccount
6870 operator : " Exists"
6971 effect : " NoExecute"
7072 tolerationSeconds : 5
73+
74+ {{ .Storage.FilterEnd }}
Original file line number Diff line number Diff line change 1+ {{ .Storage.FilterStart }}
2+ {{ .RBACFilterStart }}
13
2- {{- if .RBAC -}}
34# # Cluster role granting access to ArangoLocalStorage resources.
45apiVersion : rbac.authorization.k8s.io/v1beta1
56kind : ClusterRole
@@ -81,4 +82,6 @@ subjects:
8182- kind : ServiceAccount
8283 name : {{ .Storage.Operator.ServiceAccountName }}
8384 namespace : {{ .Storage.Operator.Namespace }}
84- {{- end -}}
85+
86+ {{ .RBACFilterEnd }}
87+ {{ .Storage.FilterEnd }}
Original file line number Diff line number Diff line change 1+ {{ .Storage.FilterStart }}
2+
13apiVersion : v1
24kind : Service
35metadata :
1719 app : arango-storage-operator
1820 role : leader
1921 type : {{ .Storage.Operator.ServiceType }}
22+
23+ {{ .Storage.FilterEnd }}
Original file line number Diff line number Diff line change 1- {{- if .RBAC - }}
1+ {{ .RBACFilterStart }}
22
33# # Cluster role granting access to resources needed by the integration tests.
44apiVersion : rbac.authorization.k8s.io/v1beta1
@@ -34,4 +34,4 @@ subjects:
3434 name : {{ .Test.ServiceAccountName }}
3535 namespace : {{ .Test.Namespace }}
3636
37- {{- end - }}
37+ {{ .RBACFilterEnd }}
You can’t perform that action at this time.
0 commit comments