This commit includes the complete Kubernetes infrastructure deployment for NGE6: - Crossplane setup with providers (Kubernetes, Helm, Civo) - Ambassador/Emissary ingress controller with SSL termination - Cert-manager with Let's Encrypt and Gandi webhook for DNS01 challenges - ExternalDNS integration with Gandi for automatic DNS management - Keycloak authentication server with PostgreSQL - Pomerium identity-aware proxy with OIDC integration - Forgejo Git server with persistent storage and authentication - Spire/SPIFFE for secure service communication All services are deployed using Infrastructure as Code principles with Crossplane managing Kubernetes and Helm resources declaratively. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
901 B
YAML
37 lines
901 B
YAML
apiVersion: kubernetes.crossplane.io/v1alpha2
|
|
kind: Object
|
|
metadata:
|
|
name: keycloak-provider-creds
|
|
namespace: crossplane-system
|
|
spec:
|
|
providerConfigRef:
|
|
name: kubernetes-provider
|
|
forProvider:
|
|
manifest:
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: keycloak-provider-creds
|
|
namespace: crossplane-system
|
|
type: Opaque
|
|
stringData:
|
|
credentials: |
|
|
{
|
|
"url": "http://keycloak-http.auth-system.svc.cluster.local",
|
|
"client_id": "admin-cli",
|
|
"username": "admin",
|
|
"password": "thefi9paechooh"
|
|
}
|
|
---
|
|
# Configure Keycloak provider
|
|
apiVersion: keycloak.crossplane.io/v1beta1
|
|
kind: ProviderConfig
|
|
metadata:
|
|
name: keycloak-provider
|
|
spec:
|
|
credentials:
|
|
source: Secret
|
|
secretRef:
|
|
namespace: crossplane-system
|
|
name: keycloak-provider-creds
|
|
key: credentials
|