Skip to content

Commit

Permalink
Add fleetshardSync.addonName helm value (#1636)
Browse files Browse the repository at this point in the history
  • Loading branch information
kovayur authored Feb 5, 2024
1 parent 860a7ac commit 6fe9aa3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions dp-terraform/helm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN yq -i ".fleetshardSync.image.tag = strenv(FLEETSHARD_SYNC_IMAGE_TAG)" rhacs-
FROM quay.io/operator-framework/helm-operator:v1.33.0

ENV HOME=/opt/helm
ENV ADDON_NAME=acs-fleetshard
COPY watches.yaml ${HOME}/watches.yaml
COPY --from=build ${HOME}/rhacs-terraform ${HOME}/rhacs-terraform
WORKDIR ${HOME}
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ spec:
value: {{ .Values.fleetshardSync.targetedOperatorUpgrades.enabled | quote }}
- name: RHACS_ADDON_AUTO_UPGRADE
value: {{ .Values.fleetshardSync.addonAutoUpgradeEnabled | quote }}
- name: FLEETSHARD_ADDON_NAME
value: {{ .Values.fleetshardSync.addonName | quote }}
volumeMounts:
- mountPath: /var/run/secrets/tokens
name: aws-token
Expand Down
1 change: 1 addition & 0 deletions dp-terraform/helm/rhacs-terraform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fleetshardSync:
operator: Exists
effect: NoSchedule
addonAutoUpgradeEnabled: true
addonName: acs-fleetshard

acsOperator:
enabled: false
Expand Down
2 changes: 2 additions & 0 deletions dp-terraform/helm/watches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
version: v1alpha1
kind: Fleetshard
chart: rhacs-terraform
overrideValues:
fleetshardSync.addonName: $ADDON_NAME

0 comments on commit 6fe9aa3

Please sign in to comment.