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>
22 lines
778 B
YAML
22 lines
778 B
YAML
{{- if .Values.authorize.pdb.enabled -}}
|
|
{{- if .Capabilities.APIVersions.Has "policy/v1" -}}
|
|
apiVersion: policy/v1
|
|
{{- else -}}
|
|
apiVersion: policy/v1beta1
|
|
{{- end }}
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: {{ template "pomerium.authorize.name" . }}
|
|
helm.sh/chart: {{ template "pomerium.chart" . }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/component: authorize
|
|
name: {{ template "pomerium.authorize.fullname" . }}-pdp
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: {{ template "pomerium.authorize.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
minAvailable: {{ .Values.authorize.pdb.minAvailable }}
|
|
{{- end }}
|