Skip to content

Commit

Permalink
Merge pull request #432 from anchore/add-ui-message
Browse files Browse the repository at this point in the history
Allow configuring ui custom_message via chart
  • Loading branch information
HN23 authored Jan 17, 2025
2 parents 55dc5d0 + 77a0b1e commit 0e4d729
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
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.1"
version: "3.3.2"
appVersion: "5.13.1"
kubeVersion: 1.23.x - 1.31.x || 1.23.x-x - 1.31.x-x
description: |
Expand Down
5 changes: 5 additions & 0 deletions stable/enterprise/templates/ui_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ data:
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.anchoreConfig.ui.custom_message }}
custom_message:
title: {{ .title }}
message: {{ .message }}
{{- end }}
{{- with .Values.anchoreConfig.ui.enable_add_repositories }}
enable_add_repositories:
admin: {{ .admin }}
Expand Down
8 changes: 8 additions & 0 deletions stable/enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,13 @@ anchoreConfig:
# admin: True
# standard: True

## @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
##
custom_message: {}
# title: "Title goes here..."
# message: "Message goes here..."

## @param anchoreConfig.ui.log_level Descriptive detail of the application log output
## valid values are error, warn, info, http, debug
##
Expand Down Expand Up @@ -1753,6 +1760,7 @@ postgresql:

## @param postgresql.primary.persistence.size Configure size of the persistent volume for PostgreSQL Primary data volume
## @param postgresql.primary.persistence.storageClass PVC Storage Class for PostgreSQL Primary data volume
## NOTE: If your storage class does not allow dynamic resizing then be sure to set the size appropriately!!
##
persistence:
size: 20Gi
Expand Down

0 comments on commit 0e4d729

Please sign in to comment.