Skip to content

Commit

Permalink
chore: update manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop authored Oct 30, 2024
1 parent 3570b9b commit 85f9c84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ui/HelmSnippet/CLISnippet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ EOF
{{/if}}
{{#if this.createRepo }}
helm repo add {{{ this.chart }}} {{{ this.repoName }}}/{{{ this.chart }}}
helm repo add {{{ this.repoName }}} {{{ this.chartUrl }}}
{{/if}}
{{#if this.updateHelmRepo }}
helm repo update
{{/if}}
helm install {{{ this.releaseName }}} {{{ this.repoName }}}/{{{ this.chart }}} -n "{{{ this.namespace }}}" \\
helm install {{{ this.chart }}} {{{ this.repoName }}}/{{{ this.chart }}} -n "{{{ this.namespace }}}" \\
{{#each this.values}}
--set {{{ this.key }}}={{{ this.value }}} {{#unless @last}} \\ \n{{/unless}}{{/each}}{{#if this.createNamespace }} \\
--create-namespace {{#if this.valueFile }} \\ {{/if}}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/HelmSnippet/FluxSnippet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
---
{{/if}}
{{#if this.createRepo}}
apiVersion: source.toolkit.fluxcd.io/v1beta1
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: {{ this.repoName }}
Expand All @@ -24,7 +24,7 @@ spec:
url: {{{ this.chartUrl }}}
---
{{/if}}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: {{{ this.chart }}}
Expand Down

0 comments on commit 85f9c84

Please sign in to comment.