Skip to content

Commit

Permalink
Adds parameters for server_group_id (#17)
Browse files Browse the repository at this point in the history
One parameter for the worker nodes and one for the controller nodes.
With this parameter. All values that have been used in
k8s-cluster-api-provider can now be set via helm.

Signed-off-by: Malte Münch <[email protected]>
  • Loading branch information
mxmxchere authored Feb 1, 2024
1 parent 1f7e695 commit cbb9387
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ spec:
- name: {{ .Values.prefix }}-allow-icmp
- name: {{ .Values.prefix }}-{{ .Values.testcluster_name }}-cilium
{{- end}}
# serverGroupID left blank for now
sshKeyName: {{ .Values.prefix }}-keypair
{{- if .Values.server_group_id_controller }}
serverGroupID: {{ .Values.server_group_id_controller }}
{{- end}}
sshKeyName: {{ .Values.prefix }}-keypair
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
- name: {{ .Values.prefix }}-allow-icmp
- name: {{ .Values.prefix }}-{{ .Values.testcluster_name }}-cilium
{{- end}}
# serverGroupID left blank for now
{{- if .Values.server_group_id_worker }}
serverGroupID: {{ .Values.server_group_id_worker }}
{{- end}}
sshKeyName: {{ .Values.prefix }}-keypair

2 changes: 2 additions & 0 deletions providers/openstack/scs/1-27/cluster-class/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ tweak_kubeapi_memlimit: true
worker_machine_gen: genw01
control_plane_machine_gen: genc01
openstack_security_groups: []
server_group_id_controller: ""
server_group_id_worker: ""

# TBD, currently needed:
images:
Expand Down

0 comments on commit cbb9387

Please sign in to comment.