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

override CRI-O script to update for 3 master configuration #2

Open
ronanb3 opened this issue Nov 10, 2020 · 1 comment
Open

override CRI-O script to update for 3 master configuration #2

ronanb3 opened this issue Nov 10, 2020 · 1 comment

Comments

@ronanb3
Copy link

ronanb3 commented Nov 10, 2020

Here is the configuration in this case : changer worker into master in labels

cat << EOF > /tmp/51-worker-cp4d-crio-conf.yaml
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
 labels:
   machineconfiguration.openshift.io/role: master
 name: 51-worker-cp4d-crio-conf
spec:
 config:
   ignition:
     version: 2.2.0
   storage:
     files:
     - contents:
         source: data:,${crio_conf}
       filesystem: root
       mode: 0644
       path: /etc/crio/crio.conf
EOF

@ronanb3
Copy link
Author

ronanb3 commented Nov 10, 2020

The other override is working fine with

- match:
    - label: node-role.kubernetes.io/worker

Can you use the same kind of selector?

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

No branches or pull requests

1 participant