diff --git a/charts/sophora-ai/Chart.yaml b/charts/sophora-ai/Chart.yaml index c2468560..6720d159 100644 --- a/charts/sophora-ai/Chart.yaml +++ b/charts/sophora-ai/Chart.yaml @@ -2,12 +2,12 @@ apiVersion: v2 name: sophora-ai description: Sophora AI type: application -version: 2.7.3 +version: 2.8.0 annotations: artifacthub.io/changes: | - - kind: fixed - description: "fix linting issue on enabled GCPHealthChecks and GCPBackendPolicies" -appVersion: 1.7.0 + - kind: added + description: "added configuration for the upcoming Target Audience feature" +appVersion: 1.8.1 sources: - https://github.com/subshell/helm-charts/tree/main/charts/sophora-ai home: https://subshell.com/sophora/modules/sophora-ai100.html diff --git a/charts/sophora-ai/templates/configmap.yaml b/charts/sophora-ai/templates/configmap.yaml index 5aae65fa..5efcf7bf 100644 --- a/charts/sophora-ai/templates/configmap.yaml +++ b/charts/sophora-ai/templates/configmap.yaml @@ -41,6 +41,9 @@ data: application-spell-check.yaml: |- {{ toYaml .Values.sophora.configuration.spellCheck | nindent 4 }} {{- end }} application-summarize.yaml: |- {{ toYaml (required "sophora.configuration.summarize is required in values" .Values.sophora.configuration.summarize) | nindent 4 }} + {{- if .Values.sophora.configuration.targetAudience }} + application-target-audience.yaml: |- {{ toYaml .Values.sophora.configuration.targetAudience | nindent 4 }} + {{- end }} application-teaser.yaml: |- {{ toYaml (required "sophora.configuration.teaser is required in values" .Values.sophora.configuration.teaser) | nindent 4 }} application-title.yaml: |- {{ toYaml (required "sophora.configuration.title is required in values" .Values.sophora.configuration.title) | nindent 4 }} application-translate.yaml: |- {{ toYaml (required "sophora.configuration.translate is required in values" .Values.sophora.configuration.translate) | nindent 4 }} diff --git a/charts/sophora-ai/test-values.yaml b/charts/sophora-ai/test-values.yaml index 18c866c1..4ec6bfe4 100644 --- a/charts/sophora-ai/test-values.yaml +++ b/charts/sophora-ai/test-values.yaml @@ -114,6 +114,8 @@ sophora: testing: spellCheck summarize: testing: summarize + targetAudience: + testing: targetAudience teaser: testing: teaser title: diff --git a/charts/sophora-ai/values.yaml b/charts/sophora-ai/values.yaml index 73d0e302..c3de86c2 100644 --- a/charts/sophora-ai/values.yaml +++ b/charts/sophora-ai/values.yaml @@ -163,6 +163,9 @@ sophora: # contents of application-summarize.yaml summarize: + # contents of application-target-audience.yaml + targetAudience: + # contents of application-teaser.yaml teaser: