290 lines
6.4 KiB
YAML
290 lines
6.4 KiB
YAML
# Default production-oriented values for Archie Enterprise (Active-Passive v1).
|
|
# Pair with values-dev.yaml, values-staging.yaml, or values-prod.yaml.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: ghcr.io/samcharles93/archie
|
|
tag: "v1.0.0"
|
|
# Set digest (e.g. "sha256:...") to pin the exact immutable artifact in staging and prod.
|
|
digest: ""
|
|
pullPolicy: IfNotPresent
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: true
|
|
name: ""
|
|
annotations: {}
|
|
automountServiceAccountToken: false
|
|
|
|
# Exceeds config.shutdownGrace (30s) so active requests and run checkpoints drain on SIGTERM.
|
|
terminationGracePeriodSeconds: 45
|
|
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65532
|
|
runAsGroup: 65532
|
|
fsGroup: 65532
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
runAsNonRoot: true
|
|
runAsUser: 65532
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
config:
|
|
listen: "0.0.0.0:8080"
|
|
stateDir: "/var/lib/archie"
|
|
shutdownGrace: "30s"
|
|
# Public age1... backup recipients used alongside the primary sealing identity.
|
|
ageBackupRecipients: []
|
|
catalogue:
|
|
# Must be set together with publicKey when overriding the default catalogue mirror.
|
|
location: ""
|
|
publicKey: ""
|
|
disableAutoUpdate: true
|
|
# Optional Secret containing Docker config.json for private OCI catalogue registries.
|
|
authSecret: ""
|
|
authSecretKey: "config.json"
|
|
extensions:
|
|
# Kubernetes restricted PSS forbids CLONE_NEWUSER namespaces; require remote gRPC+mTLS extensions.
|
|
requireRemote: true
|
|
tls:
|
|
# Secret holding ca.crt, tls.crt, and tls.key for mTLS client authentication to extensions.
|
|
existingSecret: ""
|
|
mountPath: "/etc/archie/extensions-tls"
|
|
# Map extension key or name to { address: "ext.ns.svc:50051", serverName: "ext.internal" }.
|
|
remote: {}
|
|
|
|
secrets:
|
|
# Secret holding database-url, age-identity, and admin-token-sha256 for runtime pods.
|
|
existingSecret: "archie-runtime-secrets"
|
|
keys:
|
|
databaseUrl: "database-url"
|
|
databaseOwnerUrl: "database-owner-url"
|
|
ageIdentity: "age-identity"
|
|
adminTokenSha256: "admin-token-sha256"
|
|
|
|
caBundle:
|
|
enabled: false
|
|
existingConfigMap: ""
|
|
existingSecret: ""
|
|
key: "ca-certificates.crt"
|
|
mountPath: "/etc/ssl/certs/archie-ca.crt"
|
|
|
|
proxy:
|
|
httpsProxy: ""
|
|
httpProxy: ""
|
|
noProxy: "localhost,127.0.0.1,.svc,.cluster.local"
|
|
|
|
telemetry:
|
|
otlpEndpoint: ""
|
|
|
|
extraEnv: []
|
|
|
|
persistence:
|
|
enabled: true
|
|
existingClaim: ""
|
|
storageClass: ""
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
size: "10Gi"
|
|
|
|
resources:
|
|
requests:
|
|
cpu: "250m"
|
|
memory: "256Mi"
|
|
limits:
|
|
cpu: "1000m"
|
|
memory: "1Gi"
|
|
|
|
probes:
|
|
startup:
|
|
initialDelaySeconds: 2
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 30
|
|
liveness:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
readiness:
|
|
initialDelaySeconds: 2
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
|
|
migrate:
|
|
enabled: true
|
|
# Dedicated migration secret holding database-owner-url and database-url.
|
|
# Keeps DDL credentials completely out of the runtime StatefulSet.
|
|
existingSecret: "archie-migrate-secrets"
|
|
hookWeight: "-5"
|
|
hookDeletePolicy: "before-hook-creation,hook-succeeded"
|
|
backoffLimit: 3
|
|
activeDeadlineSeconds: 300
|
|
resources:
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "256Mi"
|
|
|
|
bootstrap:
|
|
enabled: false
|
|
hookWeight: "-1"
|
|
hookDeletePolicy: "before-hook-creation,hook-succeeded"
|
|
backoffLimit: 2
|
|
activeDeadlineSeconds: 180
|
|
publicUrl: ""
|
|
trustedProxies: []
|
|
owner:
|
|
email: ""
|
|
displayName: "Platform Owner"
|
|
passwordSecretName: "archie-bootstrap-secrets"
|
|
passwordSecretKey: "owner-password"
|
|
oidc:
|
|
issuer: ""
|
|
audience: ""
|
|
clientId: ""
|
|
resources:
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "256Mi"
|
|
|
|
bundleSync:
|
|
enabled: false
|
|
hooks:
|
|
helm: true
|
|
argocd: true
|
|
hookWeight: "5"
|
|
hookDeletePolicy: "before-hook-creation,hook-succeeded"
|
|
backoffLimit: 2
|
|
activeDeadlineSeconds: 180
|
|
# ConfigMap holding bundle.yaml (and optional bindings.yaml).
|
|
existingConfigMap: ""
|
|
bundleKey: "bundle.yaml"
|
|
bindings:
|
|
enabled: true
|
|
# Optional separate ConfigMap for stage-local bindings; falls back to bundleSync.existingConfigMap.
|
|
existingConfigMap: ""
|
|
key: "bindings.yaml"
|
|
expectDigest: ""
|
|
dryRun: false
|
|
resources:
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "256Mi"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
metricsPort: 9090
|
|
annotations: {}
|
|
|
|
metrics:
|
|
enabled: true
|
|
port: 9090
|
|
path: "/metrics"
|
|
serviceMonitor:
|
|
enabled: false
|
|
interval: "30s"
|
|
scrapeTimeout: "10s"
|
|
labels: {}
|
|
|
|
ingress:
|
|
# External edge ingress admitting webhook intake (/hooks/ and /webhooks/) only.
|
|
perimeter:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
hosts: []
|
|
tls: []
|
|
# Internal corporate VPN / SSO ingress serving Dashboard, /api/, and OIDC routes.
|
|
internal:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
hosts: []
|
|
tls: []
|
|
|
|
networkPolicy:
|
|
enabled: true
|
|
ingress:
|
|
perimeter:
|
|
namespaceSelector: {}
|
|
podSelector: {}
|
|
internal:
|
|
namespaceSelector: {}
|
|
podSelector: {}
|
|
metrics:
|
|
namespaceSelector: {}
|
|
podSelector: {}
|
|
egress:
|
|
dns:
|
|
namespaceSelector:
|
|
kubernetes.io/metadata.name: kube-system
|
|
podSelector:
|
|
k8s-app: kube-dns
|
|
postgres:
|
|
port: 5432
|
|
cidrs: []
|
|
namespaceSelector: {}
|
|
podSelector: {}
|
|
oidc:
|
|
port: 443
|
|
cidrs: []
|
|
proxy:
|
|
port: 3128
|
|
cidrs: []
|
|
extensions:
|
|
ports:
|
|
- 50051
|
|
cidrs: []
|
|
namespaceSelector: {}
|
|
podSelector: {}
|
|
otlp:
|
|
port: 4317
|
|
cidrs: []
|
|
namespaceSelector: {}
|
|
podSelector: {}
|
|
|
|
podDisruptionBudget:
|
|
enabled: false
|
|
maxUnavailable: 1
|
|
minAvailable: null
|
|
|
|
externalSecret:
|
|
enabled: false
|
|
refreshInterval: "1h"
|
|
secretStoreRef:
|
|
name: "vault-backend"
|
|
kind: "ClusterSecretStore"
|
|
remoteRefs:
|
|
databaseUrlKey: "archie/prod/database"
|
|
databaseUrlProperty: "runtime_url"
|
|
ageIdentityKey: "archie/prod/age"
|
|
ageIdentityProperty: "identity"
|
|
adminTokenSha256Key: "archie/prod/admin"
|
|
adminTokenSha256Property: "token_sha256"
|