Comments (1)
This is because of missing emptyDir in case no pvc is deployed. As a workaround, this merge works (but because the merge cannot merge list, there is a duplication below):
container:
merge:
volumeMounts:
# nats config
- name: config
mountPath: /etc/nats-config
# PID volume
- name: pid
mountPath: /var/run/nats
# Override
- mountPath: /data
name: js-data
podTemplate:
# merge or patch the pod template
# https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pod-v1-core
merge:
spec:
volumes:
- configMap:
name: my-nats-config
name: config
- emptyDir: {}
name: pid
# Override
- emptyDir: {}
name: js-data
from k8s.
Related Issues (20)
- [Jetstream Controller] Use secrets for username/password authentication HOT 5
- Expose promExporter to service or Prometheus could not scrape HOT 6
- Add Priority Class Name Configuration to StatefulSet in Helm Chart HOT 1
- Add gatewayAPI HTTPRoute ressources, same as Ingress
- OpenSSL past due vulnerabilities detected in config-reloader and prometheus exporter images
- [Nats helm] Error: parse error at (nats/templates/tests/request-reply.yaml:8): unclosed action HOT 5
- Critical Vulnerabilities detected for busybox, openssl, nats-server, and more
- allow nats service annotations HOT 3
- how to Allow leafnode remotes but not leafnode connections HOT 2
- add possibility to set global annotations HOT 1
- Doc incorrect https://github.com/nats-io/k8s/tree/main/helm/charts/nack#getting-started
- [nats] [nack] accounts vs authorization vs .creds, sensitive data not in secrets HOT 3
- [feature request] nats in security context of non root user HOT 2
- Modify the surveyor chart so that it can connect using the parameters --user --password
- Patch args in NATS container HOT 3
- Can't expose gateway service HOT 3
- Use mergeOverwrite Instead of merge in NATS Helm Chart Templates HOT 2
- Release nats chart with NATS server 2.10.17
- TLS Handshake error between Nats pod and `kube-system` pods HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s.