Comments (5)
The listed cases are not supported, but there is another solution that you can try.
https://gimlet.io/docs/onechart-reference#mounting-secrets-as-files
fileSecrets:
- name: rabbitmq-conf
path: /etc/rabbitmq
secrets:
rabbitmq.conf: |
this is the conf file content
definitions.json: |
this
is
a
multiline
secret
It is technically a secret resource in k8s not a configmap.. you can add the file content in the values file.
Volumes configmap support is required feature and will land in OneChart. Thank you for the issue.
from onechart.
from onechart.
Oh, yes. I hate that problem.
Let me look at it.
from onechart.
Follow-up 🪄
hello @amanhigh,
The following use cases are possible now within onechart's volumes:
Case 1 (Mount an existing configMap as a file):
volumes:
- existingConfigMap: map
path: /data/map.conf
subPath: map.conf
Case 2 (Mount an emptyDir):
volumes:
- emptyDir: true
path: /data
name: empty
Case 3 (Mount a custom string as a file):
volumes:
- fileName: blabla.conf
fileContent: |
multi-line-text
multi-line-text
path: /data
from onechart.
https://github.com/gimlet-io/onechart/releases/tag/v0.43.0
from onechart.
Related Issues (20)
- Sanitize Helm labels
- Opt-in support for liveness probes HOT 1
- Increase readiness probe's initial delay seconds maximum value HOT 3
- Transition from rollingUpdate to Recreate hits a kubectl shortcoming HOT 4
- ingress - path make variable HOT 3
- values.schema.json to include all features HOT 1
- ExternalSecret support HOT 2
- Allow additional arbitrary resources HOT 5
- OneChart to support emptyDir HOT 1
- Specify env for containers in deployment HOT 4
- Support host path volumes HOT 2
- Investigate if OneChart can be rendered to Cloud Run / KNative serving API HOT 2
- Init container support HOT 3
- policy/v1beta1 is deprecated in k8s 1.25
- Chart version v0.41.0 does not seem to have existingFileSecrets changes HOT 1
- Adding promtheus scraping? HOT 3
- Allow the possibility to not set limits.
- License HOT 1
- No way to mount single file from secret
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 onechart.