You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Deployment on-prem cluster failed due to the wrong hostname format.
kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]\\nnodeRegistration.name:
Invalid value: \\\"apm_master\\\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\\n
atsikham
changed the title
[BUG] Add validation to check hostnames when on-prem deployment
[BUG] Add validation to check hostnames for on-prem deployment
Oct 14, 2021
✔️ Hostname validation for any provider has been added.
A DNS-1123 subdomain must consist of lower case alphanumeric characters, - or ., and must start and end with an alphanumeric character.
Describe the bug
Deployment on-prem cluster failed due to the wrong hostname format.
Check validations for provider: any
currently, we have (https://github.com/epiphany-platform/epiphany/blob/develop/schema/any/validation/infrastructure/machine.yml):
Proposal is to use the above regex as a pattern
Expected behavior
Validation should find wrong hostnames just before cluster setup
Environment
epicli version: [
epicli --version
]Found in v0.8.3 version but as I see in develop is still the same
K8s 1.18.6
DoD checklist
The text was updated successfully, but these errors were encountered: