Skip to content

Commit

Permalink
2.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelgatelement committed Oct 8, 2024
1 parent d7e792b commit 9c2a231
Show file tree
Hide file tree
Showing 78 changed files with 13,243 additions and 15,571 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ spec:
description: ClamAntiVirus configuration
properties:
replicas:
description: The number of replicas for ClamAV. Defaults to 2
description: The number of replicas for ClamAV. Can only be 1 for now
type: integer
default: 2
maximum: 1
default: 1
minimum: 1
resources:
description: This field will be generated by kustomize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ patches:
metadata:
name: k8s-monitoring
$patch: delete
- |-
kind: KustomizeSchema
metadata:
name: k8s-services
$patch: delete
- |-
kind: KustomizeSchema
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
path: '/spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/components/properties/matrixContentScanner/properties/k8s/properties/clamAntiVirus/properties/workloads/properties/replicas'
value:
type: number
description: The number of ClamAV replicas
description: The number of ClamAV replicas. Can only be 1 for now
minimum: 1
default: 1
maximum: 1
- op: add
path: '/spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/components/properties/matrixContentScanner/properties/k8s/properties/matrixContentScanner/properties/workloads/properties/replicas'
value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
- op: replace
path: '/spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/components/properties/matrixContentScanner/properties/k8s/properties/clamAntiVirus/properties/storage/properties/volume/default/size'
value: 1Gi
# We have both these defaults as specifying a storageClassName or selector shouldn't lose the default on the siz\e
- op: replace
path: '/spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/components/properties/matrixContentScanner/properties/k8s/properties/matrixContentScanner/properties/storage/default/size'
value: 10Gi
- op: replace
path: '/spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/components/properties/matrixContentScanner/properties/k8s/properties/matrixContentScanner/properties/storage/properties/size/default'
value: 10Gi
# Synapse defaults are configured in config/crd/element-deployment/replacements/starter-core/synapse.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
size: This field will be replaced by kustomize
properties:
size:
default: This field will be replaced by kustomize
anyOf:
- type: integer
- type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ resources:
- well_known_delegation.yaml
- global.yaml
- k8s-common.yaml
- k8s-services.yaml
- k8s-ingresses.yaml
- k8s-monitoring.yaml
- k8s-storage-pvc-template.yaml
Expand Down
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 All @@ -10,6 +10,8 @@ spec:
schema:
description: Configure the PVC Templates
type: object
required:
- size
properties:
size:
anyOf:
Expand Down
2 changes: 0 additions & 2 deletions config/crd/replacements/starter-core/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ replacements:
kind: CustomResourceDefinition
reject:
- namespace: enterprise
- kind: CustomResourceDefinition
name: lowbandwidths.matrix.element.io
fieldPaths:
- spec.versions.0.schema.openAPIV3Schema.properties.spec.properties.service
- source:
Expand Down
2 changes: 1 addition & 1 deletion helm/easy-setup/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [[ -z "$ESS_SYSTEM_CHART" ]]; then
ESS_SYSTEM_CHART="ess-starter-edition-core/ess-system"
fi

helm --kube-context kind-easy-setup upgrade ess-system $ESS_SYSTEM_CHART --install --create-namespace --namespace ess-system --wait -f values.ess-crds.yaml
helm --kube-context kind-easy-setup upgrade ess-system $ESS_SYSTEM_CHART --install --create-namespace --namespace ess-system --wait -f values.ess-crds.yaml --version 2.20.1
helm --kube-context kind-easy-setup upgrade ess ./ess-meta --install --create-namespace --namespace ess --wait -f values.ess-stack.yaml $values_files_args


Expand Down
8 changes: 4 additions & 4 deletions helm/easy-setup/ess-meta/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ apiVersion: v2
name: ess-meta
description: A Helm chart to deploy ESS easily
type: application
version: 2.20.0
appVersion: "2.20.0"
version: 2.20.1
appVersion: "2.20.1"
dependencies:
- name: ess-stack
repository: https://element-hq.github.io/ess-starter-edition-core
version: 2.20.0
version: 2.20.1
- name: ess-system
repository: https://element-hq.github.io/ess-starter-edition-core
version: 2.20.0
version: 2.20.1
- name: postgresql
version: 13.2.24
repository: https://charts.bitnami.com/bitnami
Expand Down
4 changes: 2 additions & 2 deletions helm/ess-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ apiVersion: v2
name: ess-stack
description: A Helm chart to deploy ESS stack
type: application
version: 2.20.0
appVersion: 2.20.0
version: 2.20.1
appVersion: 2.20.1
5 changes: 4 additions & 1 deletion helm/ess-stack/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,9 @@
"type": "object"
},
"replicas": {
"description": "The number of ClamAV replicas",
"default": 1,
"description": "The number of ClamAV replicas. Can only be 1 for now",
"maximum": 1,
"minimum": 1,
"type": "number"
},
Expand Down Expand Up @@ -1024,6 +1026,7 @@
"type": "string"
}
],
"default": "10Gi",
"description": "The volume size to use to store the media",
"x-kubernetes-int-or-string": true
},
Expand Down
8 changes: 4 additions & 4 deletions helm/ess-system/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ apiVersion: v2
name: ess-system
description: A Helm chart to deploy ESS System prerequisites (operators & crds)
type: application
version: 2.20.0
appVersion: 2.20.0
version: 2.20.1
appVersion: 2.20.1
dependencies:
- name: element-operator
repository: https://element-hq.github.io/ess-starter-edition-core
version: 2.20.0
version: 2.20.1
- name: element-updater
repository: https://element-hq.github.io/ess-starter-edition-core
version: 2.20.0
version: 2.20.1
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.20.0
version: 2.20.1

# 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.20.0
appVersion: 2.20.1
4 changes: 2 additions & 2 deletions helm/operator/source-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.20.0
tag: 2.20.1
operator:
extraPodSpec:
securityContext:
Expand Down Expand Up @@ -70,7 +70,7 @@ operator:
imagePullPolicy: Always
image:
repository: docker.io/vectorim/ess-core-operator
tag: 2.20.0
tag: 2.20.1
rbacProxy:
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ spec:
storageClassName:
description: The storage class name to use
type: string
required:
- size
type: object
ttl:
description: The maximum amount of time an entry will stay in the cache before being evicted.
Expand Down Expand Up @@ -236,8 +238,9 @@ spec:
type: array
type: object
replicas:
default: 2
description: The number of replicas for ClamAV. Defaults to 2
default: 1
description: The number of replicas for ClamAV. Can only be 1 for now
maximum: 1
minimum: 1
type: integer
resources:
Expand Down
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.20.0
tag: 2.20.1
operator:
extraPodSpec:
securityContext:
Expand Down Expand Up @@ -70,7 +70,7 @@ operator:
imagePullPolicy: Always
image:
repository: docker.io/vectorim/ess-core-operator
tag: 2.20.0
tag: 2.20.1
rbacProxy:
resources:
limits:
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.20.0
version: 2.20.1

# 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.20.0
appVersion: 2.20.1
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
periodSeconds: 10
initialDelaySeconds: 5
ports:
- name: metrics-ctrl
- name: metrics
containerPort: 8080
protocol: TCP
name: manager
Expand Down
2 changes: 1 addition & 1 deletion helm/updater/fragments/Updater-Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- port: 8080
protocol: TCP
targetPort: 8080
name: metrics-controller
name: metrics
- port: 8090
protocol: TCP
targetPort: 8090
Expand Down
2 changes: 1 addition & 1 deletion helm/updater/fragments/Updater-ServiceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
spec:
endpoints:
- interval: 30s
port: metrics-ctrl
port: metrics
- interval: 30s
port: metrics-watch
selector:
Expand Down
4 changes: 2 additions & 2 deletions helm/updater/source-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.20.0
tag: 2.20.1
updater:
extraPodSpec:
securityContext:
Expand Down Expand Up @@ -70,7 +70,7 @@ updater:
- ALL
image:
repository: docker.io/vectorim/ess-core-updater
tag: 2.20.0
tag: 2.20.1
rbacProxy:
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,9 @@ spec:
description: 'NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node''s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/'
type: object
replicas:
description: The number of ClamAV replicas
default: 1
description: The number of ClamAV replicas. Can only be 1 for now
maximum: 1
minimum: 1
type: number
resources:
Expand Down Expand Up @@ -768,6 +770,7 @@ spec:
anyOf:
- type: integer
- type: string
default: 10Gi
description: The volume size to use to store the media
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[MGTPE])?$
x-kubernetes-int-or-string: true
Expand Down Expand Up @@ -2775,7 +2778,9 @@ spec:
description: 'NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node''s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/'
type: object
replicas:
description: The number of ClamAV replicas
default: 1
description: The number of ClamAV replicas. Can only be 1 for now
maximum: 1
minimum: 1
type: number
resources:
Expand Down Expand Up @@ -3081,6 +3086,7 @@ spec:
anyOf:
- type: integer
- type: string
default: 10Gi
description: The volume size to use to store the media
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[MGTPE])?$
x-kubernetes-int-or-string: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ spec:
periodSeconds: 10
initialDelaySeconds: 5
ports:
- name: metrics-ctrl
- name: metrics
containerPort: 8080
protocol: TCP
name: manager
Expand Down
2 changes: 1 addition & 1 deletion helm/updater/templates/service-manager-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- port: 8080
protocol: TCP
targetPort: 8080
name: metrics-controller
name: metrics
- port: 8090
protocol: TCP
targetPort: 8090
Expand Down
2 changes: 1 addition & 1 deletion helm/updater/templates/service-monitor-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
spec:
endpoints:
- interval: 30s
port: metrics-ctrl
port: metrics
- interval: 30s
port: metrics-watch
selector:
Expand Down
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.20.0
tag: 2.20.1
updater:
extraPodSpec:
securityContext:
Expand Down Expand Up @@ -70,7 +70,7 @@ updater:
- ALL
image:
repository: docker.io/vectorim/ess-core-updater
tag: 2.20.0
tag: 2.20.1
rbacProxy:
resources:
limits:
Expand Down
Loading

0 comments on commit 9c2a231

Please sign in to comment.