Skip to content

Commit 48d5ccd

Browse files
authored
Allow openshift catalog versions to be configurable via helm (#2264)
Signed-off-by: Todd Short <[email protected]>
1 parent 05375cb commit 48d5ccd

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

helm/olmv1/templates/openshift-catalogs/clustercatalog-openshift-certified-operators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ spec:
99
type: Image
1010
image:
1111
pollIntervalMinutes: 10
12-
ref: registry.redhat.io/redhat/certified-operator-index:v4.20
12+
ref: registry.redhat.io/redhat/certified-operator-index:{{- .Values.options.openshift.catalogs.version }}
1313
{{- end -}}

helm/olmv1/templates/openshift-catalogs/clustercatalog-openshift-community-operators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ spec:
99
type: Image
1010
image:
1111
pollIntervalMinutes: 10
12-
ref: registry.redhat.io/redhat/community-operator-index:v4.20
12+
ref: registry.redhat.io/redhat/community-operator-index:{{- .Values.options.openshift.catalogs.version }}
1313
{{- end -}}

helm/olmv1/templates/openshift-catalogs/clustercatalog-openshift-redhat-marketplace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ spec:
99
type: Image
1010
image:
1111
pollIntervalMinutes: 10
12-
ref: registry.redhat.io/redhat/redhat-marketplace-index:v4.20
12+
ref: registry.redhat.io/redhat/redhat-marketplace-index:{{- .Values.options.openshift.catalogs.version }}
1313
{{- end -}}

helm/olmv1/templates/openshift-catalogs/clustercatalog-openshift-redhat-operators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ spec:
99
type: Image
1010
image:
1111
pollIntervalMinutes: 10
12-
ref: registry.redhat.io/redhat/redhat-operator-index:v4.20
12+
ref: registry.redhat.io/redhat/redhat-operator-index:{{ .Values.options.openshift.catalogs.version }}
1313
{{- end -}}

helm/olmv1/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ options:
2020
enabled: false
2121
openshift:
2222
enabled: false
23+
catalogs:
24+
version: v4.20
2325
# This can be one of: standard or experimental
2426
featureSet: standard
2527

0 commit comments

Comments
 (0)