Skip to content

Commit

Permalink
Pass CNI confDir and binDir through to whereabouts pod env
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Oct 21, 2024
1 parent 977679c commit 8186c74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/rke2-multus/package.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
url: local
workingDir: charts
packageVersion: 01
packageVersion: 02
8 changes: 6 additions & 2 deletions packages/rke2-whereabouts/charts/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,17 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CNI_CONF_DIR
value: /host{{ .Values.cniConf.confDir }}
- name: CNI_BIN_DIR
value: /host{{ .Values.cniConf.binDir }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
mountPath: /host{{ .Values.cniConf.binDir }}
- name: cni-net-dir
mountPath: /host/etc/cni/net.d
mountPath: /host{{ .Values.cniConf.confDir }}
- name: cron-scheduler-configmap
mountPath: /cron-schedule
volumes:
Expand Down

0 comments on commit 8186c74

Please sign in to comment.