feat: Provision k8s-wheatley cluster through ArgoCD

This commit is contained in:
Peter 2025-11-08 22:01:51 +01:00
parent dc268db7b4
commit ea771272e9
10 changed files with 56 additions and 36 deletions

View file

@ -0,0 +1,30 @@
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: k8s-wheatley-cluster
spec:
secretStoreRef:
kind: ClusterSecretStore
name: 1password-wheatley
target:
name: k8s-wheatley-cluster
creationPolicy: Owner
template:
engineVersion: v2
type: Opaque
metadata:
labels:
argocd.argoproj.io/secret-type: cluster
data:
name: k8s-wheatley
server: "{{ .endpoint }}"
project: argocd
config: "{{ .config }}"
data:
- secretKey: endpoint
remoteRef:
key: k8s-wheatley_clusterdefinition/endpoint
- secretKey: config
remoteRef:
key: k8s-wheatley_clusterdefinition/config