From c9a94d2e12605009d0ce78b8016e17ad7e9a2a4b Mon Sep 17 00:00:00 2001 From: konsthol Date: Fri, 30 May 2025 16:17:59 +0300 Subject: [PATCH] Add apps/example-app/to_apply.yaml --- apps/example-app/to_apply.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 apps/example-app/to_apply.yaml diff --git a/apps/example-app/to_apply.yaml b/apps/example-app/to_apply.yaml new file mode 100644 index 0000000..064040b --- /dev/null +++ b/apps/example-app/to_apply.yaml @@ -0,0 +1,30 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: example-app + namespace: argocd +spec: + project: default + source: + repoURL: "http://nexus-repo-nexus-repository-manager.default.svc.cluster.local:8081/repository/my-helm-repo/" + targetRevision: "*" + chart: example-app + helm: + valueFiles: + - values.yaml + parameters: + - name: app.env.QUARKUS_DATASOURCE_PASSWORD + value: testpass + - name: app.env.QUARKUS_DATASOURCE_USERNAME + value: admin + - name: app.ports.http + value: "8095" + destination: + server: "https://kubernetes.default.svc" + namespace: example-app + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file