Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
valueFiles:
- $understack/components/nautobot-worker/values.yaml
- $deploy/{{ include "understack.deploy_path" $ }}/nautobot-worker/values.yaml
{{- with index $.Values.appLabels "understack.rackspace.com/partition" }}
{{- with index $.Values.appLabels "understack.rackspace.com/site" }}
values: |
workers:
default:
Expand All @@ -47,6 +47,9 @@ spec:
- op: replace
path: /data/UNDERSTACK_PARTITION
value: "{{ index $.Values.appLabels "understack.rackspace.com/partition" | default "" }}"
- op: replace
path: /data/UNDERSTACK_SITE
value: "{{ index $.Values.appLabels "understack.rackspace.com/site" | default "" }}"
target:
kind: ConfigMap
name: cluster-data
Expand Down
1 change: 1 addition & 0 deletions components/nautobot-worker/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ configMapGenerator:
- name: cluster-data
literals:
- UNDERSTACK_PARTITION=""
- UNDERSTACK_SITE=""
options:
disableNameSuffixHash: true
Loading