Add SSL configuration and build workflow

- Add build-image.yml workflow for automated builds to GHCR
- Add SSL certificates and domain configuration for HTTPS
- Update services to use ghcr.io/ghndrx/k8s-game-2048:latest with imagePullPolicy: Always
- Configure Kourier for SSL redirect and domain claims
- Enable HTTPS for all environments: dev, staging, prod
- Add domain mappings with TLS configuration
- Add setup-ssl.sh script for easy deployment
This commit is contained in:
Greg
2025-06-30 21:29:26 -07:00
parent f818b22575
commit f42d04f06e
4 changed files with 114 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
apiVersion: serving.knative.dev/v1alpha1
apiVersion: serving.knative.dev/v1beta1
kind: DomainMapping
metadata:
name: 2048-dev.wa.darknex.us
@@ -11,3 +11,5 @@ spec:
name: game-2048-dev
kind: Service
apiVersion: serving.knative.dev/v1
tls:
secretName: game-2048-dev-cert-secret

View File

@@ -1,4 +1,4 @@
apiVersion: serving.knative.dev/v1alpha1
apiVersion: serving.knative.dev/v1beta1
kind: DomainMapping
metadata:
name: 2048.wa.darknex.us
@@ -11,3 +11,5 @@ spec:
name: game-2048-prod
kind: Service
apiVersion: serving.knative.dev/v1
tls:
secretName: game-2048-prod-cert-secret

View File

@@ -1,4 +1,4 @@
apiVersion: serving.knative.dev/v1alpha1
apiVersion: serving.knative.dev/v1beta1
kind: DomainMapping
metadata:
name: 2048-staging.wa.darknex.us
@@ -11,3 +11,5 @@ spec:
name: game-2048-staging
kind: Service
apiVersion: serving.knative.dev/v1
tls:
secretName: game-2048-staging-cert-secret