From 6a8092c4db8a26dda6f65856e8441a7330e367ca Mon Sep 17 00:00:00 2001 From: kornzhoudev Date: Thu, 12 Sep 2024 15:20:23 +1000 Subject: [PATCH 1/3] test --- charts/hello-world/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/hello-world/templates/deployment.yaml b/charts/hello-world/templates/deployment.yaml index bf9e042..650e0df 100644 --- a/charts/hello-world/templates/deployment.yaml +++ b/charts/hello-world/templates/deployment.yaml @@ -31,3 +31,5 @@ spec: httpGet: path: / port: http + resources: + {{- toJson .Values.resources | nindent 12 }} From 89500d221663abdfb5c785fa0a9f5eb57222fee7 Mon Sep 17 00:00:00 2001 From: kornzhoudev Date: Thu, 12 Sep 2024 15:21:09 +1000 Subject: [PATCH 2/3] test1 --- charts/hello-world/Chart.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/hello-world/Chart.yaml b/charts/hello-world/Chart.yaml index 576f5e9..7a198a2 100644 --- a/charts/hello-world/Chart.yaml +++ b/charts/hello-world/Chart.yaml @@ -21,4 +21,5 @@ version: 0.1.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. +# test appVersion: "1.16.0" From d63f33b19a7b23b19976ed0f6b589fb8638e7eac Mon Sep 17 00:00:00 2001 From: kornzhoudev Date: Thu, 12 Sep 2024 15:29:07 +1000 Subject: [PATCH 3/3] Add value for ns --- .gitignore | 4 ++++ charts/hello-world/templates/deployment.yaml | 1 + charts/hello-world/values.yaml | 1 + 3 files changed, 6 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..68ddb91 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +._.DS_Store +**/.DS_Store +**/._.DS_Store diff --git a/charts/hello-world/templates/deployment.yaml b/charts/hello-world/templates/deployment.yaml index 650e0df..d0b1f1f 100644 --- a/charts/hello-world/templates/deployment.yaml +++ b/charts/hello-world/templates/deployment.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "hello-world.fullname" . }} + namespace: {{ .Values.namespace }} labels: {{- include "hello-world.labels" . | nindent 4 }} spec: diff --git a/charts/hello-world/values.yaml b/charts/hello-world/values.yaml index a85d5a9..24120c5 100644 --- a/charts/hello-world/values.yaml +++ b/charts/hello-world/values.yaml @@ -1,6 +1,7 @@ # Default values for hello-world. # This is a YAML-formatted file. # Declare variables to be passed into your templates. +namespace: default replicaCount: 1