From 621152ac951d318b60bd94136298dde51a1a205a Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 7 Mar 2022 19:07:43 +0200 Subject: [PATCH 01/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index e717013588..53760bc05f 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "helm-guestbook.fullname" . }} - namespace: not-exist + namespace: argocd labels: app: {{ template "helm-guestbook.name" . }} chart: {{ template "helm-guestbook.chart" . }} From abfd320ad89e76e81bcd78366d8e19d7d23d6c71 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 7 Mar 2022 22:39:58 +0200 Subject: [PATCH 02/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 53760bc05f..3209fc5d93 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -7,7 +7,6 @@ metadata: app: {{ template "helm-guestbook.name" . }} chart: {{ template "helm-guestbook.chart" . }} release: {{ .Release.Name }} - heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} revisionHistoryLimit: 3 @@ -29,25 +28,3 @@ spec: - name: http containerPort: 802 protocol: TCP - livenessProbe: - httpGet: - path: / - port: http - readinessProbe: - httpGet: - path: / - port: http - resources: -{{ toYaml .Values.resources | indent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: -{{ toYaml . | indent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: -{{ toYaml . | indent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: -{{ toYaml . | indent 8 }} - {{- end }} From 990d522b38ec8a4ec838fb4c127c305d7667b901 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 7 Mar 2022 22:47:45 +0200 Subject: [PATCH 03/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 3209fc5d93..6d7e2b31d0 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -10,10 +10,6 @@ metadata: spec: replicas: {{ .Values.replicaCount }} revisionHistoryLimit: 3 - selector: - matchLabels: - app: {{ template "helm-guestbook.name" . }} - release: {{ .Release.Name }} template: metadata: labels: From 32e20e0c3f3f578525ed923241568d31f334781b Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 7 Mar 2022 23:03:53 +0200 Subject: [PATCH 04/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 6d7e2b31d0..3209fc5d93 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -10,6 +10,10 @@ metadata: spec: replicas: {{ .Values.replicaCount }} revisionHistoryLimit: 3 + selector: + matchLabels: + app: {{ template "helm-guestbook.name" . }} + release: {{ .Release.Name }} template: metadata: labels: From 014dc46df6470bf4f8505ed604c52aaf4b63d86f Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 7 Mar 2022 23:13:53 +0200 Subject: [PATCH 05/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 3209fc5d93..0d69d7299e 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -26,5 +26,5 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http - containerPort: 802 + containerPort: 80 protocol: TCP From ad63c0f7f0d78c7799c01a4378308fcae94e64e8 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Mon, 7 Mar 2022 23:16:56 +0200 Subject: [PATCH 06/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 0d69d7299e..f605a5ff00 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -9,7 +9,6 @@ metadata: release: {{ .Release.Name }} spec: replicas: {{ .Values.replicaCount }} - revisionHistoryLimit: 3 selector: matchLabels: app: {{ template "helm-guestbook.name" . }} From 4a2d194bc47a9145b6a0da466ab23d23217080d1 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 8 Mar 2022 14:16:42 +0200 Subject: [PATCH 07/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index f605a5ff00..c9cdb96e3d 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:stable" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http From a8bbc1fee17e059260953677cc5b3f511a6442d8 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 8 Mar 2022 14:34:09 +0200 Subject: [PATCH 08/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index c9cdb96e3d..9e4401013d 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:stable" + image: "{{ .Values.image.repository }}:latest" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http From 1313d2fa58635561fd85bd05934e923630409f5e Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 8 Mar 2022 22:09:23 +0200 Subject: [PATCH 09/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 9e4401013d..9cb8557451 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:latest" + image: "{{ .Values.image.repository }}:v1" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http From df32cd76fe3037b1840bf8148764dc52347b11da Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 8 Mar 2022 22:42:49 +0200 Subject: [PATCH 10/14] Update deployment.yaml --- helm-guestbook/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 9cb8557451..07ca336134 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:v1" + image: "{{ .Values.image.repository }}:0.1" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http From ac53e22d910d93f5003f1dcb2e9f7d4d093bdb32 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 22 Mar 2022 13:21:03 +0200 Subject: [PATCH 11/14] blat blat --- helm-guestbook/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/values.yaml b/helm-guestbook/values.yaml index ab2928547c..a6c51c3ef8 100644 --- a/helm-guestbook/values.yaml +++ b/helm-guestbook/values.yaml @@ -2,7 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 1 +replicaCount: 2 image: repository: gcr.io/heptio-images/ks-guestbook-demo From 4b7752e18c7db29150e4cc6049c2e135c6a12590 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 22 Mar 2022 13:27:55 +0200 Subject: [PATCH 12/14] pasha-test pasha-test --- helm-guestbook/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/values.yaml b/helm-guestbook/values.yaml index a6c51c3ef8..778d81d9ff 100644 --- a/helm-guestbook/values.yaml +++ b/helm-guestbook/values.yaml @@ -2,7 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 2 +replicaCount: 3 image: repository: gcr.io/heptio-images/ks-guestbook-demo From d1282802aaf1342c4b7105c228d37a05dd1a4ed8 Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 22 Mar 2022 13:32:31 +0200 Subject: [PATCH 13/14] hola --- helm-guestbook/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/values.yaml b/helm-guestbook/values.yaml index 778d81d9ff..a6c51c3ef8 100644 --- a/helm-guestbook/values.yaml +++ b/helm-guestbook/values.yaml @@ -2,7 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 3 +replicaCount: 2 image: repository: gcr.io/heptio-images/ks-guestbook-demo From 128865412cd2b41fecdba855f15a5ae0144baa5e Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Tue, 22 Mar 2022 13:37:39 +0200 Subject: [PATCH 14/14] Update values.yaml --- helm-guestbook/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/values.yaml b/helm-guestbook/values.yaml index a6c51c3ef8..ab2928547c 100644 --- a/helm-guestbook/values.yaml +++ b/helm-guestbook/values.yaml @@ -2,7 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 2 +replicaCount: 1 image: repository: gcr.io/heptio-images/ks-guestbook-demo