File tree 2 files changed +19
-5
lines changed
2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change
1
+ dns :
2
+ # baseDomain is the base domain of the cluster. All managed DNS records will
3
+ # be sub-domains of this base.
4
+
5
+
6
+ # For example, given the base domain `example.com`, router exposed
7
+ # domains will be formed as `*.apps.example.com` by default,
8
+ # and API service will have a DNS entry for `api.example.com`,
9
+ # as well as "api-int.example.com" for internal k8s API access.
10
+
11
+
12
+ # Once set, this field cannot be changed.
13
+ # example:
14
+ # microshift.example.com
15
+ baseDomain : example.com
Original file line number Diff line number Diff line change 72
72
# also in case of microshift the ports like 2222, 443, 80 ..etc need to be manually added
73
73
# and OCP/OKD/podman bundles have it disabled by default.
74
74
${SSH} core@${VM_IP} -- sudo systemctl disable firewalld
75
- ${SSH} core@${VM_IP} -- cat /etc/microshift/config.yaml.default > config.yaml
76
- ${YQ} eval --inplace " .dns.baseDomain = \" ${SNC_PRODUCT_NAME} .${BASE_DOMAIN} \" " config.yaml
77
- ${SCP} config.yaml core@${VM_IP} :/home/core
78
- ${SSH} core@${VM_IP} -- ' sudo mv /home/core/config.yaml /etc/microshift/config.yaml'
75
+ ${YQ} eval --inplace " .dns.baseDomain = \" ${SNC_PRODUCT_NAME} .${BASE_DOMAIN} \" " 00-microshift-dns.yaml
76
+ ${SCP} 00-microshift-dns.yaml core@${VM_IP} :/home/core
77
+ ${SSH} core@${VM_IP} -- ' sudo mv /home/core/00-microshift-dns.yaml /etc/microshift/config.d/00-microshift-dns.yaml'
79
78
# Make sure `baseDomain` is set to crc.testing
80
- ${SSH} core@${VM_IP} -- " grep '^\s\+baseDomain: ${SNC_PRODUCT_NAME} .${BASE_DOMAIN} ' /etc/microshift/config.yaml"
79
+ ${SSH} core@${VM_IP} -- " grep '^\s\+baseDomain: ${SNC_PRODUCT_NAME} .${BASE_DOMAIN} ' /etc/microshift/config.d/00-microshift-dns. yaml"
81
80
# Remove the lvm system.device file since it have diskID and deviceName which changes
82
81
# for different hypervisor and as per `man lvmdevices` if the file does not exist, or if lvm.conf
83
82
# includes use_devicesfile=0, then lvm will not use a devices file.
You can’t perform that action at this time.
0 commit comments