From 3882c70986ac77852ad5528f7b076acc3a65afc4 Mon Sep 17 00:00:00 2001 From: Ezequiel Lopes Date: Thu, 23 Jan 2025 16:12:41 -0300 Subject: [PATCH] chore: bump nginx-operator version to 1.6.0 and appVersion to 0.17.0 (#26) * chore: bump nginx-operator version to 1.6.0 and appVersion to 0.17.0 * feat: add GCP_PROJECT_ID environment variable and gcpProjectID configuration * fix: rename gcpProjectID to projectID in nginx-operator values.yaml --- charts/nginx-operator/Chart.yaml | 4 ++-- charts/nginx-operator/templates/deployment.yaml | 2 ++ charts/nginx-operator/values.yaml | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/nginx-operator/Chart.yaml b/charts/nginx-operator/Chart.yaml index b6eb181..4d9e522 100644 --- a/charts/nginx-operator/Chart.yaml +++ b/charts/nginx-operator/Chart.yaml @@ -17,9 +17,9 @@ sources: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.5.9 +version: 1.6.0 # This is the version number of the application being deployed. This version number should be # 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. -appVersion: 0.16.1 +appVersion: 0.17.0 diff --git a/charts/nginx-operator/templates/deployment.yaml b/charts/nginx-operator/templates/deployment.yaml index a615dad..87fc9ad 100644 --- a/charts/nginx-operator/templates/deployment.yaml +++ b/charts/nginx-operator/templates/deployment.yaml @@ -62,6 +62,8 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: "GCP_PROJECT_ID" + value: { .Values.gcp.projectID } {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/nginx-operator/values.yaml b/charts/nginx-operator/values.yaml index 0bbf6e0..6a74567 100644 --- a/charts/nginx-operator/values.yaml +++ b/charts/nginx-operator/values.yaml @@ -67,3 +67,6 @@ nodeSelector: {} tolerations: [] affinity: {} + +gcp: + projectID: "" \ No newline at end of file