Skip to content

Commit

Permalink
CAPZ: Change Helm values structure (#262)
Browse files Browse the repository at this point in the history
* CAPZ: Change Helm values structure where root-level properties are moved to `.Values.global`.

* update cluster values for capz

---------

Signed-off-by: Mario Nitchev <[email protected]>
Co-authored-by: Mario Nitchev <[email protected]>
  • Loading branch information
njuettner and mnitchev authored Apr 25, 2024
1 parent d98f52a commit 829ff39
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 32 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- CAPZ: Change Helm values structure where root-level properties are moved to `.Values.global`.

## [1.37.0] - 2024-04-19

### Added
Expand Down
33 changes: 17 additions & 16 deletions providers/capz/standard/test_data/cluster_values.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
metadata:
name: "{{ .ClusterName }}"
description: "E2E Test cluster"
organization: "{{ .Organization }}"
providerSpecific:
location: "westeurope"
subscriptionId: 6b1f6e4a-6d0e-4aa4-9a5a-fbaca65a23b3
nodePools:
# We are using a name with 10 chars which is the max number of characters allowed by our kyverno policies.
- name: nodepool-0
instanceType: Standard_D4s_v5
replicas: 2
rootVolumeSizeGB: 50
connectivity:
bastion:
enabled: true
global:
metadata:
name: "{{ .ClusterName }}"
description: "E2E Test cluster"
organization: "{{ .Organization }}"
providerSpecific:
location: "westeurope"
subscriptionId: 6b1f6e4a-6d0e-4aa4-9a5a-fbaca65a23b3
nodePools:
# We are using a name with 10 chars which is the max number of characters allowed by our kyverno policies.
nodepool-0:
instanceType: Standard_D4s_v5
replicas: 2
rootVolumeSizeGB: 50
connectivity:
bastion:
enabled: true
33 changes: 17 additions & 16 deletions providers/capz/upgrade/test_data/cluster_values.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
metadata:
name: "{{ .ClusterName }}"
description: "E2E Test cluster"
organization: "{{ .Organization }}"
providerSpecific:
location: "westeurope"
subscriptionId: 6b1f6e4a-6d0e-4aa4-9a5a-fbaca65a23b3
nodePools:
# We are using a name with 10 chars which is the max number of characters allowed by our kyverno policies.
- name: nodepool-0
instanceType: Standard_D4s_v5
replicas: 2
rootVolumeSizeGB: 50
connectivity:
bastion:
enabled: true
global:
metadata:
name: "{{ .ClusterName }}"
description: "E2E Test cluster"
organization: "{{ .Organization }}"
providerSpecific:
location: "westeurope"
subscriptionId: 6b1f6e4a-6d0e-4aa4-9a5a-fbaca65a23b3
nodePools:
# We are using a name with 10 chars which is the max number of characters allowed by our kyverno policies.
nodepool-0:
instanceType: Standard_D4s_v5
replicas: 2
rootVolumeSizeGB: 50
connectivity:
bastion:
enabled: true

0 comments on commit 829ff39

Please sign in to comment.