nats-io / k8s

NATS on Kubernetes with Helm Charts
Apache License 2.0
444 stars 300 forks source link

🔮 feat(wip): extraVolume & mounts #870

Closed mxchinegod closed 6 months ago

mxchinegod commented 6 months ago

--detag--

caleblloyd commented 6 months ago

extraVolumes and extraVolumeMounts are not necessary. They can already be achieved with:

podTemplate:
  patch:
  - op: add
    path: /spec/volumes/-
    value:
      name: my-secret
      secret:
        secretName: my-secret

container:
  patch:
  - op: add
    path: /volumeMounts/-
    value:
      name: my-secret
      mountPath: /etc/my-secret