Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [kubernetes-secrets]

The tag has no usage guidance.

kubernetes-secrets
0 votes
1 answer
38 views

How to create kubernetes generic secret without base64 encoding?

for example I'm creating a kubernetes generic secret using following: kubectl create secret generic passwords \ --from-literal=TestUser='mypass' -n mynamespace And I will get the following secret: # ...
TheDayAfterDark's user avatar
0 votes
0 answers
38 views

How to use securityConfigSecret in Opensearch with admin password being a sensitive value

I'm trying to use a set of roles with custom-defined permissions and OIDC as authentication backend for the OpenSearch cluster deployed using opensearch-operator. I also want to have the password for ...
Akila Induranga's user avatar
1 vote
1 answer
85 views

Is there a way to mount only the file from k8s secret to a pod without disturbing the existing files in the location?

I am trying to mount a file secret.txt from the secret to location /opt/tomcat/conf/secret.txt. there are other files at the same location e.g. /opt/tomcat/conf/creds.txt that I want to retain. This ...
Mayank Singh Rathore's user avatar
0 votes
1 answer
31 views

How to mount specific fields in secretmanager using secretstore csi driver

Trying to mount only specific keys from the aws secretmanager as file to the pods using below. Value of aws secret mytestsecret: {"key1": "value1", "key2": "value2&...
user9163519's user avatar
0 votes
1 answer
40 views

Is it possible to hide pod-mounted kubernetes secrets?

I have the following question, at my work I have secrets stored in a keyvault and I consume them through a secretProviderClass mounted on a pod path. They ask me if it is possible that when entering ...
cekodis681 cekodis681's user avatar
0 votes
2 answers
36 views

K8S secret usage in SQLCMD password is always empty

Im trying to connect to an SQL server using K8S secret for password but no matter what syntax or method i want to use the password always empty. If i hard code the password everything works fine. I ...
Snooker's user avatar
0 votes
1 answer
58 views

Helm mount a set of confimaps or secrets dynamically

I have a use case for a helm deployment to mount a set of configmaps (it can be also secrets) which are present in the system already. The configmaps follow a pattern *-version. As the name suggests, ...
Vineeth's user avatar
  • 892
1 vote
1 answer
42 views

Proper way to mount some files from secret with specified name

I have an external secret that contains certificate, keystore and truststore generated by cert-manager. So it contains keystore.jks, truststore.jks + some other files. I need to use this keystore.jks ...
dbf's user avatar
  • 6,479
-1 votes
1 answer
112 views

How to enable https on AKS hosted ASP.NET Core 6 Web API?

I am working on enabling https on AKS hosted ASP.NET Core 6 Web API. I found various samples online and I have couple questions around it. I am sharing part of relevant code here. Hope someone can ...
Pankaj Kapare's user avatar
0 votes
1 answer
52 views

Issue with Linking Secrets in Kubernetes Deployment YAML

Description Blockquote I'm trying to deploy an application using Kubernetes and Helm. My goal is to link environment variables from a Kubernetes Secret to my deployment. However, I'm encountering ...
Osman's user avatar
  • 13
0 votes
1 answer
123 views

Injecting secrets into Kubernetes pods via Vault Agent containers [closed]

how to inject secrets into Kubernetes pods via Vault Agent containers using env variables Hello everyone, I need your help. I'm trying to perform secret injection via Vault into a Kubernetes cluster, ...
Anis Douadi's user avatar
1 vote
2 answers
609 views

Azure Kubernetes Service with csi secret store error fetching the secrets-store-creds

I have an Azure Kubernetes Service cluster running. And part of setting the environment variables for my pod, i installed the csi-secret-store-provider-azure with helm chart. The first deployment was ...
Nayden Van's user avatar
  • 1,409
2 votes
2 answers
100 views

Nuxt3 get environment variables from Kubernetes Secrets

I'm using Nuxt3 with K8 and want to pass some secrets using Kubernetes Secrets to my Nuxt3 app. I cannot set the environment variables in my Docker container directly, because the container is public. ...
Muhammad Arsalan's user avatar
0 votes
0 answers
101 views

Use kubernetes secrets as jenkins credentials without a respin

I'm looking for a way to use kubernetes secrets in my jenkins helm release and be able to update/add credentials without having to respin the instance. Currently it works when using plain text and can ...
Grant Phillips's user avatar
0 votes
0 answers
72 views

how to change ownership and file permissions for the secrets copied using secrets-store-csi-driver

I am not able to change the ownership of the files when mounted using secrets-store-csi-driver. the files are getting mounted as root with readonly permissions and 644 mode. Whereas I want to change ...
garima's user avatar
  • 65

15 30 50 per page
1
2 3 4 5
30