Top "Kubernetes-secrets" questions

How can I update a secret on Kubernetes when it is generated from a file?

I've created a secret using kubectl create secret generic production-tls \ --from-file=./tls.key \ --from-file=./tls.crt If I'd like to …

kubernetes kubectl kubernetes-secrets
Can't create Secret in Kubernetes: illegal base64 data at input

I want to create a secret for my kubernetes cluster. So I composed following dummy-secret.yaml file: apiVersion: v1 kind: …

kubernetes base64 kubernetes-secrets
How to set secret files to kubernetes secrets by yaml?

I want to store files in Kubernetes Secrets but I haven't found how to do it using a yaml file. …

kubernetes yaml kubernetes-secrets
Kubernetes: modify a secret using kubectl?

How can I modify the values in a Kubernetes secret using kubectl? I created the secret with kubernetes create secret …

kubernetes kubernetes-secrets
Create kubernetes docker-registry secret from yaml file?

I can run this command to create a docker registry secret for a kubernetes cluster: kubectl create secret docker-registry regsecret \ …

docker kubernetes docker-registry kubernetes-secrets
Insert multiline json string into helm template for base64 encoding

I am trying to insert multiline json string into helm template for base64 encoding required for Kubernetes secret. Goals: helm …

json kubernetes yaml kubernetes-helm kubernetes-secrets
How to reference kubernetes secrets in helm chart?

I want to make some deployments in kubernetes using helm charts. Here is a sample override-values yaml that I use: …

kubernetes kubernetes-helm kubernetes-secrets
How do I mount a single file from a secret in Kubernetes?

How can I mount a 'single' file from a secret? I've created a secret with: kubectl create secret generic oauth \ …

kubernetes kubernetes-secrets
How to mount multiple files / secrets into common directory in kubernetes?

I've multiple secrets created from different files. I'd like to store all of them in common directory /var/secrets/. Unfortunately, …

kubernetes kubernetes-secrets
Does Kubernetes take JSON format as input file to create configmap and secret?

I have an existing configuration file in JSON format, something like below { "maxThreadCount": 10, "trackerConfigs": [{ "url": "https://example1.com/", "username": "username", "…

kubernetes kubernetes-pod configmap kubernetes-secrets