Questions tagged [kubernetes-secrets]

415 questions
0
votes
2 answers

Migrating GKE Secrets to Secret Manager

I was wondering if there are any migration guides for migrating from GKE Secrets to the Secret Manager API?
0
votes
0 answers

How encrypt GKE secrets using Customer supplied keys

I have created a gke cluster without any encryption flag to encrypt. How can i encrypt the secrets in gke using custom keys not using Cloud KMS. How can secure the kubernets secrets
0
votes
1 answer

cannot decode kubernetes secrets with base64

I'm trying to get secrets with kubectl with: kubectl get secrets/postgresql -n my-namespace -o=go-template=='{{index .data "postgresql-password" }}' it returns the correct value ( I get the same result with lens ) But when I do: kubectl get…
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
0
votes
1 answer

Kubernetes secret generated

I want to put the following yaml as kubernetes secret with terraform: type: GCS config: bucket: bucket-name service_account: |- { "type": "service_account", "project_id": "project-id-34657345", "private_key_id":…
FranAguiar
  • 637
  • 3
  • 14
  • 31
0
votes
1 answer

Same secret for multiple deployments in Helm chart

I am using supabase-community/supabase-kubernetes to deploy Supabase in Kubernetes. For Studio, Storage, Kong, Realtime, Rest and Auth services, you need to define at least jwt secret or in some cases the anon or service key. However, I have two…
0
votes
1 answer

K8s, Helm Secrets and Volumes

I'm trying to write the K8s syntax for declaring a secret in a file, then mounting it in an accessible way. In short, in the simplest way, I want to store Postgres credentials (client key, client cert, server-ca cert) in files. When I try to…
Woodsman
  • 901
  • 21
  • 61
0
votes
1 answer

how to loop through in Helm chart

I was trying to iterate through my values.yaml file objects values.yaml keyvault: name: mykv tenantId: ${tenantId}$ clientid: "#{spid}#" clientsecret: "#{spsecret}#" secrets: - secret1 - secret2 - secret3 So here my requiremnt…
Vowneee
  • 956
  • 10
  • 33
0
votes
1 answer

Custom certificate issue on Ingress controller installing with Helm chart

I am using the ABP framework microservice template. I have deployed the application on Kubernetes using the helm chart. I have the following helm chart configuration in values.YAML is provided by the ABP framework. authserver: config: #…
0
votes
1 answer

Mounting AWS Secrets Manager on Kubernetes/Helm chart

I have created an apps cluster deployment on AWS EKS that is deployed using Helm. For proper operation of my app, I need to set env variables, which are secrets stored in AWS Secrets manager. Referencing a tutorial, I set up my values in values.yaml…
0
votes
0 answers

How can I refer secrets from custom resource

How can I refer secret value from custom resource ? I am trying some thing like below but its not working configuration: baseUrl: "some url" username: "jack" password: valueFrom: secretKeyRef: key: identityServiceInstanceURL …
0
votes
1 answer

How to import Secret in airflow?

I was trying to use a module in airflow called Secrets to pass secrets to KubernetesOperator in Airflow. It should be imported as from airflow.contrib.kubernetes.secret import Secret But I'm getting an error ModuleNotFoundError: No module named…
Kavya
  • 105
  • 1
  • 15
0
votes
1 answer

How to create a Kubernetes cron job that delete secrets older then "x" days age and ignore the last 2 versions

I would like to create a kubectl cron job that auto delete secrets older than "x" days age, except the latest 2 versions. The Apps in the cluster use these secrets for config, but they get created with every deploy and needs clean up after the fact.
shagun
  • 13
  • 1
0
votes
1 answer

How to mount one file from a secret to a container?

I'm trying to mount a secret as a file apiVersion: v1 data: credentials.conf: >- dGl0bGU6IHRoaYWwpCg== kind: Secret metadata: name: address-finder-secret type: Opaque kind: DeploymentConfig apiVersion: v1 metadata: name:…
Violetta
  • 509
  • 4
  • 12
0
votes
1 answer

Kubernetes | Pod Status - CrashLoopBackOff | Back-off restarting failed container

I am creating mongodb deployment i.e, mongo.yaml and I have also created a secret to take the reference of username and password from mongo-secret.yaml. I am implementing this in windows terminal and in a minikube cluster Running it in default…
0
votes
0 answers

How to connect a Kubernetes cluster to and external SQL Server

I have a running Kubernetes cluster running multiple nodes. I want to connect my application (built on .Net) to an external SQL Server. My connection string Looks like this "ConnectionStrings": { "DefaultConnection": "Server= 192.168.2.68;…