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

Support to patch/provide another kind config #344

Open
cmoulliard opened this issue Aug 23, 2023 · 2 comments
Open

Support to patch/provide another kind config #344

cmoulliard opened this issue Aug 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request module::kind

Comments

@cmoulliard
Copy link
Member

Request

In some cases, it is needed to patch the kubeadmConfigPatches or let's say to change the default kind config which is used when we install kind using the bash script of this project. That would be create to support such an option

Example of customized kind config which should be applied to of our own config (if we can)

kind create cluster --config - <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
kubeadmConfigPatches:
- |-
  kind: ClusterConfiguration
  apiServer:
    extraArgs:
      oidc-client-id: kube
      oidc-issuer-url: https://keycloak.127.0.0.1.nip.io/realms/master
      oidc-username-claim: email
      oidc-groups-claim: groups
EOF
@jacobdotcosta
Copy link
Member

I'm not sure how to pass each of the custom properties to be collected from the script, have you thought of a way? Provided by a json or a yaml file?

@cmoulliard
Copy link
Member Author

To be checked of course but I think that such extraArgs (= this is a Yaml array field) could be defined like this: https://stackoverflow.com/questions/23657086/yaml-multi-line-arrays @jacobdotcosta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module::kind
Projects
None yet
Development

No branches or pull requests

2 participants