File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ type CSVTemplateConfig struct {
58
58
IsBundle bool
59
59
}
60
60
61
+ // TODO(estroz): devise a way for "make bundle" to be called, then update the generated bundle with correct
62
+ // install modes within integration tests themselves.
63
+
61
64
const csvTmpl = `apiVersion: operators.coreos.com/v1alpha1
62
65
kind: ClusterServiceVersion
63
66
metadata:
@@ -104,7 +107,7 @@ spec:
104
107
- patch
105
108
- update
106
109
{{- end}}
107
- serviceAccountName: {{ .OperatorName }}-manager-role
110
+ serviceAccountName: default
108
111
- rules:
109
112
- apiGroups:
110
113
- authentication.k8s.io
@@ -118,13 +121,7 @@ spec:
118
121
- subjectaccessreviews
119
122
verbs:
120
123
- create
121
- serviceAccountName: {{ .OperatorName }}-proxy-role
122
- - rules:
123
- - nonResourceURLs:
124
- - /metrics
125
- verbs:
126
- - get
127
- serviceAccountName: {{ .OperatorName }}-metrics-reader
124
+ serviceAccountName: default
128
125
deployments:
129
126
- name: {{ .OperatorName }}-controller-manager
130
127
spec:
@@ -186,7 +183,7 @@ spec:
186
183
verbs:
187
184
- create
188
185
- patch
189
- serviceAccountName: {{ .OperatorName }}-leader-election-role
186
+ serviceAccountName: default
190
187
strategy: deployment
191
188
installModes:
192
189
{{- range $i, $mode := .InstallModes }}
You can’t perform that action at this time.
0 commit comments