-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: Switch to usage of new config
Adapt all usages of config to the new format. Remove code that was used by old config. Update all sample and example configs. Refs: #2135 Signed-off-by: Konstantin Yarovoy <[email protected]>
- Loading branch information
1 parent
836581a
commit 54fe61b
Showing
140 changed files
with
1,150 additions
and
1,843 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,14 +1,15 @@ | ||
--- | ||
helm_chart: stable/coredns # PUBLISHED_CNFS_HELM_CHART_REPO/NAME ; or | ||
helm_repository: # CONFIGURATION OF HELM REPO - ONLY NEEDED WHEN USING helm_chart | ||
name: stable # HELM_CHART_REPOSITORY_NAME | ||
repo_url: https://cncf.gitlab.io/stable # HELM_CHART_REPOSITORY_URL | ||
#helm_directory: coredns # PATH_TO_CNFS_HELM_CHART ; or | ||
#manifest_directory: coredns # PATH_TO_DIRECTORY_OF_CNFS_MANIFEST_FILES ; or | ||
release_name: coredns # DESIRED_HELM_RELEASE_NAME | ||
container_names: | ||
config_version: v2 | ||
common: | ||
container_names: | ||
- name: coredns | ||
rolling_update_test_tag: "1.8.0" | ||
rollback_from_tag: 1.8.0 | ||
rolling_update_test_tag: 1.8.0 | ||
rolling_downgrade_test_tag: 1.6.7 | ||
rolling_version_change_test_tag: 1.8.0 | ||
rollback_from_tag: 1.8.0 | ||
deployments: | ||
helm_charts: | ||
- name: coredns | ||
helm_chart_name: coredns | ||
helm_repo_name: stable | ||
helm_repo_url: https://cncf.gitlab.io/stable |
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,3 +1,6 @@ | ||
--- | ||
release_name: envoy | ||
helm_directory: envoy | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: envoy | ||
helm_directory: envoy |
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,5 +1,14 @@ | ||
--- | ||
helm_directory: vpp | ||
release_name: vpp | ||
rolling_update_test_tag: latest | ||
allowlist_helm_chart_container_names: [nginx, calico-node, kube-proxy, nginx-proxy, node-cache, kube-multus] | ||
config_version: v2 | ||
common: | ||
white_list_container_names: | ||
- nginx | ||
- calico-node | ||
- kube-proxy | ||
- nginx-proxy | ||
- node-cache | ||
- kube-multus | ||
deployments: | ||
helm_dirs: | ||
- name: vpp | ||
helm_directory: vpp |
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,7 +1,9 @@ | ||
--- | ||
release_name: linkerd | ||
helm_values: "--set-file identityTrustAnchorsPEM=$(pwd)/ca.crt --set-file identity.issuer.tls.crtPEM=$(pwd)/issuer.crt --set-file identity.issuer.tls.keyPEM=$(pwd)/issuer-private.pem" | ||
helm_repository: | ||
name: linkerd | ||
repo_url: https://helm.linkerd.io/stable | ||
helm_chart: linkerd/linkerd-control-plane | ||
config_version: v2 | ||
deployments: | ||
helm_charts: | ||
- name: linkerd | ||
helm_chart_name: linkerd-control-plane | ||
helm_values: --set-file identityTrustAnchorsPEM=$(pwd)/ca.crt --set-file identity.issuer.tls.crtPEM=$(pwd)/issuer.crt --set-file identity.issuer.tls.keyPEM=$(pwd)/issuer-private.pem | ||
helm_repo_name: linkerd | ||
helm_repo_url: https://helm.linkerd.io/stable |
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,6 +1,7 @@ | ||
--- | ||
helm_directory: helm_chart | ||
release_name: nsm --set insecure=true | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
# (kosstennbl) TODO: move helm addoional arguments from name to helm_values | ||
- name: nsm --set insecure=true | ||
helm_directory: helm_chart |
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,4 +1,15 @@ | ||
--- | ||
helm_directory: nat-cnf | ||
release_name: cnf-nat | ||
allowlist_helm_chart_container_names: [node-cache, nginx, coredns, calico-node, kube-proxy, nginx-proxy, kube-multus] | ||
config_version: v2 | ||
common: | ||
white_list_container_names: | ||
- node-cache | ||
- nginx | ||
- coredns | ||
- calico-node | ||
- kube-proxy | ||
- nginx-proxy | ||
- kube-multus | ||
deployments: | ||
helm_dirs: | ||
- name: cnf-nat | ||
helm_directory: nat-cnf |
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,4 +1,13 @@ | ||
--- | ||
helm_directory: csp | ||
release_name: ip-forwarder-csp | ||
allowlist_helm_chart_container_names: [nginx, calico-node, kube-proxy, nginx-proxy, node-cache] | ||
config_version: v2 | ||
common: | ||
white_list_container_names: | ||
- nginx | ||
- calico-node | ||
- kube-proxy | ||
- nginx-proxy | ||
- node-cache | ||
deployments: | ||
helm_dirs: | ||
- name: ip-forwarder-csp | ||
helm_directory: csp |
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,6 +1,6 @@ | ||
--- | ||
helm_directory: chart | ||
release_name: sidecar-container-demo | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: sidecar-container-demo | ||
helm_directory: chart |
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,7 +1,6 @@ | ||
--- | ||
helm_directory: chart | ||
release_name: sidecar-container-demo | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
rolling_update_test_tag: 1.6.7 | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: sidecar-container-demo | ||
helm_directory: chart |
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,6 +1,6 @@ | ||
--- | ||
manifest_directory: manifests | ||
release_name: nginx-webapp | ||
helm_repository: | ||
name: | ||
repo_url: | ||
config_version: v2 | ||
deployments: | ||
manifests: | ||
- name: nginx-webapp | ||
manifest_directory: manifests |
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,6 +1,6 @@ | ||
--- | ||
manifest_directory: manifests | ||
release_name: nginx-webapp | ||
helm_repository: | ||
name: | ||
repo_url: | ||
config_version: v2 | ||
deployments: | ||
manifests: | ||
- name: nginx-webapp | ||
manifest_directory: manifests |
13 changes: 5 additions & 8 deletions
13
sample-cnfs/k8s-sidecar-container-pattern/cnf-testsuite.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 |
---|---|---|
@@ -1,9 +1,6 @@ | ||
--- | ||
helm_directory: chart | ||
git_clone_url: | ||
install_script: | ||
release_name: sidecar-container-demo | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
rolling_update_test_tag: 1.6.7 | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: sidecar-container-demo | ||
helm_directory: chart |
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,6 +1,6 @@ | ||
--- | ||
helm_directory: multiple/directory/chart | ||
release_name: coredns | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: coredns | ||
helm_directory: multiple/directory/chart |
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,15 +1,13 @@ | ||
--- | ||
git_clone_url: | ||
install_script: | ||
manifest_directory: manifests | ||
release_name: nginx | ||
docker_repository: | ||
helm_repository: | ||
name: | ||
repo_url: | ||
container_names: | ||
config_version: v2 | ||
common: | ||
container_names: | ||
- name: nginx | ||
rolling_update_test_tag: "latest" | ||
rollback_from_tag: latest | ||
rolling_update_test_tag: latest | ||
rolling_downgrade_test_tag: latest | ||
rolling_version_change_test_tag: latest | ||
rollback_from_tag: latest | ||
deployments: | ||
manifests: | ||
- name: nginx | ||
manifest_directory: manifests |
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,4 +1,7 @@ | ||
--- | ||
helm_directory: wordpress | ||
helm_install_namespace: wordpress | ||
release_name: test | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: test | ||
helm_directory: wordpress | ||
namespace: wordpress |
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,15 +1,13 @@ | ||
--- | ||
git_clone_url: | ||
install_script: | ||
manifest_directory: manifests | ||
release_name: nginx | ||
docker_repository: | ||
helm_repository: | ||
name: | ||
repo_url: | ||
container_names: | ||
config_version: v2 | ||
common: | ||
container_names: | ||
- name: nginx | ||
rolling_update_test_tag: "latest" | ||
rollback_from_tag: latest | ||
rolling_update_test_tag: latest | ||
rolling_downgrade_test_tag: latest | ||
rolling_version_change_test_tag: latest | ||
rollback_from_tag: latest | ||
deployments: | ||
manifests: | ||
- name: nginx | ||
manifest_directory: manifests |
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,6 +1,6 @@ | ||
--- | ||
manifest_directory: manifests | ||
release_name: nginx | ||
helm_repository: | ||
name: | ||
repo_url: | ||
config_version: v2 | ||
deployments: | ||
manifests: | ||
- name: nginx | ||
manifest_directory: manifests |
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,3 +1,6 @@ | ||
--- | ||
helm_directory: gateway-helm | ||
release_name: envoy-gateway | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: envoy-gateway | ||
helm_directory: gateway-helm |
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,6 +1,6 @@ | ||
--- | ||
manifest_directory: manifests | ||
release_name: nginx | ||
helm_repository: | ||
name: | ||
repo_url: | ||
config_version: v2 | ||
deployments: | ||
manifests: | ||
- name: nginx | ||
manifest_directory: manifests |
10 changes: 5 additions & 5 deletions
10
sample-cnfs/sample-appliciation-credentials/cnf-testsuite.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
helm_directory: chart | ||
release_name: coredns | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: coredns | ||
helm_directory: chart |
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,6 +1,8 @@ | ||
--- | ||
release_name: coredns | ||
helm_repository: | ||
name: badrepo | ||
repo_url: https://bad-helm-repo.googleapis.com | ||
helm_chart: badrepo/coredns | ||
config_version: v2 | ||
deployments: | ||
helm_charts: | ||
- name: coredns | ||
helm_chart_name: coredns | ||
helm_repo_name: badrepo | ||
helm_repo_url: https://bad-helm-repo.googleapis.com |
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,6 +1,8 @@ | ||
--- | ||
release_name: coredns | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
helm_chart: stable/coredns | ||
config_version: v2 | ||
deployments: | ||
helm_charts: | ||
- name: coredns | ||
helm_chart_name: coredns | ||
helm_repo_name: stable | ||
helm_repo_url: https://cncf.gitlab.io/stable |
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,3 +1,6 @@ | ||
--- | ||
helm_directory: chart | ||
release_name: bad-helm-coredns-coredns | ||
config_version: v2 | ||
deployments: | ||
helm_dirs: | ||
- name: bad-helm-coredns-coredns | ||
helm_directory: chart |
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,6 +1,8 @@ | ||
--- | ||
release_name: coredns | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
helm_chart: stable/corsdsdsdedns | ||
config_version: v2 | ||
deployments: | ||
helm_charts: | ||
- name: coredns | ||
helm_chart_name: corsdsdsdedns | ||
helm_repo_name: stable | ||
helm_repo_url: https://cncf.gitlab.io/stable |
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,3 +1,6 @@ | ||
--- | ||
release_name: coredns | ||
helm_chart: stable/coredns | ||
config_version: v2 | ||
deployments: | ||
helm_charts: | ||
- name: coredns | ||
helm_chart_name: coredns |
Oops, something went wrong.