Skip to content

Commit

Permalink
Merge pull request k0rdent#48 from Mirantis/template-fixes
Browse files Browse the repository at this point in the history
Remove unnecessary params from aws standalone template
  • Loading branch information
Kshatrix authored Jun 24, 2024
2 parents 90f0497 + 0ccf864 commit 66f26aa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
14 changes: 0 additions & 14 deletions templates/aws-standalone-cp/templates/awscluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@ spec:
# identityRef:
# kind: AWSClusterStaticIdentity
# name: aws-identity-name
network:
vpc:
id: {{ .Values.vpcID }}
{{- with .Values.subnets }}
subnets:
{{- toYaml . | nindent 6 }}
{{- end }}
controlPlaneLoadBalancer:
healthCheckProtocol: TCP
loadBalancerType: nlb
additionalListeners:
- port: 8132
protocol: TCP
{{- range $id := .Values.controlPlaneLoadBalancer.additionalSecurityGroups }}
additionalSecurityGroups:
- {{ $id }}
{{- end }}
1 change: 1 addition & 0 deletions templates/aws-standalone-cp/templates/k0scontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
- --enable-worker
- --enable-cloud-provider
- --kubelet-extra-args="--cloud-provider=external --hostname-override=$(hostname --fqdn)"
- --disable-components=konnectivity-server
k0s:
apiVersion: k0s.k0sproject.io/v1beta1
kind: ClusterConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
version: {{ .Values.k0s.version }}
args:
- --enable-cloud-provider
- --kubelet-extra-args="--cloud-provider=external --hostname-override=$(hostname --fqdn)"
- --kubelet-extra-args="--cloud-provider=external --hostname-override=$(hostname --fqdn)"
7 changes: 0 additions & 7 deletions templates/aws-standalone-cp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,9 @@ clusterNetwork:
- "10.96.0.0/12"

# AWS cluster parameters
vpcID: ""
region: ""
sshKeyName: ""
publicIP: false
subnets:
- id: ""
availabilityZone: ""

controlPlaneLoadBalancer:
additionalSecurityGroups: []

# AWS machines parameters
controlPlane:
Expand Down

0 comments on commit 66f26aa

Please sign in to comment.