Closed aaronyeeski closed 4 years ago
I think it should be consistent but it appears to already be consistent for me.
Tested with Rancher server rancher\rancher:master-head
version 298a206
and rancher\rancher:v2.5-head
version 7d5afc0
Create as YAML and Edit as YAML are consistent with template used: Create as YAML Edit as YAML
What kind of request is this (question/bug/enhancement/feature request): question
Steps to reproduce (least amount of steps as possible): From dashboard -> Install OPA Gatekeeper Create constraint from form Preview as YAML Cancel creation From constraint view, create as YAML
Result: Create constraint from form -> Preview as YAML:
Create constraint from YAML These two YAML configurations are different. Different constraint templates are used by default. Create from form uses k8sAllowedRepos as default. Create from YAML uses k8sRequiredLabels as default.
Should we change these so they use the same configuration?
Environment information
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI):rancher\rancher:master-head
version db8a864