feat(pocket-id): Add Pocket ID

This commit is contained in:
2026-03-13 17:53:18 +01:00
parent 6dc57af5ae
commit cfdb9f1fdd
8 changed files with 130 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
pocket_id:
enabled: true
+4
View File
@@ -0,0 +1,4 @@
pocket_id:
enabled: false
autosync: {{ if eq .Environment.Name "prod" }} false {{ else }} true {{ end }}
env: {{ .Environment.Name }}
+42
View File
@@ -0,0 +1,42 @@
{{- if .Values.clusterConfig.argo.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Values.pocket_id.env }}-pocket-id
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: pocket-id
server: https://kubernetes.default.svc
project: aux
sources:
- repoURL: {{ .Values.clusterConfig.manifests }}
targetRevision: HEAD
path: helmfile.d
plugin:
name: helmfile-cmp
env:
- name: CLUSTER_NAME
value: {{ .Values.clusterConfig.cluster }}
- name: HELMFILE_ENVIRONMENT
value: {{ .Values.pocket_id.env }}
- name: HELMFILE_FILE_PATH
value: pocket-id.yaml.gotmpl
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# - ServerSideApply=true
{{- if .Values.pocket_id.autosync }}
automated:
prune: true
# selfHeal: false
{{- end }}
{{- end }}
+29
View File
@@ -0,0 +1,29 @@
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: ca-issuer
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: HTTP
host: auth.adm.hel1.obx
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: auth.adm.hel1.obx-tls
hosts:
- auth.adm.hel1.obx
persistence:
data:
enabled: true
accessMode: ReadWriteOnce
size: 5Gi
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
+2
View File
@@ -0,0 +1,2 @@
ingress:
enabled: false