diff --git a/deploy/chart/authelia/templates/deployment.yaml b/deploy/chart/authelia/templates/deployment.yaml index 72a19e4291e405d4757adf9bfd5b93ef511a3401..65e72185fbdf28700d6f7e21adf331181c5d8900 100644 --- a/deploy/chart/authelia/templates/deployment.yaml +++ b/deploy/chart/authelia/templates/deployment.yaml @@ -23,8 +23,8 @@ spec: fsGroup: 1000 containers: - name: authelia - image: "{{ .Values.authelia.image.repository | default "authelia/authelia" }}:{{ .Values.authelia.image.tag | default "4.39.13" }}" - imagePullPolicy: {{ .Values.authelia.image.pullPolicy | default (.Values.globals.imagePullPolicy | default "IfNotPresent") }} + image: {{ .Values.authelia.image | default (printf "%s/neocopilot/authelia:4.39.13-%s" (.Values.globals.imageRegistry | default "hub.oepkgs.net") (.Values.globals.arch | default "x86")) }} + imagePullPolicy: {{ default "IfNotPresent" .Values.globals.imagePullPolicy }} ports: - name: http containerPort: 9091 diff --git a/deploy/chart/authelia/values.yaml b/deploy/chart/authelia/values.yaml index 49b035fcae9380b7c275efd01e5f146c436d8378..43526c3ac8fe1898add3c2b06e900dc941427c54 100644 --- a/deploy/chart/authelia/values.yaml +++ b/deploy/chart/authelia/values.yaml @@ -5,6 +5,8 @@ globals: arch: # 镜像拉取策略,默认为IfNotPresent imagePullPolicy: + # 副本数,默认为1 + replicaCount: # 存储类;默认为local-path storageClass: @@ -21,23 +23,12 @@ domain: # Authelia 身份认证服务配置 authelia: # [必填] 是否启用 Authelia - enabled: true - + enabled: true # 镜像配置 + # 镜像仓库;默认为hub.oepkgs.net/neocopilot/authelia image: - # 镜像仓库;默认为authelia/authelia - repository: authelia/authelia - # 镜像标签;默认为4.39.13 - tag: "4.39.13" - # 镜像拉取策略;默认继承globals.imagePullPolicy - pullPolicy: - - # 副本数量;默认为1 - replicaCount: - # 性能限制设置 resourceLimits: {} - # Service设置 service: # Service类型,例如NodePort;默认为NodePort @@ -244,4 +235,4 @@ users: email: openEuler@example.com groups: - admins - - dev \ No newline at end of file + - dev diff --git a/deploy/chart/euler_copilot/configs/framework/config-authelia.toml b/deploy/chart/euler_copilot/configs/framework/config-authelia.toml index 9eb75197604ab26747d26576ce1029f09cf00f1d..42dd9ba06357a49b6186310aa2884bb1325c4019 100644 --- a/deploy/chart/euler_copilot/configs/framework/config-authelia.toml +++ b/deploy/chart/euler_copilot/configs/framework/config-authelia.toml @@ -92,6 +92,14 @@ socket_connect_timeout = 5.0 max_connections = 10 health_check_interval = 30 +[vectordb] +type = 'opengauss' +host = 'opengauss-db.{{ .Release.Namespace }}.svc.cluster.local' +port = 5432 +user = 'postgres' +password = '${gauss-password}' +db = 'postgres' + [minio] endpoint = 'minio-service.{{ .Release.Namespace }}.svc.cluster.local:9000' access_key = 'minioadmin' @@ -101,7 +109,7 @@ secure = false [llm] provider = '{{ .Values.models.answer.provider }}' endpoint = '{{ .Values.models.answer.endpoint }}' -key = '{{ .Values.models.answer.key }}' +api_key = '{{ .Values.models.answer.key }}' model = '{{ .Values.models.answer.name }}' ctx_length = {{ default 8192 .Values.models.answer.ctxLength }} max_tokens = {{ default 2048 .Values.models.answer.maxTokens }} @@ -121,7 +129,7 @@ enable = false words_list = "" [sandbox] -sandbox_service = 'http://euler-copilot-sandbox-service.{{ .Release.Namespace }}.svc.cluster.local:8000' +sandbox_service = 'http://sandbox-service.{{ .Release.Namespace }}.svc.cluster.local:8000' [extra] sql_url = ''