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
A clear and concise description of what the bug is.
Version of Helm and Kubernetes:
Which chart:
pgadmin4
What happened:
we use numeric namespace name
getting this error.
json: cannot unmarshal number into Go struct field ObjectMeta.metadata.namespace of type string.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Thank you.
I tested it locally, just need to add "| quote" in the pgadmin.namespaceName helper function
{{/*
Create the name of the namespace
*/}}
{{- define "pgadmin.namespaceName" -}}
{{- default .Release.Namespace .Values.namespace | quote }}
{{- end }}
The text was updated successfully, but these errors were encountered:
miteshpatelfxt
changed the title
pgadmin4 issue title
pgadmin4 - namespace name need to quote to support numeric named namespace
Feb 1, 2024
miteshpatelfxt
changed the title
pgadmin4 - namespace name need to quote to support numeric named namespace
[pgadmin4] namespace name need to quote to support numeric named namespace
Feb 1, 2024
Describe the bug
A clear and concise description of what the bug is.
Version of Helm and Kubernetes:
Which chart:
pgadmin4
What happened:
we use numeric namespace name
getting this error.
json: cannot unmarshal number into Go struct field ObjectMeta.metadata.namespace of type string.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Thank you.
I tested it locally, just need to add "| quote" in the pgadmin.namespaceName helper function
{{/*
Create the name of the namespace
*/}}
{{- define "pgadmin.namespaceName" -}}
{{- default .Release.Namespace .Values.namespace | quote }}
{{- end }}
The text was updated successfully, but these errors were encountered: