Skip to content

Commit

Permalink
fluxcd added
Browse files Browse the repository at this point in the history
  • Loading branch information
kiemlicz committed Feb 25, 2024
1 parent e85e71e commit c1a0055
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions salt/kubernetes/fluxcd/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ fluxcd_cli:
- name: {{ kubernetes.fluxcd.cli_url }}
- require:
- sls: kubernetes.master
fluxcd_bootstrap:
cmd.run:
- name: {{ kubernetes.fluxcd.bootstrap }}
- env: {{ kubernetes.fluxcd.bootstrap_envs|tojson }}
- require:
- cmd: fluxcd_cli
1 change: 1 addition & 0 deletions salt/kubernetes/fluxcd/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
'default': {
'fluxcd': {
'cli_url': "https://fluxcd.io/install.sh",
'bootstrap': "flux bootstrap github"
}
},
}, merge=kubernetes_defaults) %}

0 comments on commit c1a0055

Please sign in to comment.