Files
kong-k8s-platform/dataplane-template/secret.yaml
T
Stéphane Tailland 6afd9c4c5f First commit
2026-08-19 16:57:43 +02:00

16 lines
521 B
YAML

# konghq.com/secret: "true" is required — the Kong Operator's secret
# watch/cache is scoped to that label; without it, references from
# KonnectAPIAuthConfiguration.secretRef resolve to "does not exist" even
# though the Secret is present (see ~/dev/kong/kube/gateway/apigw/secret.yaml).
apiVersion: v1
kind: Secret
metadata:
name: ${KONNECT_AUTH_SECRET_NAME}
namespace: ${NAMESPACE}
labels:
konghq.com/credential: konnect
konghq.com/secret: "true"
type: Opaque
stringData:
token: ${KONNECT_PAT_TOKEN}