chore: CRLF -> LF (#7214)
This commit is contained in:
parent
cd225018f9
commit
f91ea45813
|
@ -1,23 +1,23 @@
|
||||||
# Patterns to ignore when building packages.
|
# Patterns to ignore when building packages.
|
||||||
# This supports shell glob matching, relative path matching, and
|
# This supports shell glob matching, relative path matching, and
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
.DS_Store
|
.DS_Store
|
||||||
# Common VCS dirs
|
# Common VCS dirs
|
||||||
.git/
|
.git/
|
||||||
.gitignore
|
.gitignore
|
||||||
.bzr/
|
.bzr/
|
||||||
.bzrignore
|
.bzrignore
|
||||||
.hg/
|
.hg/
|
||||||
.hgignore
|
.hgignore
|
||||||
.svn/
|
.svn/
|
||||||
# Common backup files
|
# Common backup files
|
||||||
*.swp
|
*.swp
|
||||||
*.bak
|
*.bak
|
||||||
*.tmp
|
*.tmp
|
||||||
*.orig
|
*.orig
|
||||||
*~
|
*~
|
||||||
# Various IDEs
|
# Various IDEs
|
||||||
.project
|
.project
|
||||||
.idea/
|
.idea/
|
||||||
*.tmproj
|
*.tmproj
|
||||||
.vscode/
|
.vscode/
|
|
@ -1,23 +1,23 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: datatracker
|
name: datatracker
|
||||||
description: The day-to-day front-end to the IETF database for people who work on IETF standards.
|
description: The day-to-day front-end to the IETF database for people who work on IETF standards.
|
||||||
home: https://datatracker.ietf.org
|
home: https://datatracker.ietf.org
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/ietf-tools/datatracker
|
- https://github.com/ietf-tools/datatracker
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: IETF Tools Team
|
- name: IETF Tools Team
|
||||||
email: tools-discuss@ietf.org
|
email: tools-discuss@ietf.org
|
||||||
url: https://github.com/ietf-tools
|
url: https://github.com/ietf-tools
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "1.0.0"
|
appVersion: "1.0.0"
|
|
@ -1,179 +1,179 @@
|
||||||
{{/*
|
{{/*
|
||||||
Expand the name of the chart.
|
Expand the name of the chart.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.name" -}}
|
{{- define "datatracker.name" -}}
|
||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a default fully qualified app name.
|
Create a default fully qualified app name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
If release name contains chart name it will be used as a full name.
|
If release name contains chart name it will be used as a full name.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.fullname" -}}
|
{{- define "datatracker.fullname" -}}
|
||||||
{{- if .Values.fullnameOverride }}
|
{{- if .Values.fullnameOverride }}
|
||||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||||
{{- if contains $name .Release.Name }}
|
{{- if contains $name .Release.Name }}
|
||||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a fully qualified datatracker name.
|
Create a fully qualified datatracker name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.datatracker.fullname" -}}
|
{{- define "datatracker.datatracker.fullname" -}}
|
||||||
{{- if .Values.datatracker.fullnameOverride -}}
|
{{- if .Values.datatracker.fullnameOverride -}}
|
||||||
{{- .Values.datatracker.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- .Values.datatracker.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
{{- if contains $name .Release.Name -}}
|
{{- if contains $name .Release.Name -}}
|
||||||
{{- printf "%s-%s" .Release.Name .Values.datatracker.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Release.Name .Values.datatracker.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- printf "%s-%s-%s" .Release.Name $name .Values.datatracker.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s-%s" .Release.Name $name .Values.datatracker.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a fully qualified celery name.
|
Create a fully qualified celery name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.celery.fullname" -}}
|
{{- define "datatracker.celery.fullname" -}}
|
||||||
{{- if .Values.celery.fullnameOverride -}}
|
{{- if .Values.celery.fullnameOverride -}}
|
||||||
{{- .Values.celery.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- .Values.celery.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
{{- if contains $name .Release.Name -}}
|
{{- if contains $name .Release.Name -}}
|
||||||
{{- printf "%s-%s" .Release.Name .Values.celery.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Release.Name .Values.celery.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- printf "%s-%s-%s" .Release.Name $name .Values.celery.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s-%s" .Release.Name $name .Values.celery.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a fully qualified celery name.
|
Create a fully qualified celery name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.beat.fullname" -}}
|
{{- define "datatracker.beat.fullname" -}}
|
||||||
{{- if .Values.beat.fullnameOverride -}}
|
{{- if .Values.beat.fullnameOverride -}}
|
||||||
{{- .Values.beat.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- .Values.beat.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
{{- if contains $name .Release.Name -}}
|
{{- if contains $name .Release.Name -}}
|
||||||
{{- printf "%s-%s" .Release.Name .Values.beat.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Release.Name .Values.beat.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- printf "%s-%s-%s" .Release.Name $name .Values.beat.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s-%s" .Release.Name $name .Values.beat.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a fully qualified rabbitmq name.
|
Create a fully qualified rabbitmq name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.rabbitmq.fullname" -}}
|
{{- define "datatracker.rabbitmq.fullname" -}}
|
||||||
{{- if .Values.rabbitmq.fullnameOverride -}}
|
{{- if .Values.rabbitmq.fullnameOverride -}}
|
||||||
{{- .Values.rabbitmq.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- .Values.rabbitmq.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
{{- if contains $name .Release.Name -}}
|
{{- if contains $name .Release.Name -}}
|
||||||
{{- printf "%s-%s" .Release.Name .Values.rabbitmq.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Release.Name .Values.rabbitmq.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- printf "%s-%s-%s" .Release.Name $name .Values.rabbitmq.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s-%s" .Release.Name $name .Values.rabbitmq.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a fully qualified memcached name.
|
Create a fully qualified memcached name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.memcached.fullname" -}}
|
{{- define "datatracker.memcached.fullname" -}}
|
||||||
{{- if .Values.memcached.fullnameOverride -}}
|
{{- if .Values.memcached.fullnameOverride -}}
|
||||||
{{- .Values.memcached.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- .Values.memcached.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
{{- if contains $name .Release.Name -}}
|
{{- if contains $name .Release.Name -}}
|
||||||
{{- printf "%s-%s" .Release.Name .Values.memcached.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Release.Name .Values.memcached.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- printf "%s-%s-%s" .Release.Name $name .Values.memcached.name | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s-%s" .Release.Name $name .Values.memcached.name | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create chart name and version as used by the chart label.
|
Create chart name and version as used by the chart label.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.chart" -}}
|
{{- define "datatracker.chart" -}}
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Common labels
|
Common labels
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.labels" -}}
|
{{- define "datatracker.labels" -}}
|
||||||
helm.sh/chart: {{ include "datatracker.chart" . }}
|
helm.sh/chart: {{ include "datatracker.chart" . }}
|
||||||
{{ include "datatracker.selectorLabels" . }}
|
{{ include "datatracker.selectorLabels" . }}
|
||||||
{{- if .Chart.AppVersion }}
|
{{- if .Chart.AppVersion }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Selector labels
|
Selector labels
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.selectorLabels" -}}
|
{{- define "datatracker.selectorLabels" -}}
|
||||||
app.kubernetes.io/name: {{ include "datatracker.name" . }}
|
app.kubernetes.io/name: {{ include "datatracker.name" . }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create the name of the service account to use
|
Create the name of the service account to use
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "datatracker.serviceAccountName.datatracker" -}}
|
{{- define "datatracker.serviceAccountName.datatracker" -}}
|
||||||
{{- if .Values.serviceAccounts.datatracker.create -}}
|
{{- if .Values.serviceAccounts.datatracker.create -}}
|
||||||
{{ default (include "datatracker.datatracker.fullname" .) .Values.serviceAccounts.datatracker.name }}
|
{{ default (include "datatracker.datatracker.fullname" .) .Values.serviceAccounts.datatracker.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.serviceAccounts.datatracker.name }}
|
{{ default "default" .Values.serviceAccounts.datatracker.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- define "datatracker.serviceAccountName.celery" -}}
|
{{- define "datatracker.serviceAccountName.celery" -}}
|
||||||
{{- if .Values.serviceAccounts.celery.create -}}
|
{{- if .Values.serviceAccounts.celery.create -}}
|
||||||
{{ default (include "datatracker.celery.fullname" .) .Values.serviceAccounts.celery.name }}
|
{{ default (include "datatracker.celery.fullname" .) .Values.serviceAccounts.celery.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.serviceAccounts.celery.name }}
|
{{ default "default" .Values.serviceAccounts.celery.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- define "datatracker.serviceAccountName.beat" -}}
|
{{- define "datatracker.serviceAccountName.beat" -}}
|
||||||
{{- if .Values.serviceAccounts.beat.create -}}
|
{{- if .Values.serviceAccounts.beat.create -}}
|
||||||
{{ default (include "datatracker.beat.fullname" .) .Values.serviceAccounts.beat.name }}
|
{{ default (include "datatracker.beat.fullname" .) .Values.serviceAccounts.beat.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.serviceAccounts.beat.name }}
|
{{ default "default" .Values.serviceAccounts.beat.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- define "datatracker.serviceAccountName.rabbitmq" -}}
|
{{- define "datatracker.serviceAccountName.rabbitmq" -}}
|
||||||
{{- if .Values.serviceAccounts.rabbitmq.create -}}
|
{{- if .Values.serviceAccounts.rabbitmq.create -}}
|
||||||
{{ default (include "datatracker.rabbitmq.fullname" .) .Values.serviceAccounts.rabbitmq.name }}
|
{{ default (include "datatracker.rabbitmq.fullname" .) .Values.serviceAccounts.rabbitmq.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.serviceAccounts.rabbitmq.name }}
|
{{ default "default" .Values.serviceAccounts.rabbitmq.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- define "datatracker.serviceAccountName.memcached" -}}
|
{{- define "datatracker.serviceAccountName.memcached" -}}
|
||||||
{{- if .Values.serviceAccounts.memcached.create -}}
|
{{- if .Values.serviceAccounts.memcached.create -}}
|
||||||
{{ default (include "datatracker.memcached.fullname" .) .Values.serviceAccounts.memcached.name }}
|
{{ default (include "datatracker.memcached.fullname" .) .Values.serviceAccounts.memcached.name }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ default "default" .Values.serviceAccounts.memcached.name }}
|
{{ default "default" .Values.serviceAccounts.memcached.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,72 +1,72 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.celery.fullname" . }}
|
name: {{ include "datatracker.celery.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- $podValues := .Values.celery }}
|
{{- $podValues := .Values.celery }}
|
||||||
replicas: {{ $podValues.replicaCount }}
|
replicas: {{ $podValues.replicaCount }}
|
||||||
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- with $podValues.imagePullSecrets }}
|
{{- with $podValues.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "datatracker.serviceAccountName.celery" . }}
|
serviceAccountName: {{ include "datatracker.serviceAccountName.celery" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.securityContext | nindent 12 }}
|
{{- toYaml $podValues.securityContext | nindent 12 }}
|
||||||
image: "{{ $podValues.image.repository }}:{{ default .Chart.AppVersion (default $.Values.datatracker.image.tag $podValues.image.tag) }}"
|
image: "{{ $podValues.image.repository }}:{{ default .Chart.AppVersion (default $.Values.datatracker.image.tag $podValues.image.tag) }}"
|
||||||
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: "CONTAINER_ROLE"
|
- name: "CONTAINER_ROLE"
|
||||||
value: "celery"
|
value: "celery"
|
||||||
{{- if .Values.env }}
|
{{- if .Values.env }}
|
||||||
{{- range $key, $val := .Values.env }}
|
{{- range $key, $val := .Values.env }}
|
||||||
- name: {{ $key | quote }}
|
- name: {{ $key | quote }}
|
||||||
value: {{ $val | quote }}
|
value: {{ $val | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumeMounts }}
|
{{- with $podValues.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml $podValues.resources | nindent 12 }}
|
{{- toYaml $podValues.resources | nindent 12 }}
|
||||||
{{- with $podValues.nodeSelector }}
|
{{- with $podValues.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.affinity }}
|
{{- with $podValues.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.tolerations }}
|
{{- with $podValues.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumes }}
|
{{- with $podValues.volumes }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,72 +1,72 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.datatracker.fullname" . }}
|
name: {{ include "datatracker.datatracker.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- $podValues := .Values.datatracker }}
|
{{- $podValues := .Values.datatracker }}
|
||||||
replicas: {{ $podValues.replicaCount }}
|
replicas: {{ $podValues.replicaCount }}
|
||||||
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- with $podValues.imagePullSecrets }}
|
{{- with $podValues.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "datatracker.serviceAccountName.datatracker" . }}
|
serviceAccountName: {{ include "datatracker.serviceAccountName.datatracker" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.securityContext | nindent 12 }}
|
{{- toYaml $podValues.securityContext | nindent 12 }}
|
||||||
image: "{{ $podValues.image.repository }}:{{ default .Chart.AppVersion $podValues.image.tag }}"
|
image: "{{ $podValues.image.repository }}:{{ default .Chart.AppVersion $podValues.image.tag }}"
|
||||||
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: "CONTAINER_ROLE"
|
- name: "CONTAINER_ROLE"
|
||||||
value: "datatracker"
|
value: "datatracker"
|
||||||
{{- if $.Values.env }}
|
{{- if $.Values.env }}
|
||||||
{{- range $key, $val := $.Values.env }}
|
{{- range $key, $val := $.Values.env }}
|
||||||
- name: {{ $key | quote }}
|
- name: {{ $key | quote }}
|
||||||
value: {{ $val | quote }}
|
value: {{ $val | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumeMounts }}
|
{{- with $podValues.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml $podValues.resources | nindent 12 }}
|
{{- toYaml $podValues.resources | nindent 12 }}
|
||||||
{{- with $podValues.nodeSelector }}
|
{{- with $podValues.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.affinity }}
|
{{- with $podValues.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.tolerations }}
|
{{- with $podValues.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumes }}
|
{{- with $podValues.volumes }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,70 +1,70 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.memcached.fullname" . }}
|
name: {{ include "datatracker.memcached.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- $podValues := .Values.memcached }}
|
{{- $podValues := .Values.memcached }}
|
||||||
replicas: {{ $podValues.replicaCount }}
|
replicas: {{ $podValues.replicaCount }}
|
||||||
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- with $podValues.imagePullSecrets }}
|
{{- with $podValues.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "datatracker.serviceAccountName.memcached" . }}
|
serviceAccountName: {{ include "datatracker.serviceAccountName.memcached" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.securityContext | nindent 12 }}
|
{{- toYaml $podValues.securityContext | nindent 12 }}
|
||||||
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
|
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
|
||||||
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
||||||
env:
|
env:
|
||||||
{{- if .Values.env }}
|
{{- if .Values.env }}
|
||||||
{{- range $key, $val := .Values.env }}
|
{{- range $key, $val := .Values.env }}
|
||||||
- name: {{ $key | quote }}
|
- name: {{ $key | quote }}
|
||||||
value: {{ $val | quote }}
|
value: {{ $val | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumeMounts }}
|
{{- with $podValues.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: memcached
|
- name: memcached
|
||||||
containerPort: 11211
|
containerPort: 11211
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml $podValues.resources | nindent 12 }}
|
{{- toYaml $podValues.resources | nindent 12 }}
|
||||||
{{- with $podValues.nodeSelector }}
|
{{- with $podValues.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.affinity }}
|
{{- with $podValues.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.tolerations }}
|
{{- with $podValues.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumes }}
|
{{- with $podValues.volumes }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,70 +1,70 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.rabbitmq.fullname" . }}
|
name: {{ include "datatracker.rabbitmq.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- $podValues := .Values.rabbitmq }}
|
{{- $podValues := .Values.rabbitmq }}
|
||||||
replicas: {{ $podValues.replicaCount }}
|
replicas: {{ $podValues.replicaCount }}
|
||||||
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ $podValues.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
{{- include "datatracker.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
{{- include "datatracker.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- with $podValues.imagePullSecrets }}
|
{{- with $podValues.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "datatracker.serviceAccountName.rabbitmq" . }}
|
serviceAccountName: {{ include "datatracker.serviceAccountName.rabbitmq" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
{{- toYaml $podValues.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.securityContext | nindent 12 }}
|
{{- toYaml $podValues.securityContext | nindent 12 }}
|
||||||
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
|
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
|
||||||
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.pullPolicy }}
|
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
{{- if .Values.env }}
|
{{- if .Values.env }}
|
||||||
{{- range $key, $val := .Values.env }}
|
{{- range $key, $val := .Values.env }}
|
||||||
- name: {{ $key | quote }}
|
- name: {{ $key | quote }}
|
||||||
value: {{ $val | quote }}
|
value: {{ $val | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumeMounts }}
|
{{- with $podValues.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
{{- toYaml $podValues.livenessProbe | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
{{- toYaml $podValues.readinessProbe | nindent 12 }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
{{- toYaml $podValues.startupProbe | nindent 12 }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml $podValues.resources | nindent 12 }}
|
{{- toYaml $podValues.resources | nindent 12 }}
|
||||||
{{- with $podValues.nodeSelector }}
|
{{- with $podValues.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.affinity }}
|
{{- with $podValues.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.tolerations }}
|
{{- with $podValues.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $podValues.volumes }}
|
{{- with $podValues.volumes }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,32 +1,32 @@
|
||||||
{{- if .Values.autoscaling.enabled }}
|
{{- if .Values.autoscaling.enabled }}
|
||||||
apiVersion: autoscaling/v2
|
apiVersion: autoscaling/v2
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.fullname" . }}
|
name: {{ include "datatracker.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: {{ include "datatracker.fullname" . }}
|
name: {{ include "datatracker.fullname" . }}
|
||||||
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
||||||
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
||||||
metrics:
|
metrics:
|
||||||
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
|
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
|
||||||
- type: Resource
|
- type: Resource
|
||||||
resource:
|
resource:
|
||||||
name: cpu
|
name: cpu
|
||||||
target:
|
target:
|
||||||
type: Utilization
|
type: Utilization
|
||||||
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
|
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
||||||
- type: Resource
|
- type: Resource
|
||||||
resource:
|
resource:
|
||||||
name: memory
|
name: memory
|
||||||
target:
|
target:
|
||||||
type: Utilization
|
type: Utilization
|
||||||
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -1,61 +1,61 @@
|
||||||
{{- if .Values.datatracker.ingress.enabled -}}
|
{{- if .Values.datatracker.ingress.enabled -}}
|
||||||
{{- $fullName := include "datatracker.fullname" . -}}
|
{{- $fullName := include "datatracker.fullname" . -}}
|
||||||
{{- $svcPort := .Values.datatracker.service.port -}}
|
{{- $svcPort := .Values.datatracker.service.port -}}
|
||||||
{{- if and .Values.datatracker.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
|
{{- if and .Values.datatracker.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
|
||||||
{{- if not (hasKey .Values.datatracker.ingress.annotations "kubernetes.io/ingress.class") }}
|
{{- if not (hasKey .Values.datatracker.ingress.annotations "kubernetes.io/ingress.class") }}
|
||||||
{{- $_ := set .Values.datatracker.ingress.annotations "kubernetes.io/ingress.class" .Values.datatracker.ingress.className}}
|
{{- $_ := set .Values.datatracker.ingress.annotations "kubernetes.io/ingress.class" .Values.datatracker.ingress.className}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
{{- end }}
|
{{- end }}
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
{{- with .Values.datatracker.ingress.annotations }}
|
{{- with .Values.datatracker.ingress.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if and .Values.datatracker.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
|
{{- if and .Values.datatracker.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
|
||||||
ingressClassName: {{ .Values.datatracker.ingress.className }}
|
ingressClassName: {{ .Values.datatracker.ingress.className }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.datatracker.ingress.tls }}
|
{{- if .Values.datatracker.ingress.tls }}
|
||||||
tls:
|
tls:
|
||||||
{{- range .Values.datatracker.ingress.tls }}
|
{{- range .Values.datatracker.ingress.tls }}
|
||||||
- hosts:
|
- hosts:
|
||||||
{{- range .hosts }}
|
{{- range .hosts }}
|
||||||
- {{ . | quote }}
|
- {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
secretName: {{ .secretName }}
|
secretName: {{ .secretName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- range .Values.datatracker.ingress.hosts }}
|
{{- range .Values.datatracker.ingress.hosts }}
|
||||||
- host: {{ .host | quote }}
|
- host: {{ .host | quote }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
{{- range .paths }}
|
{{- range .paths }}
|
||||||
- path: {{ .path }}
|
- path: {{ .path }}
|
||||||
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
|
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
|
||||||
pathType: {{ .pathType }}
|
pathType: {{ .pathType }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
backend:
|
backend:
|
||||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||||
service:
|
service:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
port:
|
port:
|
||||||
number: {{ $svcPort }}
|
number: {{ $svcPort }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
serviceName: {{ $fullName }}
|
serviceName: {{ $fullName }}
|
||||||
servicePort: {{ $svcPort }}
|
servicePort: {{ $svcPort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{- if .Values.serviceAccounts.beat.create -}}
|
{{- if .Values.serviceAccounts.beat.create -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.serviceAccountName.beat" . }}
|
name: {{ include "datatracker.serviceAccountName.beat" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAccounts.beat.annotations }}
|
{{- with .Values.serviceAccounts.beat.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{- if .Values.serviceAccounts.celery.create -}}
|
{{- if .Values.serviceAccounts.celery.create -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.serviceAccountName.celery" . }}
|
name: {{ include "datatracker.serviceAccountName.celery" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAccounts.celery.annotations }}
|
{{- with .Values.serviceAccounts.celery.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{- if .Values.serviceAccounts.datatracker.create -}}
|
{{- if .Values.serviceAccounts.datatracker.create -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.serviceAccountName.datatracker" . }}
|
name: {{ include "datatracker.serviceAccountName.datatracker" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAccounts.datatracker.annotations }}
|
{{- with .Values.serviceAccounts.datatracker.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{- if .Values.serviceAccounts.memcached.create -}}
|
{{- if .Values.serviceAccounts.memcached.create -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.serviceAccountName.memcached" . }}
|
name: {{ include "datatracker.serviceAccountName.memcached" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAccounts.memcached.annotations }}
|
{{- with .Values.serviceAccounts.memcached.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{- if .Values.serviceAccounts.rabbitmq.create -}}
|
{{- if .Values.serviceAccounts.rabbitmq.create -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "datatracker.serviceAccountName.rabbitmq" . }}
|
name: {{ include "datatracker.serviceAccountName.rabbitmq" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "datatracker.labels" . | nindent 4 }}
|
{{- include "datatracker.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAccounts.rabbitmq.annotations }}
|
{{- with .Values.serviceAccounts.rabbitmq.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
1150
helm/values.yaml
1150
helm/values.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue