Skip to content

Commit

Permalink
add helm chart for azure managed clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
nellyk committed Apr 18, 2024
2 parents a75e4ad + 841143f commit 345249a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/azure-managed-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/).
version: 0.2.2
version: 0.2.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ spec:
clientID: {{ $.Values.identity.clientID }}
tenantID: {{ $.Values.identity.tenantID }}
type: {{ $.Values.identity.type }}
resourceID: {{ $.Values.identity.resourceID }}

resourceID: {{ $.Values.identity.resourceID }}
4 changes: 1 addition & 3 deletions charts/azure-managed-cluster/templates/agentpool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,5 @@ spec:
kind: AzureManagedMachinePool
name: {{ $agentpoolsname }}
namespace: {{ $.Release.Namespace }}
version: {{ $.Values.controlplane.kubernetes_version }}
---
{{- end }}

{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,4 @@ spec:
managerResourceGroup: {{ $.Values.cluster.resourceGroupName }}-fleets
{{- end }}
sku:
tier: {{ $.Values.controlplane.sku.tier }}

tier: {{ $.Values.controlplane.sku.tier }}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
spec:
controlPlaneEndpoint:
host: sigs.k8s.io/cluster-api/api/v1beta1.APIEndpoint
port: 443
port: 443
3 changes: 1 addition & 2 deletions charts/azure-managed-cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ spec:
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: AzureManagedCluster
name: {{ .Values.cluster.name }}

name: {{ .Values.cluster.name }}
2 changes: 1 addition & 1 deletion charts/azure-managed-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ agentpools:
osDiskSizeGB: 100
additionalTags:
- key: department
value: finance
value: test
# To enable availability zones, uncomment the following lines and set the availability zones
# availabilityZones:
# - "1"
Expand Down

0 comments on commit 345249a

Please sign in to comment.