Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support Flatcar OS #225

Merged
merged 23 commits into from
Oct 2, 2023
Merged

feat: Support Flatcar OS #225

merged 23 commits into from
Oct 2, 2023

Conversation

stefan-chivu
Copy link
Contributor

@stefan-chivu stefan-chivu commented Sep 28, 2023

Based on: #44

Adapted the aforementioned PR to contain the right ignition config and also modified the secret type used for the CA cert secret.

CAPI expects a CA secret of type "cluster.x-k8s.io/secret" instead of "kubernetes.io/tls". Also, the "cluster.x-k8s.io/cluster-name" label has been added for the secret resource, containing the cluster's stack id.

okozachenko1203 and others added 6 commits September 28, 2023 07:19
Add preKubeadmCommands for node name replacement
Add flatcarDriver in poetry plugin list
Enable required feature gate
Fix ignition ignoring error. Fix lint.
Add comment about PATH overwrite in flatcar.
Remove default os in image build cmd
changed ignition config to match the one used by CAPO
@stefan-chivu stefan-chivu mentioned this pull request Sep 28, 2023
1 task
CAPI expects a CA secret of type "cluster.x-k8s.io/secret" instead
of "kubernetes.io/tls". Also, the "cluster.x-k8s.io/cluster-name"
label has been added, containing the cluster's stack id.
@mnaser
Copy link
Member

mnaser commented Sep 29, 2023

sadly it died on me right while i was debugging, but i was able to get into vnc using ngrok and found that it was complaining about an invalid/incorrect pound sign in the ignition config so it just died (#).

i'm restarting but this time i'll try to pull out the config it generated.

@mnaser
Copy link
Member

mnaser commented Sep 29, 2023

image

@mnaser
Copy link
Member

mnaser commented Sep 29, 2023

ok, for some reason, it's getting plain ignition.. hold on...

@stefan-chivu
Copy link
Contributor Author

ok, for some reason, it's getting plain ignition.. hold on...

Out of curiosity, what does it get?

@mnaser
Copy link
Member

mnaser commented Sep 29, 2023

@mnaser
Copy link
Member

mnaser commented Sep 29, 2023

success! it's just running sonobuoy now, if it's all good (which i believe it will be), i'll push up a later patch which will add the matrix back and will be able to merge this today.

@mnaser mnaser merged commit ef4401f into vexxhost:main Oct 2, 2023
30 checks passed
This was referenced Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants