mirror of
https://github.com/ghndrx/k8s-game-2048.git
synced 2026-02-10 06:45:07 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user