openshift / api

Canonical location of the OpenShift API definition.
http://www.openshift.org
Apache License 2.0
94 stars 516 forks source link

ConsoleSample specifies slightly 'wrong' hostname pattern #2026

Open sebhoss opened 2 months ago

sebhoss commented 2 months ago

https://github.com/openshift/api/blob/master/console/v1/types_console_sample.go#L189 or https://github.com/openshift/api/blob/master/console/v1/zz_generated.crd-manifests/00_consolesamples.crd.yaml#L160 uses an unescaped dot, so it might match more hosts than expected. This triggers a code scanning alert from Github in my project at https://github.com/metio/terraform-provider-k8s