-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use helmBin() for kustomize build for helmChart in kustomizatio…
…n.yaml (#64) * feat: test for kustomize build using helmCharts Signed-off-by: moririnson <[email protected]> * feat: use helmBin() for kustomize build for helmChart in kustomization.yaml This adds support --helm-binary for helmChart in kustomization.yaml by: - Changing use helmBin() for kustomize build Resolves helmfile/helmfile#1121 Signed-off-by: moririnson <[email protected]> * feat: u.HelmBinary empty check for kustomize build Signed-off-by: moririnson <[email protected]> --------- Signed-off-by: moririnson <[email protected]>
- Loading branch information
1 parent
a67147a
commit 7da5efd
Showing
6 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
*~ | ||
.idea | ||
|
||
# testdata | ||
testdata/kustomize_with_helm_charts/charts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
testdata/integration/testcases/kustomize_with_helm_charts/want
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
--- | ||
# Source: kustomize_with_helm_charts/templates/kustomized.yaml | ||
# Source: kustomize_with_helm_charts/templates/kustomized.yaml | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
annotations: | ||
helm.sh/hook: test | ||
labels: | ||
app.kubernetes.io/instance: release-name | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: log | ||
app.kubernetes.io/version: 1.16.0 | ||
helm.sh/chart: log-0.1.0 | ||
name: release-name-log-test-connection | ||
spec: | ||
containers: | ||
- args: | ||
- release-name-log:80 | ||
command: | ||
- wget | ||
image: busybox | ||
name: wget | ||
restartPolicy: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
helmCharts: | ||
- repo: http://localhost:18080/ | ||
name: log | ||
version: 0.1.0 |