From ed402eb38beb8fa99807a553e6c8faec374d244a Mon Sep 17 00:00:00 2001 From: abpolintan Date: Sat, 7 Sep 2024 08:08:31 -0400 Subject: [PATCH 1/5] Update deployment.yml --- sync-strategies/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-strategies/deployment.yml b/sync-strategies/deployment.yml index 7d8f54dfd..c845c3d90 100644 --- a/sync-strategies/deployment.yml +++ b/sync-strategies/deployment.yml @@ -15,6 +15,6 @@ spec: spec: containers: - name: webserver-simple - image: docker.io/kostiscodefresh/gitops-simple-app:v1.0 + image: docker.io/kostiscodefresh/gitops-simple-app:v2.0 ports: - containerPort: 8080 From aa61478f7def4b78ab32cc2660bd465399f40034 Mon Sep 17 00:00:00 2001 From: abpolintan Date: Sat, 7 Sep 2024 08:09:21 -0400 Subject: [PATCH 2/5] Update deployment.yml --- sync-strategies/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-strategies/deployment.yml b/sync-strategies/deployment.yml index c845c3d90..7d8f54dfd 100644 --- a/sync-strategies/deployment.yml +++ b/sync-strategies/deployment.yml @@ -15,6 +15,6 @@ spec: spec: containers: - name: webserver-simple - image: docker.io/kostiscodefresh/gitops-simple-app:v2.0 + image: docker.io/kostiscodefresh/gitops-simple-app:v1.0 ports: - containerPort: 8080 From 99551d5ed398f1fc0517c34a2116ace559ac61f0 Mon Sep 17 00:00:00 2001 From: abpolintan Date: Sat, 7 Sep 2024 08:30:47 -0400 Subject: [PATCH 3/5] Update deployment.yml change version from 1 to 2 in line 18 --- sync-strategies/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-strategies/deployment.yml b/sync-strategies/deployment.yml index 7d8f54dfd..c845c3d90 100644 --- a/sync-strategies/deployment.yml +++ b/sync-strategies/deployment.yml @@ -15,6 +15,6 @@ spec: spec: containers: - name: webserver-simple - image: docker.io/kostiscodefresh/gitops-simple-app:v1.0 + image: docker.io/kostiscodefresh/gitops-simple-app:v2.0 ports: - containerPort: 8080 From 41113c0051fe8d3e147cbb0824979b14317d2071 Mon Sep 17 00:00:00 2001 From: abpolintan Date: Sat, 7 Sep 2024 08:49:34 -0400 Subject: [PATCH 4/5] Delete sync-strategies/deployment.yml delete deployment.yml --- sync-strategies/deployment.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 sync-strategies/deployment.yml diff --git a/sync-strategies/deployment.yml b/sync-strategies/deployment.yml deleted file mode 100644 index c845c3d90..000000000 --- a/sync-strategies/deployment.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - replicas: 1 - selector: - matchLabels: - app: trivial-go-web-app - template: - metadata: - labels: - app: trivial-go-web-app - spec: - containers: - - name: webserver-simple - image: docker.io/kostiscodefresh/gitops-simple-app:v2.0 - ports: - - containerPort: 8080 From bcf8cd712741a25c8a571cf3bfa802dbbf1a7d73 Mon Sep 17 00:00:00 2001 From: abpolintan Date: Sat, 7 Sep 2024 11:54:17 -0400 Subject: [PATCH 5/5] Update db-creds-encrypted.yaml add unencrypted file --- secret-app/manifests/db-creds-encrypted.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/secret-app/manifests/db-creds-encrypted.yaml b/secret-app/manifests/db-creds-encrypted.yaml index 8b1378917..97669008f 100644 --- a/secret-app/manifests/db-creds-encrypted.yaml +++ b/secret-app/manifests/db-creds-encrypted.yaml @@ -1 +1,9 @@ - +apiVersion: v1 +kind: Secret +type: Opaque +metadata: + name: mysql-credentials +data: + connection: bXktZGItY29ubmVjdGlvbi5leGFtcGxlLmNvbTozMzA2 + password: bXlmYW5jeXBhc3N3b3Jk + username: bXlmYW5jeXVzZXI=