From 8fbf830dd0b19f6512863fe2d9a9d2c12e299edb Mon Sep 17 00:00:00 2001 From: ifocus1776 Date: Fri, 1 Sep 2023 17:36:58 -0700 Subject: [PATCH 1/3] Update deployment.yaml --- deployment.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 5857004..d258e22 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -1,26 +1,26 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: encryption-microservice + name: fipsencrypt-microservice spec: replicas: 1 selector: matchLabels: - app: encryption-microservice + app: fipsencryption-microservice template: metadata: labels: - app: encryption-microservice + app: fipsencryption-microservice spec: containers: - name: encryption-microservice - image: gcr.io/my-project/encryption-microservice:latest + image: gcr.io/my-project/fipsencrypt-microservice:latest imagePullPolicy: Always ports: - - containerPort: 8080 + - containerPort: 8081 resources: limits: - memory: 512Mi - cpu: 100m + memory: 156Mi + cpu: 120m nodeSelector: fips: enabled From b661488d8de48ed84707f6d39e1b3da1af503ac3 Mon Sep 17 00:00:00 2001 From: ifocus1776 Date: Fri, 1 Sep 2023 18:25:05 -0700 Subject: [PATCH 2/3] Update deployment.yaml pulling vault --- deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index d258e22..c7b8d2b 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -6,15 +6,15 @@ spec: replicas: 1 selector: matchLabels: - app: fipsencryption-microservice + app: fipsencrypt-microservice template: metadata: labels: - app: fipsencryption-microservice + app: fipsencrypt-microservice spec: containers: - - name: encryption-microservice - image: gcr.io/my-project/fipsencrypt-microservice:latest + - name: fipsencrypt-microservice + image: hub.docker.com/r/hashicorp/vault imagePullPolicy: Always ports: - containerPort: 8081 From 16f89bdd12a2ec464a3290d661a591185c5de7c0 Mon Sep 17 00:00:00 2001 From: ifocus1776 Date: Fri, 1 Sep 2023 18:29:23 -0700 Subject: [PATCH 3/3] Update deployment.yaml back to encryption-microservice --- deployment.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index c7b8d2b..5857004 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -1,26 +1,26 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: fipsencrypt-microservice + name: encryption-microservice spec: replicas: 1 selector: matchLabels: - app: fipsencrypt-microservice + app: encryption-microservice template: metadata: labels: - app: fipsencrypt-microservice + app: encryption-microservice spec: containers: - - name: fipsencrypt-microservice - image: hub.docker.com/r/hashicorp/vault + - name: encryption-microservice + image: gcr.io/my-project/encryption-microservice:latest imagePullPolicy: Always ports: - - containerPort: 8081 + - containerPort: 8080 resources: limits: - memory: 156Mi - cpu: 120m + memory: 512Mi + cpu: 100m nodeSelector: fips: enabled