fix(infisical): single-source Helm with inline values

The multi-source variant ($values git ref) caused the infisical app to
prune its own Application object on first sync (controller pruned
Application/argocd/infisical, orphaning the workloads). Switch to a
single-source Helm app with inline valuesObject (same chart 1.9.0, same
DB/Redis passwords) and drop the hand-written tracking-id annotation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 06:51:23 +00:00
co-authored by Claude Opus 4.8
parent e548a06ebc
commit c459eb3930
2 changed files with 60 additions and 68 deletions
+60 -12
View File
@@ -3,23 +3,71 @@ kind: Application
metadata: metadata:
name: infisical name: infisical
namespace: argocd namespace: argocd
annotations:
argocd.argoproj.io/tracking-id: infisical:argoproj.io/Application:argocd/infisical
spec: spec:
destination: destination:
namespace: infisical namespace: infisical
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
project: default project: default
sources: # Single-source Helm: remote chart + inline values. (Multi-source $values ref
- repoURL: https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/ # caused the app to prune its own Application object on first sync.)
chart: infisical-standalone source:
targetRevision: 1.9.0 repoURL: https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/
helm: chart: infisical-standalone
valueFiles: targetRevision: 1.9.0
- $values/infisical/values.yaml helm:
- repoURL: https://git.chemavx.xyz/chemavx/k8s-manifests valuesObject:
targetRevision: main # Crown-jewel secrets (ENCRYPTION_KEY, AUTH_SECRET, SITE_URL) are NOT here —
ref: values # they live in the out-of-band 'infisical-secrets' Secret (kubectl, IgnoreExtraneous).
# Postgres/Redis passwords below guard ClusterIP-only services in the isolated
# infisical namespace; the DB stores only ciphertext (useless without ENCRYPTION_KEY).
infisical:
enabled: true
replicaCount: 1
kubeSecretRef: infisical-secrets
autoBootstrap:
enabled: false
image:
tag: "v0.158.0"
pullPolicy: IfNotPresent
resources:
limits:
memory: 1000Mi
requests:
cpu: 350m
ingress:
enabled: true
nginx:
enabled: false
ingressClassName: traefik
hostName: infisical.chemavx.xyz
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
tls:
- secretName: infisical-tls
hosts:
- infisical.chemavx.xyz
postgresql:
enabled: true
name: postgresql
fullnameOverride: postgresql
auth:
username: infisical
password: "eeb3d0ec1a98f8582253e74b8f22f7ad9f4b56eaf94679aa"
database: infisicalDB
primary:
persistence:
enabled: true
storageClass: local-path
size: 8Gi
redis:
enabled: true
name: redis
fullnameOverride: redis
architecture: standalone
usePassword: true
auth:
password: "b10e20323896054ddacbafffa6b3d71b350c826e6ce3e06f"
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
-56
View File
@@ -1,56 +0,0 @@
# Infisical platform (Phase 1) — chart: infisical-standalone 1.9.0 (Infisical v0.158.0)
# Crown-jewel secrets (ENCRYPTION_KEY, AUTH_SECRET, SITE_URL) are NOT here — they live
# in the out-of-band 'infisical-secrets' Secret (kubectl, IgnoreExtraneous).
# Postgres/Redis passwords below guard ClusterIP-only services in the isolated infisical
# namespace; the DB stores only ciphertext (useless without ENCRYPTION_KEY).
infisical:
enabled: true
replicaCount: 1
kubeSecretRef: infisical-secrets
autoBootstrap:
enabled: false
image:
tag: "v0.158.0"
pullPolicy: IfNotPresent
resources:
limits:
memory: 1000Mi
requests:
cpu: 350m
ingress:
enabled: true
nginx:
enabled: false
ingressClassName: traefik
hostName: infisical.chemavx.xyz
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
tls:
- secretName: infisical-tls
hosts:
- infisical.chemavx.xyz
postgresql:
enabled: true
name: postgresql
fullnameOverride: postgresql
auth:
username: infisical
password: "eeb3d0ec1a98f8582253e74b8f22f7ad9f4b56eaf94679aa"
database: infisicalDB
primary:
persistence:
enabled: true
storageClass: local-path
size: 8Gi
redis:
enabled: true
name: redis
fullnameOverride: redis
architecture: standalone
usePassword: true
auth:
password: "b10e20323896054ddacbafffa6b3d71b350c826e6ce3e06f"