Skip to content

Commit 0a2478c

Browse files
authored
Merge pull request #423 from mbaldessari/argh
Fix placement of tokenSecret material in the right section
2 parents d40517f + eef7bb4 commit 0a2478c

6 files changed

Lines changed: 13 additions & 13 deletions

operator-install/templates/pattern.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ spec:
88
gitSpec:
99
targetRepo: {{ .Values.main.git.repoURL }}
1010
targetRevision: {{ .Values.main.git.revision }}
11-
gitOpsSpec:
12-
operatorChannel: {{ default "gitops-1.8" .Values.main.gitops.channel }}
13-
operatorSource: {{ default "redhat-operators" .Values.main.gitops.operatorSource }}
1411
{{- if and .Values.main.tokenSecret .Values.main.tokenSecretNamespace }}
1512
tokenSecret: {{ .Values.main.tokenSecret }}
1613
tokenSecretNamespace: {{ .Values.main.tokenSecretNamespace }}
1714
{{- end }} {{/* if and .Values.main.tokenSecret .Values.main.tokenSecretNamespace */}}
15+
gitOpsSpec:
16+
operatorChannel: {{ default "gitops-1.8" .Values.main.gitops.channel }}
17+
operatorSource: {{ default "redhat-operators" .Values.main.gitops.operatorSource }}
1818
multiSourceConfig:
1919
enabled: {{ .Values.main.multiSourceConfig.enabled }}
2020
{{- if .Values.main.analyticsUUID }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ spec:
2424
clusterGroupName: example
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
27-
targetRevision: main
27+
targetRevision: main
2828
gitOpsSpec:
2929
operatorChannel: gitops-1.8
30-
operatorSource: redhat-operators
30+
operatorSource: redhat-operators
3131
multiSourceConfig:
3232
enabled: false
3333
---

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ spec:
2424
clusterGroupName: example
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
27-
targetRevision: main
27+
targetRevision: main
2828
gitOpsSpec:
2929
operatorChannel: gitops-1.8
30-
operatorSource: redhat-operators
30+
operatorSource: redhat-operators
3131
multiSourceConfig:
3232
enabled: false
3333
---

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ spec:
2424
clusterGroupName: example
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
27-
targetRevision: main
27+
targetRevision: main
2828
gitOpsSpec:
2929
operatorChannel: gitops-1.8
30-
operatorSource: redhat-operators
30+
operatorSource: redhat-operators
3131
multiSourceConfig:
3232
enabled: false
3333
---

tests/operator-install-naked.expected.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ spec:
2424
clusterGroupName: default
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
27-
targetRevision: main
27+
targetRevision: main
2828
gitOpsSpec:
2929
operatorChannel: gitops-1.8
30-
operatorSource: redhat-operators
30+
operatorSource: redhat-operators
3131
multiSourceConfig:
3232
enabled: false
3333
---

tests/operator-install-normal.expected.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ spec:
2424
clusterGroupName: example
2525
gitSpec:
2626
targetRepo: https://github.com/pattern-clone/mypattern
27-
targetRevision: main
27+
targetRevision: main
2828
gitOpsSpec:
2929
operatorChannel: gitops-1.8
30-
operatorSource: redhat-operators
30+
operatorSource: redhat-operators
3131
multiSourceConfig:
3232
enabled: false
3333
---

0 commit comments

Comments
 (0)