Skip to content

Commit

Permalink
enroll-server: use FLAVORS_DIR configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
skrobul committed Dec 11, 2024
1 parent c354704 commit 7dc998b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion workflows/argo-events/workflowtemplates/enroll-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ spec:
readOnly: true
- mountPath: /etc/understack_flavors/
name: understack-flavors
subPath: current/flavors/
readOnly: true
env:
- name: WF_NS
Expand All @@ -82,6 +81,12 @@ spec:
value: "{{workflow.name}}"
- name: WF_UID
value: "{{workflow.uid}}"
- name: FLAVORS_DIR
valueFrom:
configMapKeyRef:
name: understack-flavors
key: FLAVORS_DIR
optional: true
volumes:
- name: bmc-master
secret:
Expand Down

0 comments on commit 7dc998b

Please sign in to comment.