Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

243
Vistas
Interpolation on K8s deployment

How do I pass in a variable inside another string value in k8s deployments.

enter image description here

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Variable references are possible using the $(ENV_VAR) format. So, in this example, it would be:

containers:
 - env: 
     - name: DATA_SOURCE_PASS
       valueFrom:
         secretKeyRef:
           name: app-secrets
           key: DB_DOCKER_USER_PASSWORD
     - name: PG_EXPORTER_URL
       value: postgres://postgres:$(DATA_SOURCE_PASS)@localhost:5432/postgres
  • This question has already been answered here, which is where I got this answer from.
  • Kubernetes documentation on variable references, also linked from article above.
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda