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 authpolicy and rewritepolicy can't be named with "-" symbol.
If you use the "-" character for the metadata.name field, then there will be an error in the CIC logs.
Kubernetes require use "-" and "." symbols for fields metadata.name: metadata.name: a lowercase RFC 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])?)*')
Look the logs of cic: kubectl -n citrix logs cic-citrix-ingress-controller-7b5c44f65f-28xdg cic| grep ERROR
2. Version of the Citrix Ingress Controller: 1.26.7
3. Version of VPX NS13.0: Build 85.19.nc
Expected behavior
I want to create policy name by RFC 1123 with "-" and "." symbols.
Logs
2022-07-25 11:26:45,970 - ERROR - [rewritepolicy.py:validate_add:158] (MainThread) CRD name zzz-main can't contain "-"
2022-07-25 11:26:45,979 - ERROR - [customresourcecontroller.py:sync_existing_crd_instances_per_kind:358] (MainThread) FAILURE: VALIDATION because "CRD name smppsim-main can't contain "-"" during sync of existing crd zzz-main.dev-xxx of kind rewritepolicy
2022-07-25 11:27:05,587 - ERROR - [authpolicy.py:validate_add:136] (MainThread) CRD name consul-authpolicy can't contain "-"
2022-07-25 11:27:05,598 - ERROR - [customresourcecontroller.py:event_handler:214] (MainThread) FAILURE: VALIDATION because "CRD name consul-authpolicy can't contain "-"" while handling event for crd consul-authpolicy.dev-xxx of kind authpolicy
The text was updated successfully, but these errors were encountered:
Describe the bug
authpolicy and rewritepolicy can't be named with "-" symbol.
If you use the "-" character for the metadata.name field, then there will be an error in the CIC logs.
Kubernetes require use "-" and "." symbols for fields metadata.name:
metadata.name: a lowercase RFC 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])?)*')
To Reproduce
Look the logs of cic:
kubectl -n citrix logs cic-citrix-ingress-controller-7b5c44f65f-28xdg cic| grep ERROR
2. Version of the Citrix Ingress Controller: 1.26.7
3. Version of VPX NS13.0: Build 85.19.nc
Expected behavior
I want to create policy name by RFC 1123 with "-" and "." symbols.
Logs
The text was updated successfully, but these errors were encountered: