-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #959 from jenkins-x-plugins/replace_chart
feat: replace chart
- Loading branch information
Showing
11 changed files
with
140 additions
and
53 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
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
5 changes: 5 additions & 0 deletions
5
pkg/cmd/helmfile/resolve/testdata/replace-chart/expected-helmfile.yaml
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,5 @@ | ||
filepath: "" | ||
helmfiles: | ||
- path: helmfiles/secret-infra/helmfile.yaml | ||
templates: {} | ||
renderedvalues: {} |
17 changes: 17 additions & 0 deletions
17
pkg/cmd/helmfile/resolve/testdata/replace-chart/expected-secret-infra-helmfile.yaml
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,17 @@ | ||
filepath: "" | ||
environments: | ||
default: | ||
values: | ||
- jx-values.yaml | ||
namespace: secret-infra | ||
repositories: | ||
- name: wave-k8s | ||
url: https://wave-k8s.github.io/wave/ | ||
releases: | ||
- chart: wave-k8s/wave | ||
version: 3.0.0 | ||
name: wave | ||
values: | ||
- jx-values.yaml | ||
templates: {} | ||
renderedvalues: {} |
7 changes: 7 additions & 0 deletions
7
pkg/cmd/helmfile/resolve/testdata/replace-chart/helmfile.yaml
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,7 @@ | ||
releases: | ||
- chart: jxgh/pusher-wave | ||
name: pusher-wave | ||
version: 1.2.3 | ||
repositories: | ||
- name: jxgh | ||
url: https://jenkins-x-charts.github.io/repo |
15 changes: 15 additions & 0 deletions
15
pkg/cmd/helmfile/resolve/testdata/replace-chart/jx-requirements.yml
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,15 @@ | ||
apiVersion: core.jenkins-x.io/v4beta1 | ||
kind: Requirements | ||
spec: | ||
autoUpdate: | ||
enabled: false | ||
schedule: "" | ||
cluster: | ||
clusterName: mycluster | ||
project: myproject | ||
provider: gke | ||
ingress: | ||
domain: "" | ||
externalDNS: false | ||
namespaceSubDomain: "" | ||
vault: {} |
2 changes: 2 additions & 0 deletions
2
...lmfile/resolve/testdata/replace-chart/versionStream/charts/jxgh/pusher-wave/defaults.yaml
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,2 @@ | ||
replacementChart: wave | ||
replacementChartPrefix: wave-k8s |
4 changes: 4 additions & 0 deletions
4
pkg/cmd/helmfile/resolve/testdata/replace-chart/versionStream/charts/repositories.yml
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,4 @@ | ||
repositories: | ||
- prefix: wave-k8s | ||
urls: | ||
- https://wave-k8s.github.io/wave/ |
3 changes: 3 additions & 0 deletions
3
.../helmfile/resolve/testdata/replace-chart/versionStream/charts/wave-k8s/wave/defaults.yaml
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,3 @@ | ||
gitUrl: https://github.com/wave-k8s/wave | ||
namespace: secret-infra | ||
version: 3.0.0 |