Skip to content

Commit 23614a4

Browse files
committed
Drop gitopsspec from pattern's CR
We drive this from the patterns-operator-config configmap these days, which makes more sense (it is a clusterwide setting and not really a per pattern one).
1 parent 0fdc074 commit 23614a4

6 files changed

Lines changed: 0 additions & 18 deletions

operator-install/templates/pattern.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ spec:
1212
tokenSecret: {{ .Values.main.tokenSecret }}
1313
tokenSecretNamespace: {{ .Values.main.tokenSecretNamespace }}
1414
{{- end }} {{/* if and .Values.main.tokenSecret .Values.main.tokenSecretNamespace */}}
15-
gitOpsSpec:
16-
operatorChannel: {{ default "gitops-1.12" .Values.main.gitops.channel }}
17-
operatorSource: {{ default "redhat-operators" .Values.main.gitops.operatorSource }}
1815
multiSourceConfig:
1916
enabled: {{ .Values.main.multiSourceConfig.enabled }}
2017
{{- if .Values.main.analyticsUUID }}

tests/operator-install-industrial-edge-factory.expected.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ spec:
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
2727
targetRevision: main
28-
gitOpsSpec:
29-
operatorChannel: gitops-1.12
30-
operatorSource: redhat-operators
3128
multiSourceConfig:
3229
enabled: false
3330
---

tests/operator-install-industrial-edge-hub.expected.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ spec:
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
2727
targetRevision: main
28-
gitOpsSpec:
29-
operatorChannel: gitops-1.12
30-
operatorSource: redhat-operators
3128
multiSourceConfig:
3229
enabled: false
3330
---

tests/operator-install-medical-diagnosis-hub.expected.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ spec:
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
2727
targetRevision: main
28-
gitOpsSpec:
29-
operatorChannel: gitops-1.12
30-
operatorSource: redhat-operators
3128
multiSourceConfig:
3229
enabled: false
3330
---

tests/operator-install-naked.expected.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ spec:
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
2727
targetRevision: main
28-
gitOpsSpec:
29-
operatorChannel: gitops-1.12
30-
operatorSource: redhat-operators
3128
multiSourceConfig:
3229
enabled: false
3330
---

tests/operator-install-normal.expected.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ spec:
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
2727
targetRevision: main
28-
gitOpsSpec:
29-
operatorChannel: gitops-1.12
30-
operatorSource: redhat-operators
3128
multiSourceConfig:
3229
enabled: false
3330
---

0 commit comments

Comments
 (0)