Questions tagged [kubernetes-secrets]

415 questions
-1
votes
1 answer

EDIT: iam still need the help : how can i add an secret object into a git secrets and make my app read it once i deploy the yaml file?

can someone help me? I have a repository having some YAML files like deployment_app.yaml, and a secret object. the pod inside the deployment_file must read the secret object during the deployment process and I wanna save the secret object into a git…
-1
votes
1 answer

how to refer for a secret object having environment variables inside a container

I have a question and I hope anyone can help me. well, I have a deployment YAML file having a pod for an application and this app must be connected with redisDB using environment variables, I already setting the environment variables on the pod as u…
-1
votes
1 answer

How to copy kubernetes secret content to single file

I have kubernetes secrets as following and want to copy all content as is to single file. api: url: https://app.a.com/test application: metadata: name="myname" in yaml i have following apiVersion: apps/v1 kind: Deployment metadata: name:…
user1591156
  • 1,945
  • 4
  • 18
  • 31
-1
votes
2 answers

deployment of mysql not intaking root password set in secret

I've googled and googled and not sure what I'm doing wrong. it seems how ever way i try to set the root password for mysql, it doesn't seem to work. I'm currently testing out the below(which i've seen plastered over the internet) and this too…
-1
votes
1 answer

Rotate tls secret - Ingress - kubernetes

I need to update my tls secrets, there is any best practices to do that?, The steps considered by now are: Create new secrets Update the ingress definition in order it could take the new tls secrets. I can´t use cert-manager with letsencript. Any…
-1
votes
1 answer

How to write complete "sed"command

I tried sed command at Mac's terminal but it is showing ">" and couldn't execute the command. username$ oc get secret all-icr-io -n default -o yaml | sed 's/default/my-project/g’ | oc create -n my-project -f - > I got this command from here (③Copy…
Moe
  • 9
  • 1
  • 4
-1
votes
2 answers

How to make the kubernetes pods unable to decrypt the kubernetes secrets without a key?

The end goal I'm trying to achieve is to create a kubernetes secret (potentially with a key) and a pod which uses that. But the catch is, the pod created should not be able to decode/decrypt the secret value without a particular key. I have tried…
Preetham
  • 577
  • 5
  • 13
-1
votes
1 answer

Mounting entire volumes as secrets in kubernetes

I am running locally a container as follows: docker run --rm \ --name=my-container \ --net=host \ -v $(pwd)/producer.properties:/etc/replicator/producer.properties \ -v $(pwd)/consumer.properties:/etc/replicator/consumer.properties \ -v…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
-1
votes
2 answers

How to set array structure property in env for k8s?

To define clients in secret to store client name and password, how to define a client array in env and secret to store these data? It should be like this in application.yml: app: clients: client1: password1 client2: password2 …
zm999999
  • 23
  • 1
  • 3
-2
votes
1 answer

How to edit a sealed secret in kubernetes?

I've a kubernetes sealed secret with encrypted data in it. How can I edit the sealed secret like editing a deployment using command "kubectl edit deployment". I know kubectl edit secret works on normal secrets not on sealed secrets. apiVersion:…
1 2 3
27
28