install-config-embed.yaml.j2 818 B

1234567891011121314151617181920212223242526272829303132
  1. apiVersion: v1
  2. metadata:
  3. name: iso
  4. baseDomain: ocp4.example.com
  5. bootstrapInPlace:
  6. installationDisk: /dev/sda
  7. compute:
  8. - hyperthreading: Enabled
  9. name: worker
  10. replicas: 0
  11. controlPlane:
  12. hyperthreading: Enabled
  13. name: master
  14. replicas: 1
  15. networking:
  16. clusterNetwork:
  17. - cidr: 10.128.0.0/14
  18. hostPrefix: 23
  19. networkType: OVNKubernetes
  20. serviceNetwork:
  21. - 172.30.0.0/16
  22. platform:
  23. none: {}
  24. fips: false
  25. pullSecret: '{{ pull_secret | ansible.builtin.to_json }}'
  26. sshKey: '{{ public_key }}'
  27. additionalTrustBundle: |
  28. {{ lab_ca_cert | ansible.builtin.regex_replace('^', ' ', multiline=True) }}
  29. imageDigestSources:
  30. {# There are two ImageDigestMirrorSet resources in idms-oc-mirror.yaml - use a loop. #}
  31. {% for cs in content_sources %}
  32. {{ cs.spec.imageDigestMirrors | list | to_yaml }}{% endfor %}