Skip to content

Commit

Permalink
Fix custom_message with non-alphanumeric characters
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Nyahay <[email protected]>
  • Loading branch information
gnyahay committed Jan 21, 2025
1 parent fdf265c commit f186fc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/enterprise/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: enterprise
version: "3.3.3"
version: "3.3.4"
appVersion: "5.13.1"
kubeVersion: 1.23.x - 1.31.x || 1.23.x-x - 1.31.x-x
description: |
Expand Down
4 changes: 2 additions & 2 deletions stable/enterprise/templates/ui_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ data:
{{- end }}
{{- with .Values.anchoreConfig.ui.custom_message }}
custom_message:
title: {{ .title }}
message: {{ .message }}
title: '{{ .title }}'
message: '{{ .message }}'
{{- end }}
{{- with .Values.anchoreConfig.ui.enable_add_repositories }}
enable_add_repositories:
Expand Down
1 change: 1 addition & 0 deletions stable/enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ anchoreConfig:

## @param anchoreConfig.ui.custom_message.title A title key, whose string value provides a title for the message
## @param anchoreConfig.ui.custom_message.message A message key, whose string value is the message itself
## NOTE: You may need to HTML encode the title and/or message if there are any non-alphanumeric characters present.
##
custom_message: {}
# title: "Title goes here..."
Expand Down

0 comments on commit f186fc2

Please sign in to comment.