Skip to content

Commit

Permalink
Anpassungen bei day-x-generator zum Erstellen der PrivateBin ArgoCD A…
Browse files Browse the repository at this point in the history
…pplication

Signed-off-by: fhochleitner <[email protected]>
  • Loading branch information
fhochleitner committed Feb 5, 2024
1 parent d864a67 commit 59c63c4
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Vorlagen/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env: "" # zBsp.: play
env: "play" # zBsp.: play

argo-bootstrap:
cluster-applications:
Expand Down Expand Up @@ -68,7 +68,10 @@ cluster-applications:
AlertmanagerChartVersion: "*"

one-time-secret:
OneTimeSecretChartVersion: "*"
OneTimeSecretChartVersion: "*"

private-bin:
PrivateBinChartVersion: "0.1.*"

vault-setup-script:
ArgoCdWFRepoUser: ""
Expand Down
5 changes: 5 additions & 0 deletions src/pkg/generator/Configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ var GENERATORS = []Generator{
Stage: ClusterApplications,
Name: "one-time-secret",
},
{
ValueBuilder: &GenericCopyValueBuilder{},
Stage: ClusterApplications,
Name: "private-bin",
},
{
ValueBuilder: &GenericCopyValueBuilder{},
Stage: VaultSetupScript,
Expand Down
22 changes: 22 additions & 0 deletions src/templates/cluster-applications.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,25 @@ applications:
automated:
prune: true
selfHeal: true

######################## PRIVATE BIN ##########################

private-bin:
name: private-bin
enabled: true
argoProject: gepardec-run
destination:
namespace: gp-privatebin
create: true
source:
repoURL: "https://gepaplexx.github.io/gp-helm-charts/"
targetRevision: "{{ or .PrivateBinChartVersion "0.1.*" }}"
chart: gp-privatebin
helm:
parameters:
- name: "ingress.hostname"
value: "pb.{{ .env }}.run.gepardec.com"
syncPolicy:
automated:
prune: true
selfHeal: true
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.17
0.1.18

0 comments on commit 59c63c4

Please sign in to comment.