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

machines: add the authorized keys for a pool using a machine config #1150

Merged
merged 5 commits into from
Mar 27, 2019

Commits on Mar 27, 2019

  1. vendor: machine-config-operator for MachineConfig type

    Vendor openshift/machine-config-operator to have access to the MachineConfig type.
    The MachineConfig type is used to send supplement the ignition config for machine
    pools that have hyperthreading enabled.
    
    This also adds some more packages from coreos/ignition.
    staebler authored and abhinavdahiya committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3e15d4f View commit details
    Browse the repository at this point in the history
  2. asset/machines: add manifests for MachineConfig

    Provide the means by which a machines asset can add MachineConfig manifests.
    This is needed so that the ignition configs can be supplemented for machine pools for example have hyperthreading disabled, include
    authorized_keys for user.
    abhinavdahiya committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8683b8e View commit details
    Browse the repository at this point in the history
  3. asset/machines/master: allow adding MachineConfigs for control-plane …

    …machinepool
    
    This sets up the master machine asset to allow adding MachineConfigs. A list of machine configs can be added to master machines
    that will be created alongside the user-data and machine objects.
    abhinavdahiya committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    f2eacf3 View commit details
    Browse the repository at this point in the history
  4. asset/machines/worker: allow adding MachineConfigs for compute machin…

    …epools
    
    This sets up the worker machine asset to allow adding MachineConfigs. A list of machine configs can be added to compute machinepools
    that will be created alongside the user-data and machineset objects.
    abhinavdahiya committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e4d5ec9 View commit details
    Browse the repository at this point in the history
  5. machines: add the authorized keys for a pool using a machine config

    `cluster-config-v1` is being deprecated in favor of global configs [1] and Machine Config Operator needs to
    drop using the `SSHKey` in install-config [2] to setup the `SSHAuthorizedKeys` for `core` user.
    
    This pushes a machineconfig with the `SSHAuthorizedKeys` sourced from [2] for each machinepool, so that Machine Config Operator can drop
    generating the machineconfig using the `cluster-config-v1` config map in the cluster.
    
    [1]: openshift#680
    [2]: https://godoc.org/github.com/openshift/installer/pkg/types#InstallConfig
    abhinavdahiya committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    5623cbd View commit details
    Browse the repository at this point in the history