From b908400d59bfa04d82795f150630dca1f92b93bf Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Fri, 30 Aug 2024 09:42:01 +0200 Subject: [PATCH] fix: typo in storageClass (#310) --- .../apps/clickhouse/templates/clickhouse.yaml | 2 +- .../apps/ferretdb/templates/postgres.yaml | 2 +- packages/apps/ferretdb/values2.yaml | 56 ------------------- .../templates/nginx/deployment.yaml | 2 +- packages/apps/kafka/templates/kafka.yaml | 4 +- .../templates/helmreleases/csi.yaml | 2 +- packages/apps/mysql/templates/mariadb.yaml | 2 +- packages/apps/postgres/templates/db.yaml | 2 +- .../apps/rabbitmq/templates/rabbitmq.yaml | 2 +- .../extra/etcd/templates/etcd-cluster.yaml | 2 +- .../extra/seaweedfs/templates/seaweedfs.yaml | 2 +- 11 files changed, 11 insertions(+), 67 deletions(-) delete mode 100644 packages/apps/ferretdb/values2.yaml diff --git a/packages/apps/clickhouse/templates/clickhouse.yaml b/packages/apps/clickhouse/templates/clickhouse.yaml index d97b0837..c2b0a5b2 100644 --- a/packages/apps/clickhouse/templates/clickhouse.yaml +++ b/packages/apps/clickhouse/templates/clickhouse.yaml @@ -31,7 +31,7 @@ spec: spec: accessModes: - ReadWriteOnce - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClassName: {{ . }} {{- end }} resources: diff --git a/packages/apps/ferretdb/templates/postgres.yaml b/packages/apps/ferretdb/templates/postgres.yaml index 9803e6ce..6ee92fd4 100644 --- a/packages/apps/ferretdb/templates/postgres.yaml +++ b/packages/apps/ferretdb/templates/postgres.yaml @@ -15,7 +15,7 @@ spec: storage: size: {{ required ".Values.size is required" .Values.size }} - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClass: {{ . }} {{- end }} diff --git a/packages/apps/ferretdb/values2.yaml b/packages/apps/ferretdb/values2.yaml deleted file mode 100644 index 9964dfe8..00000000 --- a/packages/apps/ferretdb/values2.yaml +++ /dev/null @@ -1,56 +0,0 @@ -## @section Common parameters - -## @param external Enable external access from outside the cluster -## @param size Persistent Volume size -## @param replicas Number of Postgres replicas -## -external: false -size: 10Gi -replicas: 1 - -## Configuration for the quorum-based synchronous replication -## @param quorum.minSyncReplicas Minimum number of synchronous replicas that must acknowledge a transaction before it is considered committed. -## @param quorum.maxSyncReplicas Maximum number of synchronous replicas that can acknowledge a transaction (must be lower than the number of instances). -quorum: - minSyncReplicas: 0 - maxSyncReplicas: 0 - -## @section Configuration parameters - -## @param users [object] Users configuration -## Example: -## users: -## user1: -## password: strongpassword -## user2: -## password: hackme -## -users: - foo: - password: asd - bar: - password: asd - baz: - password: asd - boo: - password: asd - -## @section Backup parameters - -## @param backup.enabled Enable pereiodic backups -## @param backup.s3Region The AWS S3 region where backups are stored -## @param backup.s3Bucket The S3 bucket used for storing backups -## @param backup.schedule Cron schedule for automated backups -## @param backup.cleanupStrategy The strategy for cleaning up old backups -## @param backup.s3AccessKey The access key for S3, used for authentication -## @param backup.s3SecretKey The secret key for S3, used for authentication -## @param backup.resticPassword The password for Restic backup encryption -backup: - enabled: false - s3Region: us-east-1 - s3Bucket: s3.example.org/postgres-backups - schedule: "0 2 * * *" - cleanupStrategy: "--keep-last=3 --keep-daily=3 --keep-within-weekly=1m" - s3AccessKey: oobaiRus9pah8PhohL1ThaeTa4UVa7gu - s3SecretKey: ju3eum4dekeich9ahM1te8waeGai0oog - resticPassword: ChaXoveekoh6eigh4siesheeda2quai0 diff --git a/packages/apps/http-cache/templates/nginx/deployment.yaml b/packages/apps/http-cache/templates/nginx/deployment.yaml index 5633fac2..e83e81e1 100644 --- a/packages/apps/http-cache/templates/nginx/deployment.yaml +++ b/packages/apps/http-cache/templates/nginx/deployment.yaml @@ -114,7 +114,7 @@ spec: resources: requests: storage: "{{ $.Values.size }}" - {{- with $.Values.stroageClass }} + {{- with $.Values.storageClass }} storageClassName: {{ . }} {{- end }} --- diff --git a/packages/apps/kafka/templates/kafka.yaml b/packages/apps/kafka/templates/kafka.yaml index e4a449ba..9f380b9b 100644 --- a/packages/apps/kafka/templates/kafka.yaml +++ b/packages/apps/kafka/templates/kafka.yaml @@ -53,7 +53,7 @@ spec: {{- with .Values.kafka.size }} size: {{ . }} {{- end }} - {{- with .Values.kafka.stroageClass }} + {{- with .Values.kafka.storageClass }} class: {{ . }} {{- end }} deleteClaim: true @@ -64,7 +64,7 @@ spec: {{- with .Values.zookeeper.size }} size: {{ . }} {{- end }} - {{- with .Values.kafka.stroageClass }} + {{- with .Values.kafka.storageClass }} class: {{ . }} {{- end }} deleteClaim: false diff --git a/packages/apps/kubernetes/templates/helmreleases/csi.yaml b/packages/apps/kubernetes/templates/helmreleases/csi.yaml index 4900ab3e..4f0bf29a 100644 --- a/packages/apps/kubernetes/templates/helmreleases/csi.yaml +++ b/packages/apps/kubernetes/templates/helmreleases/csi.yaml @@ -28,7 +28,7 @@ spec: upgrade: remediation: retries: -1 - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} values: storageClass: "{{ . }}" {{- end }} diff --git a/packages/apps/mysql/templates/mariadb.yaml b/packages/apps/mysql/templates/mariadb.yaml index f3e6c341..faec8a2c 100644 --- a/packages/apps/mysql/templates/mariadb.yaml +++ b/packages/apps/mysql/templates/mariadb.yaml @@ -62,7 +62,7 @@ spec: size: {{ .Values.size }} resizeInUseVolumes: true waitForVolumeResize: true - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClassName: {{ . }} {{- end }} diff --git a/packages/apps/postgres/templates/db.yaml b/packages/apps/postgres/templates/db.yaml index ea4d1867..cbc947e3 100644 --- a/packages/apps/postgres/templates/db.yaml +++ b/packages/apps/postgres/templates/db.yaml @@ -19,7 +19,7 @@ spec: storage: size: {{ required ".Values.size is required" .Values.size }} - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClass: {{ . }} {{- end }} diff --git a/packages/apps/rabbitmq/templates/rabbitmq.yaml b/packages/apps/rabbitmq/templates/rabbitmq.yaml index 2b371c9d..2fe962d4 100644 --- a/packages/apps/rabbitmq/templates/rabbitmq.yaml +++ b/packages/apps/rabbitmq/templates/rabbitmq.yaml @@ -13,7 +13,7 @@ spec: {{- end }} persistence: - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClassName: {{ . }} {{- end }} storage: {{ .Values.size }} diff --git a/packages/extra/etcd/templates/etcd-cluster.yaml b/packages/extra/etcd/templates/etcd-cluster.yaml index 8b713ee4..025363a2 100644 --- a/packages/extra/etcd/templates/etcd-cluster.yaml +++ b/packages/extra/etcd/templates/etcd-cluster.yaml @@ -25,7 +25,7 @@ spec: resources: requests: storage: {{ .Values.size }} - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClassName: {{ . }} {{- end }} security: diff --git a/packages/extra/seaweedfs/templates/seaweedfs.yaml b/packages/extra/seaweedfs/templates/seaweedfs.yaml index 28866d68..274d5656 100644 --- a/packages/extra/seaweedfs/templates/seaweedfs.yaml +++ b/packages/extra/seaweedfs/templates/seaweedfs.yaml @@ -34,7 +34,7 @@ spec: - name: data1 type: "persistentVolumeClaim" size: "{{ .Values.size }}" - {{- with .Values.stroageClass }} + {{- with .Values.storageClass }} storageClass: {{ . }} {{- end }} maxVolumes: 0