-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Override name used for init and join configurations on flatcar * Use a dictionary merge to selectively replace the name field with CORES_OPENSTACK_HOSTNAME when flatcarOS is true * disable some subcharts by default * Change flatcar to more agnostic term "ignitionBased" * local Gitlab setup for publishing helm packages. * semantic version tag triggers packaging and push to local package repository (GitLab and OCI registry)
- Loading branch information
Travis Holton
committed
Oct 4, 2023
1 parent
6667a0f
commit 2ed65b7
Showing
3 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,38 @@ cloudName: openstack | |
# This should match the version of kubelet and kubeadm in the image | ||
kubernetesVersion: | ||
|
||
# WARN(travis) Ignition based images | ||
ignitionBasedOS: false | ||
ignitionInitConfiguration: | ||
nodeRegistration: | ||
name: ${COREOS_OPENSTACK_HOSTNAME} | ||
ignitionKubeadmConfigSpec: | ||
joinConfiguration: | ||
nodeRegistration: | ||
name: ${COREOS_OPENSTACK_HOSTNAME} | ||
ignitionPreKubeadmCommands: | ||
- export COREOS_OPENSTACK_HOSTNAME=${COREOS_OPENSTACK_HOSTNAME%.*} | ||
- envsubst < /etc/kubeadm.yml > /etc/kubeadm.yml.tmp | ||
- mv /etc/kubeadm.yml.tmp /etc/kubeadm.yml | ||
ignitionContainerLinuxConfig: | ||
format: ignition | ||
ignition: | ||
containerLinuxConfig: | ||
additionalConfig: | | ||
systemd: | ||
units: | ||
- name: [email protected] | ||
enabled: true | ||
- name: kubeadm.service | ||
enabled: true | ||
dropins: | ||
- name: 10-flatcar.conf | ||
contents: | | ||
[Unit] | ||
Requires=containerd.service coreos-metadata.service | ||
After=containerd.service coreos-metadata.service | ||
[Service] | ||
EnvironmentFile=/run/metadata/flatcar | ||
# The name of the image to use for cluster machines | ||
machineImage: | ||
# OR | ||
|