diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index fbe1fd5..8c14721 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -143,7 +143,7 @@ jobs: env: DEPLOYMENT_NAME: news-analyzer run: | - helm upgrade $DEPLOYMENT_NAME deployment/ \ + helm upgrade $DEPLOYMENT_NAME gke-deployment/ \ --install \ --wait kubectl rollout status deployment/$DEPLOYMENT_NAME diff --git a/deployment/templates/data-analyzer-deployment.yaml b/deployment/templates/data-analyzer-deployment.yaml index 2600cf9..26bbae6 100644 --- a/deployment/templates/data-analyzer-deployment.yaml +++ b/deployment/templates/data-analyzer-deployment.yaml @@ -111,10 +111,6 @@ spec: configMapKeyRef: key: WEBSERVER_HOST name: env - ports: - - containerPort: 8887 - hostPort: 8887 - protocol: TCP volumeMounts: - mountPath: /run/secrets/mq-password name: mq-password diff --git a/deployment/templates/data-collector-deployment.yaml b/deployment/templates/data-collector-deployment.yaml index e531ed7..9d1a7f7 100644 --- a/deployment/templates/data-collector-deployment.yaml +++ b/deployment/templates/data-collector-deployment.yaml @@ -98,10 +98,6 @@ spec: configMapKeyRef: key: WEBSERVER_HOST name: env - ports: - - containerPort: 8886 - hostPort: 8886 - protocol: TCP volumeMounts: - mountPath: /run/secrets/mq-password name: mq-password diff --git a/deployment/templates/db-statefulset.yaml b/deployment/templates/db-statefulset.yaml index a63970d..f05837c 100644 --- a/deployment/templates/db-statefulset.yaml +++ b/deployment/templates/db-statefulset.yaml @@ -51,10 +51,6 @@ spec: configMapKeyRef: key: POSTGRES_USER name: env - ports: - - containerPort: 5432 - hostPort: 5432 - protocol: TCP volumeMounts: - mountPath: /run/secrets/postgres-password name: postgres-password diff --git a/deployment/templates/grafana-statefulset.yaml b/deployment/templates/grafana-statefulset.yaml index 27826d2..1659840 100644 --- a/deployment/templates/grafana-statefulset.yaml +++ b/deployment/templates/grafana-statefulset.yaml @@ -41,10 +41,6 @@ spec: value: publicDashboards - name: GF_SECURITY_ADMIN_PASSWORD__FILE value: /run/secrets/grafana-password - ports: - - containerPort: 3000 - hostPort: 3000 - protocol: TCP volumeMounts: - mountPath: /run/secrets/grafana-password name: grafana-password diff --git a/deployment/templates/mq-statefulset.yaml b/deployment/templates/mq-statefulset.yaml index 66374f8..743ed26 100644 --- a/deployment/templates/mq-statefulset.yaml +++ b/deployment/templates/mq-statefulset.yaml @@ -45,13 +45,6 @@ spec: name: env - name: RABBITMQ_LOGS value: "-" - ports: - - containerPort: 5672 - hostPort: 5672 - protocol: TCP - - containerPort: 15692 - hostPort: 15692 - protocol: TCP volumeMounts: - mountPath: /run/secrets/mq-password name: mq-password diff --git a/deployment/templates/prometheus-statefulset.yaml b/deployment/templates/prometheus-statefulset.yaml index 14dc53b..9b53b64 100644 --- a/deployment/templates/prometheus-statefulset.yaml +++ b/deployment/templates/prometheus-statefulset.yaml @@ -32,10 +32,6 @@ spec: containers: - name: prometheus image: prom/prometheus:v2.51.2 - ports: - - containerPort: 9090 - hostPort: 9090 - protocol: TCP volumeMounts: - mountPath: /etc/prometheus/prometheus.yml name: prometheus-config diff --git a/deployment/templates/web-server-deployment.yaml b/deployment/templates/web-server-deployment.yaml index 99b724c..faca436 100644 --- a/deployment/templates/web-server-deployment.yaml +++ b/deployment/templates/web-server-deployment.yaml @@ -99,10 +99,6 @@ spec: configMapKeyRef: key: WEBSERVER_PORT name: env - ports: - - containerPort: 8888 - hostPort: 8888 - protocol: TCP volumeMounts: - mountPath: /run/secrets/mq-password name: mq-password