Skip to content

Commit

Permalink
2.17.21
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelgatelement committed May 29, 2024
1 parent be18a87 commit 5167714
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 New Vector Ltd
# Copyright 2023-2024 New Vector Ltd
#
# SPDX-License-Identifier: AGPL-3.0-or-later

Expand Down Expand Up @@ -32,13 +32,15 @@ spec:
description: A configmap name
media:
type: object
default: {}
default:
volume:
size: 50Gi
properties:
volume:
type: object
description: The volume holding media
default:
size: 50Gi
description: The volume holding media
oneOf:
- required:
- size
Expand Down
4 changes: 2 additions & 2 deletions helm/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ type: application
# 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.17.20
version: 2.17.21

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 2.17.20
appVersion: 2.17.21
12 changes: 8 additions & 4 deletions helm/operator/fragments/Deployment-conversion-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
- containerPort: 7443
name: webhook-server
protocol: TCP
{{- if $.Values.crds.conversionWebhook.tlsSecretName }}
volumeMounts:
- mountPath: /k8s-webhook-server/serving-certs
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: webhook-cert
readOnly: true
{{- end }}
livenessProbe:
httpGet:
scheme: HTTPS
Expand All @@ -73,9 +75,9 @@ spec:
initialDelaySeconds: 5
args:
- --tls-cert-file
- /k8s-webhook-server/serving-certs/tls.crt
- /tmp/k8s-webhook-server/serving-certs/tls.crt
- --tls-private-key-file
- /k8s-webhook-server/serving-certs/tls.key
- /tmp/k8s-webhook-server/serving-certs/tls.key
- --port
- "7443"
{{- with $.Values.crds.conversionWebhook.resources }}
Expand All @@ -87,9 +89,11 @@ spec:
{{- end }}
serviceAccountName: '{{ include "__CHART_FUNCTIONS_NAMESPACE__.conversionWebhookFullname" . }}'
terminationGracePeriodSeconds: 10
{{- if $.Values.crds.conversionWebhook.tlsSecretName }}
volumes:
- name: webhook-cert
secret:
defaultMode: 420
secretName: {{ tpl $.Values.crds.conversionWebhook.tlsSecretName . }}
{{ end }}
{{- end }}
{{ end }}
12 changes: 8 additions & 4 deletions helm/operator/templates/deployment-conversion-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
- containerPort: 7443
name: webhook-server
protocol: TCP
{{- if $.Values.crds.conversionWebhook.tlsSecretName }}
volumeMounts:
- mountPath: /k8s-webhook-server/serving-certs
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: webhook-cert
readOnly: true
{{- end }}
livenessProbe:
httpGet:
scheme: HTTPS
Expand All @@ -73,9 +75,9 @@ spec:
initialDelaySeconds: 5
args:
- --tls-cert-file
- /k8s-webhook-server/serving-certs/tls.crt
- /tmp/k8s-webhook-server/serving-certs/tls.crt
- --tls-private-key-file
- /k8s-webhook-server/serving-certs/tls.key
- /tmp/k8s-webhook-server/serving-certs/tls.key
- --port
- "7443"
{{- with $.Values.crds.conversionWebhook.resources }}
Expand All @@ -87,9 +89,11 @@ spec:
{{- end }}
serviceAccountName: '{{ include "elementOperator.conversionWebhookFullname" . }}'
terminationGracePeriodSeconds: 10
{{- if $.Values.crds.conversionWebhook.tlsSecretName }}
volumes:
- name: webhook-cert
secret:
defaultMode: 420
secretName: {{ tpl $.Values.crds.conversionWebhook.tlsSecretName . }}
{{ end }}
{{- end }}
{{ end }}
4 changes: 2 additions & 2 deletions helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ crds:
imagePullPolicy: Always
image:
repository: docker.io/vectorim/ess-core-operator-conversion-webhook
tag: 2.17.20
tag: 2.17.21

operator:
extraPodSpec:
Expand Down Expand Up @@ -69,7 +69,7 @@ operator:
imagePullPolicy: Always
image:
repository: docker.io/vectorim/ess-core-operator
tag: 2.17.20
tag: 2.17.21

rbacProxy:
resources:
Expand Down
4 changes: 2 additions & 2 deletions helm/updater/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ type: application
# 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.17.20
version: 2.17.21

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 2.17.20
appVersion: 2.17.21
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,9 @@ spec:
description: The key of the k8s secret containing Synapse Macaroon
type: string
media:
default: {}
default:
volume:
size: 50Gi
properties:
volume:
default:
Expand Down Expand Up @@ -4028,7 +4030,9 @@ spec:
description: The key of the k8s secret containing Synapse Macaroon
type: string
media:
default: {}
default:
volume:
size: 50Gi
properties:
volume:
default:
Expand Down
12 changes: 8 additions & 4 deletions helm/updater/templates/deployment-conversion-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
- containerPort: 7443
name: webhook-server
protocol: TCP
{{- if $.Values.crds.conversionWebhook.tlsSecretName }}
volumeMounts:
- mountPath: /k8s-webhook-server/serving-certs
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: webhook-cert
readOnly: true
{{- end }}
livenessProbe:
httpGet:
scheme: HTTPS
Expand All @@ -73,9 +75,9 @@ spec:
initialDelaySeconds: 5
args:
- --tls-cert-file
- /k8s-webhook-server/serving-certs/tls.crt
- /tmp/k8s-webhook-server/serving-certs/tls.crt
- --tls-private-key-file
- /k8s-webhook-server/serving-certs/tls.key
- /tmp/k8s-webhook-server/serving-certs/tls.key
- --port
- "7443"
{{- with $.Values.crds.conversionWebhook.resources }}
Expand All @@ -87,9 +89,11 @@ spec:
{{- end }}
serviceAccountName: '{{ include "elementUpdater.conversionWebhookFullname" . }}'
terminationGracePeriodSeconds: 10
{{- if $.Values.crds.conversionWebhook.tlsSecretName }}
volumes:
- name: webhook-cert
secret:
defaultMode: 420
secretName: {{ tpl $.Values.crds.conversionWebhook.tlsSecretName . }}
{{ end }}
{{- end }}
{{ end }}
4 changes: 2 additions & 2 deletions helm/updater/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ crds:
imagePullPolicy: Always
image:
repository: docker.io/vectorim/ess-core-updater-conversion-webhook
tag: 2.17.20
tag: 2.17.21

updater:
extraPodSpec:
Expand Down Expand Up @@ -69,7 +69,7 @@ updater:
- ALL
image:
repository: docker.io/vectorim/ess-core-updater
tag: 2.17.20
tag: 2.17.21

rbacProxy:
resources:
Expand Down
8 changes: 6 additions & 2 deletions roles/elementdeployment/files/elementdeployment-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,9 @@ spec:
description: The key of the k8s secret containing Synapse Macaroon
type: string
media:
default: {}
default:
volume:
size: 50Gi
properties:
volume:
default:
Expand Down Expand Up @@ -4023,7 +4025,9 @@ spec:
description: The key of the k8s secret containing Synapse Macaroon
type: string
media:
default: {}
default:
volume:
size: 50Gi
properties:
volume:
default:
Expand Down
1 change: 1 addition & 0 deletions roles/generic_apply/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
- ("in body must be of type object:" not in result.msg)
- ("updates to statefulset spec for fields other than" not in result.msg)
- ("missing metadata in converted object" not in result.msg)
- '("MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable" not in result.msg)'

- name: "Maintain resources that risk to not support recreation"
kubernetes.core.k8s:
Expand Down

0 comments on commit 5167714

Please sign in to comment.