From 5e6acd398912dc11e9466e152ba85c0e5fdad051 Mon Sep 17 00:00:00 2001 From: Ghadi Mhawej Date: Mon, 16 Sep 2024 14:30:33 +0300 Subject: [PATCH] fix: fix k8s files --- k8s-staging/staging-secrets.yaml | 2 +- k8s-staging/vc-api-deployment.yaml | 2 +- k8s/secrets.yaml | 2 +- k8s/vc-api-deployment.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s-staging/staging-secrets.yaml b/k8s-staging/staging-secrets.yaml index ce85bfd..da280a5 100644 --- a/k8s-staging/staging-secrets.yaml +++ b/k8s-staging/staging-secrets.yaml @@ -4,7 +4,7 @@ metadata: name: secrets-manager-access-sa namespace: verifications-staging-namespace annotations: - eks.amazonaws.com/role-arn: arn:aws:iam::905418196669:role/justaname-staging-cluster-eksClusterRole + eks.amazonaws.com/role-arn: arn:aws:iam::${AWS_ID}:role/justaname-staging-cluster-eksClusterRole --- apiVersion: secrets-store.csi.x-k8s.io/v1 kind: SecretProviderClass diff --git a/k8s-staging/vc-api-deployment.yaml b/k8s-staging/vc-api-deployment.yaml index b365ab4..3004322 100644 --- a/k8s-staging/vc-api-deployment.yaml +++ b/k8s-staging/vc-api-deployment.yaml @@ -25,7 +25,7 @@ spec: secretProviderClass: "aws-secrets" containers: - name: analytics - image: 905418196669.dkr.ecr.eu-central-1.amazonaws.com/justaname/vc-api:latest + image: ${AWS_ID}.dkr.ecr.eu-central-1.amazonaws.com/justaname/vc-api:latest ports: - containerPort: 3009 volumeMounts: diff --git a/k8s/secrets.yaml b/k8s/secrets.yaml index 996ae3a..f3de62d 100644 --- a/k8s/secrets.yaml +++ b/k8s/secrets.yaml @@ -4,7 +4,7 @@ metadata: name: secrets-manager-access-sa namespace: verifications-namespace annotations: - eks.amazonaws.com/role-arn: arn:aws:iam::905418196669:role/justaname-production-cluster-eksClusterRole + eks.amazonaws.com/role-arn: arn:aws:iam::${AWS_ID}:role/justaname-production-cluster-eksClusterRole --- apiVersion: secrets-store.csi.x-k8s.io/v1 kind: SecretProviderClass diff --git a/k8s/vc-api-deployment.yaml b/k8s/vc-api-deployment.yaml index 6d7f97e..6f72723 100644 --- a/k8s/vc-api-deployment.yaml +++ b/k8s/vc-api-deployment.yaml @@ -25,7 +25,7 @@ spec: secretProviderClass: "aws-secrets" containers: - name: analytics - image: 905418196669.dkr.ecr.eu-central-1.amazonaws.com/justaname-production/vc-api:latest + image: ${AWS_ID}.dkr.ecr.eu-central-1.amazonaws.com/justaname-production/vc-api:latest ports: - containerPort: 3009 volumeMounts: