From 87d9bb628f87e8f2736d058452f7bdff654dd34c Mon Sep 17 00:00:00 2001 From: tyknkd <78797823+tyknkd@users.noreply.github.com> Date: Wed, 15 May 2024 18:52:00 +0900 Subject: [PATCH] build: fix typos --- deployment/templates/data-analyzer-deployment.yaml | 2 +- deployment/templates/data-collector-deployment.yaml | 2 +- deployment/templates/db-statefulset.yaml | 4 ++-- deployment/templates/grafana-statefulset.yaml | 10 +++++----- deployment/templates/mq-configmap.yaml | 3 ++- deployment/templates/mq-statefulset.yaml | 2 +- deployment/templates/web-server-deployment.yaml | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/deployment/templates/data-analyzer-deployment.yaml b/deployment/templates/data-analyzer-deployment.yaml index 44fe864..d7d059e 100644 --- a/deployment/templates/data-analyzer-deployment.yaml +++ b/deployment/templates/data-analyzer-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: data-analyzer - image: tyknkd/newsanalyzer-dataanalyzer + image: tyknkd/newsanalyzer-dataanalyzer:0.1.0 env: - name: ANALYZER_DB valueFrom: diff --git a/deployment/templates/data-collector-deployment.yaml b/deployment/templates/data-collector-deployment.yaml index 871c8c9..a77018c 100644 --- a/deployment/templates/data-collector-deployment.yaml +++ b/deployment/templates/data-collector-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: data-collector - image: tyknkd/newsanalyzer-datacollector + image: tyknkd/newsanalyzer-datacollector:0.1.0 env: - name: ANALYZER_HOST valueFrom: diff --git a/deployment/templates/db-statefulset.yaml b/deployment/templates/db-statefulset.yaml index b1b2ef0..1e0b56e 100644 --- a/deployment/templates/db-statefulset.yaml +++ b/deployment/templates/db-statefulset.yaml @@ -62,7 +62,7 @@ spec: - mountPath: /docker-entrypoint-initdb.d name: db-init-script - mountPath: /var/lib/postgresql/data - name: db-data-claim + name: db-claim restartPolicy: Always volumes: - name: postgres-password @@ -76,7 +76,7 @@ spec: name: db-init-configmap volumeClaimTemplates: - metadata: - name: db-data-claim + name: db-claim spec: accessModes: - ReadWriteOnce diff --git a/deployment/templates/grafana-statefulset.yaml b/deployment/templates/grafana-statefulset.yaml index 938f1f6..d72e874 100644 --- a/deployment/templates/grafana-statefulset.yaml +++ b/deployment/templates/grafana-statefulset.yaml @@ -15,7 +15,7 @@ spec: apiVersion: apps/v1 kind: StatefulSet metadata: - name: grafana + name: grafana-sts spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} @@ -58,12 +58,12 @@ spec: name: grafana-claim restartPolicy: Always volumes: - - name: postgres-password + - name: grafana-password secret: items: - - key: postgres-password - path: postgres-password - secretName: postgres-password-secret + - key: grafana-password + path: grafana-password + secretName: grafana-password-secret - name: grafana-datasources configMap: name: grafana-datasources-configmap diff --git a/deployment/templates/mq-configmap.yaml b/deployment/templates/mq-configmap.yaml index 0ffce7a..e4c6768 100644 --- a/deployment/templates/mq-configmap.yaml +++ b/deployment/templates/mq-configmap.yaml @@ -3,4 +3,5 @@ kind: ConfigMap metadata: name: mq-plugins-configmap data: - rabbitmq-plugins: "[rabbitmq_prometheus]." + enabled_plugins: | + [rabbitmq_prometheus]. diff --git a/deployment/templates/mq-statefulset.yaml b/deployment/templates/mq-statefulset.yaml index d6d82b2..b9f23f2 100644 --- a/deployment/templates/mq-statefulset.yaml +++ b/deployment/templates/mq-statefulset.yaml @@ -46,7 +46,7 @@ spec: hostPort: 15692 protocol: TCP volumeMounts: - - mountPath: /etc/rabbitmq/enabled_plugins + - mountPath: /etc/rabbitmq name: mq-plugins - mountPath: /var/lib/rabbitmq name: mq-claim diff --git a/deployment/templates/web-server-deployment.yaml b/deployment/templates/web-server-deployment.yaml index 5ef0bf1..2e60d39 100644 --- a/deployment/templates/web-server-deployment.yaml +++ b/deployment/templates/web-server-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: web-server - image: tyknkd/newsanalyzer-webserver + image: tyknkd/newsanalyzer-webserver:0.1.0 env: - name: ANALYZER_EXCHANGE valueFrom: