Template defaults

This commit is contained in:
Stéphane Tailland
2026-08-19 17:34:06 +02:00
parent 6afd9c4c5f
commit 22348ce610
10 changed files with 77 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
# Not a self-signed cert hand-copied into a Secret like
# ~/dev/kong/kube/gateway/apigw/secret.yaml does — issuer is per-domain/env
# config (e.g. sttlab-local-ca ClusterIssuer for local, a real ACME issuer
# for prod), not hardcoded here.
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: ${NAME}
namespace: ${NAMESPACE}
spec:
secretName: ${NAME}-tls
dnsNames:
- ${HOSTNAME}
issuerRef:
kind: ${TLS_ISSUER_KIND}
name: ${TLS_ISSUER_NAME}
+1 -1
View File
@@ -21,4 +21,4 @@ spec:
tls:
certificateRefs:
- kind: Secret
name: ${TLS_SECRET_NAME}
name: ${NAME}-tls
@@ -6,5 +6,5 @@ metadata:
spec:
type: secretRef
secretRef:
name: ${KONNECT_AUTH_SECRET_NAME}
name: ${NAME}-konnect-auth
serverURL: ${KONNECT_SERVER_URL}
+1
View File
@@ -5,3 +5,4 @@ resources:
- gatewayconfiguration.yaml
- gateway.yaml
- secret.yaml
- certificate.yaml
+1 -1
View File
@@ -5,7 +5,7 @@
apiVersion: v1
kind: Secret
metadata:
name: ${KONNECT_AUTH_SECRET_NAME}
name: ${NAME}-konnect-auth
namespace: ${NAMESPACE}
labels:
konghq.com/credential: konnect