mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 09:27:31 -07:00
[chart] allow specifying DeploymentStrategy
This commit is contained in:
parent
50b25c88c7
commit
5f60e7fc49
4 changed files with 18 additions and 4 deletions
|
@ -15,7 +15,7 @@ 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: 0.1.3
|
version: 0.1.4
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -52,6 +52,7 @@ A fun, new, open way to experience social media https://iceshrimp.dev
|
||||||
| iceshrimp.smtp.port | int | `587` | |
|
| iceshrimp.smtp.port | int | `587` | |
|
||||||
| iceshrimp.smtp.server | string | `"smtp.mailgun.org"` | |
|
| iceshrimp.smtp.server | string | `"smtp.mailgun.org"` | |
|
||||||
| iceshrimp.smtp.useImplicitSslTls | bool | `false` | |
|
| iceshrimp.smtp.useImplicitSslTls | bool | `false` | |
|
||||||
|
| iceshrimp.strategy | object | `{}` | Override DeploymentStrategy for Iceshrimp |
|
||||||
| elasticsearch | object | `{"auth":{},"enabled":false,"hostname":"","port":9200,"ssl":false}` | https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch#parameters |
|
| elasticsearch | object | `{"auth":{},"enabled":false,"hostname":"","port":9200,"ssl":false}` | https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch#parameters |
|
||||||
| fullnameOverride | string | `""` | |
|
| fullnameOverride | string | `""` | |
|
||||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
|
|
|
@ -5,9 +5,15 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "iceshrimp.labels" . | nindent 4 }}
|
{{- include "iceshrimp.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.autoscaling.enabled }}
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if .Values.iceshrimp.deploymentStrategy }}
|
||||||
|
strategy:
|
||||||
|
{{- toYaml .Values.iceshrimp.deploymentStrategy | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "iceshrimp.selectorLabels" . | nindent 6 }}
|
{{- include "iceshrimp.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -42,7 +42,7 @@ iceshrimp:
|
||||||
prefix: files
|
prefix: files
|
||||||
endpoint: "" # e.g. "nyc3.digitaloceanspaces.com:443"
|
endpoint: "" # e.g. "nyc3.digitaloceanspaces.com:443"
|
||||||
region: "" # e.g. "nyc3"
|
region: "" # e.g. "nyc3"
|
||||||
|
|
||||||
localStorage:
|
localStorage:
|
||||||
enabled: true
|
enabled: true
|
||||||
claimName: null
|
claimName: null
|
||||||
|
@ -53,7 +53,14 @@ iceshrimp:
|
||||||
annotations:
|
annotations:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|
||||||
|
# Deployment strategy (optional), see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
||||||
|
# deploymentStrategy:
|
||||||
|
# type: RollingUpdate
|
||||||
|
# rollingUpdate:
|
||||||
|
# maxUnavailable: 0
|
||||||
|
# maxSurge: 1
|
||||||
|
|
||||||
# -- If you want to allow iceshrimp to connect to private ips, enter the cidrs here.
|
# -- If you want to allow iceshrimp to connect to private ips, enter the cidrs here.
|
||||||
allowedPrivateNetworks: []
|
allowedPrivateNetworks: []
|
||||||
# - "10.0.0.0/8"
|
# - "10.0.0.0/8"
|
||||||
|
|
Loading…
Reference in a new issue