kubernetes-secrets Questions

4

I 'm trying to pull an image from a private registry. But the status of pod is 'ImagePullBackOff', which means I need to add a secret to the pod. Events: Type Reason Age From Message ---- -----...
Undesirable asked 17/4, 2019 at 8:40

4

Solved

I want to make some deployments in kubernetes using helm charts. Here is a sample override-values yaml that I use: imageRepository: "" ocbb: imagePullPolicy: IfNotPresent TZ: UTC logDir: /oms_...
Biggin asked 18/10, 2019 at 8:42

6

Solved

For now, I deploy my application pods using static files and one of them is app-secrets.yaml with all secrets to deploy an application --- apiVersion: v1 kind: Secret metadata: name: app-secrets ...
Bland asked 9/1, 2020 at 12:43

5

I'm using a kubernetes ConfigMap that contains database configurations for an app and there is a secret that has the database password. I need to use this secret in the ConfigMap so when I try to a...
Ruminate asked 21/5, 2018 at 16:7

2

Solved

I have a secret, and I mounted it as a volume inside a deployment. If I update the secrets value later, will the new updated value gets automatically reflected as well inside the deployment pods wh...
Finesse asked 15/7, 2020 at 10:48

8

I'm trying to install Sonarqube in Kubernetes environment which needs PostgresSQL. I'm using an external Postgres instance and I have the credentials kv secret set in Vault. SonarQube helm chart cr...

2

I have a configmap like this apiVersion: v1 kind: ConfigMap metadata: namespace: develop name: test-config data: app.conf: | connection conn1 address 127.0.0.1:8080 user cluster1 password: ...
Fernery asked 3/4, 2019 at 9:10

4

I am setting up a secret containing the certificate for ingress controller but getting the below error when I check the ingress logs Ingress logs: W0304 05:47:32.020497 7 controller.go:1153] Error ...
Bithynia asked 4/3, 2021 at 6:21

15

How can I modify the values in a Kubernetes secret using kubectl? I created the secret with kubernetes create secret generic, but there does not seem to be a way to modify a secret. For example, to...
Eckhart asked 12/5, 2016 at 7:34

2

Solved

I want to set a boolean variable in configMap (or secret): apiVersion: v1 kind: ConfigMap metadata: name: env-config namespace: mlo-stage data: webpack_dev_server: false But when I apply it, I ...

2

How can I mount a 'single' file from a secret? I've created a secret with: kubectl create secret generic oauth \ --from-file=./.work-in-progress/oauth_private.key \ --from-file=./.work-in-progr...
Guadalcanal asked 14/11, 2018 at 8:42

3

Solved

I created a secret like this: kubectl create secret generic test --from-literal=username=testuser --from-literal=password=12345 I want to update the username to testuser2 but I want to do it on...
Ulphi asked 18/4, 2019 at 10:57

1

Solved

I am following Kubernetes documentations on secret. I have this secret.yaml file: apiVersion: v1 kind: Secret metadata: name: mysecret type: Opaque data: val1: YXNkZgo= stringData: val1: asdf a...
Rostand asked 13/12, 2022 at 2:50

6

Solved

Is there a recommended way to use Kubernetes Secrets? They can be exposed as environment variables or using a volume mount. Is one more secure than the other?

9

Solved

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 update the values - how can I do this?
Evidently asked 25/8, 2017 at 10:35

3

Solved

I am replacing a Kubernetes secret and I want to make sure I am catching all places in the cluster which use it. Is there a way to tell without reading all deployment YAMLs using K8s or helm? We ha...
Terce asked 20/9, 2021 at 10:36

2

Does anyone know in which case choose Kubernetes secrets instead of google secret manager and the reverse ? Differences between the two ?

1

Solved

In Azure Kubernetes I want have a pod with jenkins in defualt namespace, that needs read secret from my aplication workspace. When I tried I get the next error: Error from server (Forbidden):...
Welker asked 19/8, 2022 at 14:12

2

Solved

Kubectl provides a nice way to convert environment variable files into secrets using: $ kubectl create secret generic my-env-list --from-env-file=envfile Is there any way to achieve this in Helm? ...
Chromo asked 17/10, 2021 at 2:53

5

Solved

I am looking to know (and how to do it), to create a secured (tls) route in OpenShift from a Secret that would contain my cert and key(or JAVA keystore) or 2 secret (1 with certificat, another with...
Hamblin asked 25/10, 2018 at 15:25

1

Solved

We have created a few month ago controller which runs great using kubebuilder. Few weeks ago we added a “listener” to a secret which when the secret is changing (secret properties) The reconcile sh...
Taconite asked 26/3, 2022 at 9:48

2

I just came across the sealed secrets tool https://github.com/bitnami-labs/sealed-secrets for encrypting secrets in kubernetes with added benefits of being able to commit those to git I am a bit di...
Carola asked 14/10, 2021 at 3:56

4

Solved

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

3

Solved

I created a helm chart which has secrets.yaml as: apiVersion: v1 kind: Secret type: Opaque metadata: name: appdbpassword stringData: password: password@1 My pod is: apiVersion: v1 kind: Pod ...
Rutledge asked 4/11, 2019 at 11:41

3

Solved

Recently I learned about HashiCorp Vault and its usage combined with Kubernetes. I've found two really awesome blog post about how you can use HashiCorp Vault to generate creds on the fly by using ...
Catlee asked 17/10, 2018 at 16:1

© 2022 - 2025 — McMap. All rights reserved.