Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Helm chart specification to follow best practices #74

Merged
merged 2 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ parameters:
repository: banzaicloud/bank-vaults
version: 1.15.2
charts:
vault: 0.19.0
vault:
source: https://helm.releases.hashicorp.com
version: 0.19.0
namespace: ${_instance}
name: ${_instance}
ingress:
Expand Down
18 changes: 9 additions & 9 deletions class/vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ parameters:
kapitan:
dependencies:
- type: helm
source: https://helm.releases.hashicorp.com
source: ${vault:charts:vault:source}
chart_name: vault
version: ${vault:charts:vault}
output_path: dependencies/vault/helmcharts/v${vault:charts:vault}
version: ${vault:charts:vault:version}
output_path: ${_base_directory}/helmcharts/v${vault:charts:vault}
compile:
- input_paths:
- vault/component/app.jsonnet
- ${_base_directory}/component/app.jsonnet
input_type: jsonnet
output_path: apps/
- input_paths:
- vault/component/main.jsonnet
- ${_base_directory}/component/main.jsonnet
input_type: jsonnet
output_path: ${_instance}/
- input_type: helm
output_type: yaml
input_paths:
- vault/helmcharts/v${vault:charts:vault}
- ${_base_directory}/helmcharts/v${vault:charts:vault}
output_path: ${_instance}/10_vault
helm_values: ${vault:helm_values}
helm_params:
Expand All @@ -27,15 +27,15 @@ parameters:
api_versions: networking.k8s.io/v1beta1/Ingress
kube_version: ${vault:kubernetes_version}
- input_paths:
- vault/component/unseal.jsonnet
- ${_base_directory}/component/unseal.jsonnet
input_type: jsonnet
output_path: ${_instance}/
- input_paths:
- vault/component/config.jsonnet
- ${_base_directory}/component/config.jsonnet
input_type: jsonnet
output_path: ${_instance}/
- input_paths:
- vault/component/backup.jsonnet
- ${_base_directory}/component/backup.jsonnet
input_type: jsonnet
output_path: ${_instance}/30_backup
commodore:
Expand Down
Loading