Skip to content

Commit

Permalink
ROX-13192: enable programmatic demo version updates in the flavors (#938
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tommartensen authored Aug 9, 2023
1 parent 84ded15 commit 07d099e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions chart/infra-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ version: 0.2.10
home: https://github.com/stackrox/infra
sources:
- https://github.com/stackrox/infra
annotations:
acsDemoVersion: 4.1.2
18 changes: 9 additions & 9 deletions chart/infra-server/static/flavors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
##########
- id: demo
name: StackRox Demo
description: Demo running StackRox 4.1.2
description: Demo running StackRox {{ .Chart.Annotations.acsDemoVersion }}
availability: default
workflow: configuration/workflow-demo.yaml
parameters:
Expand All @@ -12,11 +12,11 @@
value: example1

- name: main-image
value: quay.io/rhacs-eng/main:4.1.2
value: quay.io/rhacs-eng/main:{{ .Chart.Annotations.acsDemoVersion }}
kind: hardcoded

- name: central-db-image
value: quay.io/rhacs-eng/central-db:4.1.2
value: quay.io/rhacs-eng/central-db:{{ .Chart.Annotations.acsDemoVersion }}
kind: hardcoded

- name: k8s-version
Expand Down Expand Up @@ -59,9 +59,9 @@

- name: main-image
description: StackRox Central image Docker name
value: quay.io/stackrox-io/main:4.1.2
value: quay.io/stackrox-io/main:{{ .Chart.Annotations.acsDemoVersion }}
help: |
This must be a fully qualified image e.g. quay.io/stackrox-io/main:4.1.2.
This must be a fully qualified image e.g. quay.io/stackrox-io/main:{{ .Chart.Annotations.acsDemoVersion }}.
Private images from quay.io/rhacs-eng and stackrox.io (legacy) can also be used.
Other public images should also be OK.
Expand Down Expand Up @@ -337,17 +337,17 @@

- name: central-services-helm-chart-version
description: Central Services Helm chart version
value: 4.1.2
value: {{ .Chart.Annotations.acsDemoVersion }}
kind: optional
help: |
Version string of the roxctl version to use to generate Central Services Helm chart, e.g., 4.1.2.
Version string of the roxctl version to use to generate Central Services Helm chart, e.g., {{ .Chart.Annotations.acsDemoVersion }}.
- name: secured-cluster-services-helm-chart-version
description: Secured Cluster Services Helm chart version
value: 4.1.2
value: {{ .Chart.Annotations.acsDemoVersion }}
kind: optional
help: |
Version string of the roxctl version to use to generate Secured Cluster Services Helm chart, e.g., 4.1.2.
Version string of the roxctl version to use to generate Secured Cluster Services Helm chart, e.g., {{ .Chart.Annotations.acsDemoVersion }}.
- name: openshift-version
description: openshift release from OCP, OCP dev preview, or OKD
Expand Down

0 comments on commit 07d099e

Please sign in to comment.