Created
August 18, 2021 19:22
-
-
Save johnsimcall/7c0409f39f3ceaf0378be6d3761407d9 to your computer and use it in GitHub Desktop.
MachineConfig template that applies Red Hat subscription information
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
apiVersion: machineconfiguration.openshift.io/v1 | |
kind: MachineConfig | |
metadata: | |
labels: | |
machineconfiguration.openshift.io/role: worker | |
name: 50-worker-rhsm-entitlement | |
spec: | |
config: | |
ignition: | |
version: 3.2.0 | |
storage: | |
files: | |
- path: /etc/rhsm/rhsm.conf | |
mode: 0644 | |
contents: | |
source: data:text/plain;charset=utf-8;base64,ENCODED_rhsm.conf | |
- path: /etc/pki/entitlement/entitlement.pem | |
mode: 0644 | |
contents: | |
source: data:text/plain;charset=utf-8;base64,ENCODED_entitlement.pem | |
- path: /etc/pki/entitlement/entitlement-key.pem | |
mode: 0644 | |
contents: | |
source: data:text/plain;charset=utf-8;base64,ENCODED_entitlement-key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link: https://gist.github.com/kincl/7d720041d58f79a9725615c074a37d8c