diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/app-values.yaml index 117781240d..640f45ddb9 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/app-values.yaml @@ -29,6 +29,7 @@ args: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/ingress.yaml index f64127f4cf..5464ad7a77 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/templates/ingress.yaml @@ -9,6 +9,9 @@ metadata: app: {{ template ".Chart.Name .name" . }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/values.yaml index 321b39d641..aee5d06655 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-0-0/values.yaml @@ -31,6 +31,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -76,6 +78,7 @@ servicemonitor: ingress: enabled: false annotations: {} + labels: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" # kubernetes.io/ingress.class: nginx diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/app-values.yaml index 117781240d..640f45ddb9 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/app-values.yaml @@ -29,6 +29,7 @@ args: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/ingress.yaml index b21481d7a2..f682a9d72d 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/values.yaml index 321b39d641..aee5d06655 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-1-0/values.yaml @@ -31,6 +31,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -76,6 +78,7 @@ servicemonitor: ingress: enabled: false annotations: {} + labels: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" # kubernetes.io/ingress.class: nginx diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/app-values.yaml index f86449c8bf..75ad6ea4cd 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/app-values.yaml @@ -79,6 +79,7 @@ ReadinessProbe: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -173,6 +174,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/hpa.yaml index 2a2937338a..3ed0cc0148 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/ingress.yaml index 02ed42db27..7c9199f1e3 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/values.yaml index 25b8328c4a..31e2a538a8 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/values.yaml @@ -53,6 +53,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages @@ -135,6 +137,7 @@ prometheusRule: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/app-values.yaml index 711f419643..bc3cd5ca77 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/app-values.yaml @@ -79,6 +79,7 @@ ReadinessProbe: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' nginx.ingress.kubernetes.io/ssl-redirect: 'false' @@ -186,6 +187,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/hpa.yaml index 2a2937338a..3ed0cc0148 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/ingress.yaml index 9371d7575a..21cb19859b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/templates/ingress.yaml @@ -13,6 +13,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/values.yaml index 252fcad3bf..4f9ea0cc4a 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/values.yaml @@ -53,6 +53,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages @@ -134,6 +136,7 @@ prometheusRule: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/app-values.yaml index 217bef4834..95a4262890 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/app-values.yaml @@ -79,6 +79,7 @@ ReadinessProbe: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' nginx.ingress.kubernetes.io/ssl-redirect: 'false' @@ -186,6 +187,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/hpa.yaml index 2a2937338a..3ed0cc0148 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/ingress.yaml index 9371d7575a..21cb19859b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/templates/ingress.yaml @@ -13,6 +13,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/values.yaml index e4b1369f63..300397948c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/values.yaml @@ -53,6 +53,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages @@ -138,6 +140,7 @@ prometheusRule: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/app-values.yaml index c30603cb12..97cb640ac8 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/app-values.yaml @@ -27,6 +27,7 @@ ContainerPort: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -92,6 +93,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} server: deployment: diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/ingress.yaml index 514ba9f48a..64fe601afa 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/values.yaml index 08755deefc..5a949bde0f 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-3-0/values.yaml @@ -32,6 +32,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -80,6 +82,7 @@ servicemonitor: ingress: enabled: false annotations: {} + labels: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" # kubernetes.io/ingress.class: nginx diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/app-values.yaml index 423d53d6df..7fde378112 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/app-values.yaml @@ -39,6 +39,7 @@ ContainerPort: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -104,6 +105,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} server: deployment: diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/ingress.yaml index 514ba9f48a..64fe601afa 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/values.yaml index 08755deefc..86312a775b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-4-0/values.yaml @@ -32,6 +32,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -79,6 +81,7 @@ servicemonitor: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/app-values.yaml index 423d53d6df..7fde378112 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/app-values.yaml @@ -39,6 +39,7 @@ ContainerPort: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -104,6 +105,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} server: deployment: diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/ingress.yaml index 514ba9f48a..64fe601afa 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/values.yaml index a5c30b2154..7afed55f2b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-5-0/values.yaml @@ -32,6 +32,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -79,6 +81,7 @@ servicemonitor: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/app-values.yaml index 9332cb6725..d84efa0739 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/app-values.yaml @@ -39,6 +39,7 @@ ContainerPort: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -104,6 +105,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} server: deployment: diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/ingress.yaml index 514ba9f48a..64fe601afa 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/values.yaml index c6886aa332..cca57b7f56 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-6-0/values.yaml @@ -32,6 +32,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -79,6 +81,7 @@ servicemonitor: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/app-values.yaml index ad14763063..43671e2480 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/app-values.yaml @@ -39,6 +39,7 @@ ContainerPort: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -104,6 +105,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} server: deployment: diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/ingress.yaml index 514ba9f48a..64fe601afa 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/values.yaml index 71efc74f75..c694b73910 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-7-0/values.yaml @@ -32,6 +32,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -79,6 +81,7 @@ servicemonitor: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/app-values.yaml index ad14763063..43671e2480 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/app-values.yaml @@ -39,6 +39,7 @@ ContainerPort: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -104,6 +105,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} server: deployment: diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/hpa.yaml index 2d288016c1..12f142872c 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/ingress.yaml index 514ba9f48a..64fe601afa 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/values.yaml index 71efc74f75..c694b73910 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-8-0/values.yaml @@ -32,6 +32,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} secret: enabled: false @@ -79,6 +81,7 @@ servicemonitor: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/app-values.yaml index c5959433f2..0c6cdbcfcf 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/app-values.yaml @@ -75,6 +75,7 @@ ReadinessProbe: ingress: enabled: false + labels: {} annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' @@ -169,6 +170,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/hpa.yaml index 2a2937338a..3ed0cc0148 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/hpa.yaml @@ -4,6 +4,14 @@ apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/ingress.yaml index 02ed42db27..7c9199f1e3 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/values.yaml index 16473a8ffe..a63bf91561 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/values.yaml @@ -52,6 +52,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} extraMetrics: [] # - external: # metricName: pubsub.googleapis.com|subscription|num_undelivered_messages @@ -134,6 +136,7 @@ prometheusRule: ingress: enabled: false + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/app-values.yaml index 2a2754e738..6d650c2100 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/app-values.yaml @@ -80,6 +80,7 @@ ReadinessProbe: ingress: enabled: false className: "" + labels: {} annotations: {} # nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' # nginx.ingress.kubernetes.io/ssl-redirect: 'false' @@ -192,6 +193,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} behavior: {} # scaleDown: # stabilizationWindowSeconds: 300 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/hpa.yaml index 04bc8e97cb..4db0b4cc46 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/hpa.yaml @@ -7,6 +7,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/ingress.yaml index f78a9718f7..6159b3a643 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/templates/ingress.yaml @@ -29,6 +29,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/values.yaml index 665d1d0355..c1586e5037 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/values.yaml @@ -53,6 +53,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} behavior: {} # scaleDown: # stabilizationWindowSeconds: 300 @@ -160,6 +162,7 @@ prometheusRule: ingress: enabled: false + labels: {} className: "" annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/app-values.yaml index 185e2de6e6..1bd43d501d 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/app-values.yaml @@ -79,6 +79,7 @@ ReadinessProbe: ingress: enabled: false className: "" + labels: {} annotations: {} # nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' # nginx.ingress.kubernetes.io/ssl-redirect: 'false' @@ -197,6 +198,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} behavior: {} # scaleDown: # stabilizationWindowSeconds: 300 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/hpa.yaml index 04bc8e97cb..4db0b4cc46 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/hpa.yaml @@ -7,6 +7,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/ingress.yaml index f78a9718f7..6159b3a643 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/templates/ingress.yaml @@ -29,6 +29,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/values.yaml index d44c3f8984..e99dc95a41 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-11-0/values.yaml @@ -53,6 +53,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} behavior: {} # scaleDown: # stabilizationWindowSeconds: 300 @@ -189,6 +191,7 @@ prometheusRule: ingress: enabled: false className: "" + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/app-values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/app-values.yaml index 9e1566a365..1fa0274806 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/app-values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/app-values.yaml @@ -79,6 +79,7 @@ ReadinessProbe: ingress: enabled: false className: "" + labels: {} annotations: {} # nginx.ingress.kubernetes.io/force-ssl-redirect: 'false' # nginx.ingress.kubernetes.io/ssl-redirect: 'false' @@ -197,6 +198,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 70 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} behavior: {} # scaleDown: # stabilizationWindowSeconds: 300 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/hpa.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/hpa.yaml index 04bc8e97cb..4db0b4cc46 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/hpa.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/hpa.yaml @@ -7,6 +7,14 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ template ".Chart.Name .fullname" $ }}-hpa + {{- if .Values.autoscaling.annotations }} + annotations: +{{ toYaml .Values.autoscaling.annotations | indent 4 }} + {{- end }} + {{- if .Values.autoscaling.labels }} + labels: +{{ toYaml .Values.autoscaling.labels | indent 4 }} + {{- end }} spec: scaleTargetRef: apiVersion: argoproj.io/v1alpha1 diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/ingress.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/ingress.yaml index f78a9718f7..6159b3a643 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/ingress.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/templates/ingress.yaml @@ -29,6 +29,9 @@ metadata: envId: {{ $.Values.env | quote }} chart: {{ template ".Chart.Name .chart" . }} release: {{ .Release.Name }} + {{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} + {{- end }} {{- if .Values.ingress.annotations }} annotations: {{ toYaml .Values.ingress.annotations | indent 4 }} diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/values.yaml b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/values.yaml index 95f8f2f5ca..79f41f10a8 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/values.yaml +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-12-0/values.yaml @@ -53,6 +53,8 @@ autoscaling: MaxReplicas: 2 TargetCPUUtilizationPercentage: 90 TargetMemoryUtilizationPercentage: 80 + annotations: {} + labels: {} behavior: {} # scaleDown: # stabilizationWindowSeconds: 300 @@ -189,6 +191,7 @@ prometheusRule: ingress: enabled: false className: "" + labels: {} annotations: {} # nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/ssl-redirect: "false"