Skip to content

Commit a768e70

Browse files
authored
Merge pull request #62 from mbaldessari/gitops-1.20
Upgrade default gitops to 1.20
2 parents ff226c2 + b686ef3 commit a768e70

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This chart is used by the Validated Patterns to configure ACM and manage remote
1212
|-----|------|---------|-------------|
1313
| acm.mce_operator | object | Uses the official redhat sources | Just used for IIB testing, drives the source and channel for the MCE subscription triggered by ACM |
1414
| acm.mch_spec | object | `{}` | MultiClusterHub spec (empty by default) |
15-
| acm.spokeGitops.channel | string | `"gitops-1.18"` | Default gitops channel to install on remote clusters |
15+
| acm.spokeGitops.channel | string | `"gitops-1.20"` | Default gitops channel to install on remote clusters |
1616
| acm.spokeGitops.source | string | `"redhat-operators"` | |
1717
| clusterGroup | object | depends on the individual settings | Dictionary of all the clustergroups of the pattern |
1818
| clusterGroup.managedClusterGroups | object | `{}` | The set of cluters managed by ACM which is running inside this clusterGroup |
@@ -26,8 +26,8 @@ This chart is used by the Validated Patterns to configure ACM and manage remote
2626
| global.secretStore.backend | string | `"vault"` | |
2727
| global.targetRevision | string | `"main"` | The branch or Git reference to use to deploy the pattern |
2828
| global.vpArgoNamespace | string | `"openshift-gitops"` | The namespace where the cluster-wide ArgoCD instance runs |
29-
| main | object | `{"gitops":{"channel":"gitops-1.18"}}` | Deprecated: Use acm.spokeGitops which takes precedence |
30-
| main.gitops.channel | string | `"gitops-1.18"` | DEPRECATED: Default gitops channel to install on remote clusters (Use acm.spokeGitops.channel) |
29+
| main | object | `{"gitops":{"channel":"gitops-1.20"}}` | Deprecated: Use acm.spokeGitops which takes precedence |
30+
| main.gitops.channel | string | `"gitops-1.20"` | DEPRECATED: Default gitops channel to install on remote clusters (Use acm.spokeGitops.channel) |
3131
| secretStore | object | depends on the individual settings | Default secretstore configuration variables |
3232
| secretStore.name | string | `"vault-backend"` | Name of the clustersecretstore to be used for secrets |
3333

templates/policies/ocp-gitops-policy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
name: openshift-gitops-operator
3636
namespace: {{ if $.Values.global.gitOpsSubNamespace }}{{ $.Values.global.gitOpsSubNamespace }}{{ else }}openshift-operators{{ end }}
3737
spec:
38-
channel: {{- if and $.Values.acm.spokeGitops $.Values.acm.spokeGitops.channel }} {{ $.Values.acm.spokeGitops.channel }}{{- else if and $.Values.main $.Values.main.gitops $.Values.main.gitops.channel }} {{ $.Values.main.gitops.channel }}{{- else }} gitops-1.18{{- end }}
38+
channel: {{- if and $.Values.acm.spokeGitops $.Values.acm.spokeGitops.channel }} {{ $.Values.acm.spokeGitops.channel }}{{- else if and $.Values.main $.Values.main.gitops $.Values.main.gitops.channel }} {{ $.Values.main.gitops.channel }}{{- else }} gitops-1.20{{- end }}
3939
installPlanApproval: Automatic
4040
name: openshift-gitops-operator
4141
source: {{- if and $.Values.acm.spokeGitops $.Values.acm.spokeGitops.source }} {{ $.Values.acm.spokeGitops.source }}{{- else if and $.Values.main $.Values.main.gitops $.Values.main.gitops.operatorSource }} {{ $.Values.main.gitops.operatorSource }}{{- else }} redhat-operators{{- end }}

values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
main:
33
gitops:
44
# -- DEPRECATED: Default gitops channel to install on remote clusters (Use acm.spokeGitops.channel)
5-
channel: "gitops-1.18"
5+
channel: "gitops-1.20"
66

77
global:
88
# -- List of additional value files to be passed to the pattern
@@ -78,7 +78,7 @@ acm:
7878
spokeGitops:
7979
source: redhat-operators
8080
# -- Default gitops channel to install on remote clusters
81-
channel: "gitops-1.18"
81+
channel: "gitops-1.20"
8282

8383

8484
# -- Default secretstore configuration variables

0 commit comments

Comments
 (0)