test in app secret decrypt and import

This commit is contained in:
2024-07-15 21:55:49 +10:00
parent b4d82d85aa
commit 8097013e93
5 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
creationTimestamp: null
name: app-secrets
namespace: argocd
spec:
generators:
- git:
files:
- path: secrets/env/k3s-cluster/config.json
repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
source:
repoURL: ""

View File

@@ -3,7 +3,7 @@
"userGivenName": "app-secrets", "userGivenName": "app-secrets",
"destNamespace": "argocd", "destNamespace": "argocd",
"destServer": "https://kubernetes.default.svc", "destServer": "https://kubernetes.default.svc",
"srcPath": "resources/secrets/env/k3s-cluster", "srcPath": "secrets/env/k3s-cluster",
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git", "srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
"srcTargetRevision": "", "srcTargetRevision": "",
"labels": null, "labels": null,