Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

Missing key for one of the secrets in main container's manifest #16

@jkozlowicz

Description

@jkozlowicz
  1. Go to: https://codelabs.developers.google.com/codelabs/cloud-postgresql-gke-memegen/#7
  2. Go to section: Main Container
  3. The following snippet seems to be missing the password key:
      - name: gmemegen
          image: gcr.io/[PROJECT_ID]/gmemegen
          ports:
            - containerPort: 8080
          # Set env variables used for Postgres Connection
          env:
            - name: DB_USER
              valueFrom:
                secretKeyRef:
                  name: cloudsql-db-credentials
                  key: username
            - name: DB_PASS
              valueFrom:
                secretKeyRef:
                  name: cloudsql-db-credentials
                                             <--- shouldn't there be [key: password] here?
            - name: DB_NAME
              valueFrom:
                secretKeyRef:
                  name: cloudsql-db-credentials
                  key: dbname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions