
--boundary_.oOo._GTHfeejRtJbp9SsFTSHJR1qwQXLFH14p
Content-Length: 2284
Content-Type: application/octet-stream
X-File-MD5: 8369591d8079acdff1a333472c0818f0
X-File-Mtime: 1675842324
X-File-Path: /MasterLoad/Work/UAV Cloud/22.希腊项目-阿里云-德国/12-连云港公安-5.1.0/2-helm-chart/charts/frontend-app/values.yaml

application:
  manifest:
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-ai-brain,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-mws, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-oms, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-open, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-splice, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-visualization,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-security,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-detection,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-share, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-cms-portal,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-logistics,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-emergency-rescue,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-base, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-suav-platform-supervision,
    tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-media, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-suav-platform-supervisionh5, tag: 4.1.0}
  - {config: null, enabled: true, modules: null, name: cmii-uav-platform-seniclive, tag: 4.1.0}
  type: frontend
autoscaling: {enabled: null}
enabled: null
env: {custJavaOpts: null, nacosRegistry: null}
global:
  affinity: null
  appServiceType: {backend: null, frontend: null}
  domain: null
  image: {pullPolicy: null, repository: null, tag: null}
  ingress: null
  middlewareService: null
  nodeAffinityPreset: {key: null, type: null, values: null}
  pvc: {storageClass: null}
podAnnotations: {}
podSecurityContext: {}
replicaCount: 1
securityContext: {}
serviceAccount: {annotations: null, create: null, name: null}

--boundary_.oOo._GTHfeejRtJbp9SsFTSHJR1qwQXLFH14p
Content-Length: 3575
Content-Type: application/octet-stream
X-File-MD5: 0d730e12f3ccd7ff4d61e9556dfbdc40
X-File-Mtime: 1675842276
X-File-Path: /MasterLoad/Work/UAV Cloud/22.希腊项目-阿里云-德国/12-连云港公安-5.1.0/2-helm-chart/charts/common/templates/_affinities.tpl

{{/* vim: set filetype=mustache: */}}

{{/*
Return a soft nodeAffinity definition 
{{ include "common.affinities.nodes.soft" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}}
*/}}
{{- define "common.affinities.nodes.soft" -}}
preferredDuringSchedulingIgnoredDuringExecution:
  - preference:
      matchExpressions:
        - key: {{ .key }}
          operator: In
          values:
            {{- range .values }}
            - {{ . | quote }}
            {{- end }}
    weight: 1
{{- end -}}

{{/*
Return a hard nodeAffinity definition
{{ include "common.affinities.nodes.hard" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}}
*/}}
{{- define "common.affinities.nodes.hard" -}}
requiredDuringSchedulingIgnoredDuringExecution:
  nodeSelectorTerms:
    - matchExpressions:
        - key: {{ .key }}
          operator: In
          values:
            {{- range .values }}
            - {{ . | quote }}
            {{- end }}
{{- end -}}

{{/*
Return a nodeAffinity definition
{{ include "common.affinities.nodes" (dict "type" "soft" "key" "FOO" "values" (list "BAR" "BAZ")) -}}
*/}}
{{- define "common.affinities.nodes" -}}
  {{- if eq .type "soft" }}
    {{- include "common.affinities.nodes.soft" . -}}
  {{- else if eq .type "hard" }}
    {{- include "common.affinities.nodes.hard" . -}}
  {{- end -}}
{{- end -}}

{{/*
Return a soft podAffinity/podAntiAffinity definition
{{ include "common.affinities.pods.soft" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "context" $) -}}
*/}}
{{- define "common.affinities.pods.soft" -}}
{{- $component := default "" .component -}}
{{- $extraMatchLabels := default (dict) .extraMatchLabels -}}
preferredDuringSchedulingIgnoredDuringExecution:
  - podAffinityTerm:
      labelSelector:
        matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 10 }}
          {{- if not (empty $component) }}
          {{ printf "app.kubernetes.io/component: %s" $component }}
          {{- end }}
          {{- range $key, $value := $extraMatchLabels }}
          {{ $key }}: {{ $value | quote }}
          {{- end }}
      namespaces:
        - {{ .context.Release.Namespace | quote }}
      topologyKey: kubernetes.io/hostname
    weight: 1
{{- end -}}

{{/*
Return a hard podAffinity/podAntiAffinity definition
{{ include "common.affinities.pods.hard" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "context" $) -}}
*/}}
{{- define "common.affinities.pods.hard" -}}
{{- $component := default "" .component -}}
{{- $extraMatchLabels := default (dict) .extraMatchLabels -}}
requiredDuringSchedulingIgnoredDuringExecution:
  - labelSelector:
      matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 8 }}
        {{- if not (empty $component) }}
        {{ printf "app.kubernetes.io/component: %s" $component }}
        {{- end }}
        {{- range $key, $value := $extraMatchLabels }}
        {{ $key }}: {{ $value | quote }}
        {{- end }}
    namespaces:
      - {{ .context.Release.Namespace | quote }}
    topologyKey: kubernetes.io/hostname
{{- end -}}

{{/*
Return a podAffinity/podAntiAffinity definition
{{ include "common.affinities.pods" (dict "type" "soft" "key" "FOO" "values" (list "BAR" "BAZ")) -}}
*/}}
{{- define "common.affinities.pods" -}}
  {{- if eq .type "soft" }}
    {{- include "common.affinities.pods.soft" . -}}
  {{- else if eq .type "hard" }}
    {{- include "common.affinities.pods.hard" . -}}
  {{- end -}}
{{- end -}}

--boundary_.oOo._GTHfeejRtJbp9SsFTSHJR1qwQXLFH14p
Content-Length: 1656
Content-Type: application/octet-stream
X-File-MD5: 971f874e7dfebf802d73d70552f38c49
X-File-Mtime: 1675842276
X-File-Path: /MasterLoad/Work/UAV Cloud/22.希腊项目-阿里云-德国/12-连云港公安-5.1.0/2-helm-chart/charts/common/templates/_errors.tpl

{{/* vim: set filetype=mustache: */}}
{{/*
Through error when upgrading using empty passwords values that must not be empty.

Usage:
{{- $validationError00 := include "common.validations.values.single.empty" (dict "valueKey" "path.to.password00" "secret" "secretName" "field" "password-00") -}}
{{- $validationError01 := include "common.validations.values.single.empty" (dict "valueKey" "path.to.password01" "secret" "secretName" "field" "password-01") -}}
{{ include "common.errors.upgrade.passwords.empty" (dict "validationErrors" (list $validationError00 $validationError01) "context" $) }}

Required password params:
  - validationErrors - String - Required. List of validation strings to be return, if it is empty it won't throw error.
  - context - Context - Required. Parent context.
*/}}
{{- define "common.errors.upgrade.passwords.empty" -}}
  {{- $validationErrors := join "" .validationErrors -}}
  {{- if and $validationErrors .context.Release.IsUpgrade -}}
    {{- $errorString := "\nPASSWORDS ERROR: You must provide your current passwords when upgrading the release." -}}
    {{- $errorString = print $errorString "\n                 Note that even after reinstallation, old credentials may be needed as they may be kept in persistent volume claims." -}}
    {{- $errorString = print $erro