From d9f5ca9d441215166520cc57bc293588a97ab598 Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Thu, 4 May 2023 10:35:38 +0200 Subject: [PATCH] feat: add podLabels --- charts/restinthemiddle/Chart.yaml | 2 +- charts/restinthemiddle/README.md | 3 ++- charts/restinthemiddle/templates/deployment.yaml | 3 +++ charts/restinthemiddle/values.yaml | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/restinthemiddle/Chart.yaml b/charts/restinthemiddle/Chart.yaml index 1998fc5..0fc066a 100644 --- a/charts/restinthemiddle/Chart.yaml +++ b/charts/restinthemiddle/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: restinthemiddle description: Deploy the HTTP logging proxy with ease type: application -version: 0.6.0 +version: 0.7.0 diff --git a/charts/restinthemiddle/README.md b/charts/restinthemiddle/README.md index 4f107d5..1fc6f7a 100644 --- a/charts/restinthemiddle/README.md +++ b/charts/restinthemiddle/README.md @@ -1,6 +1,6 @@ # restinthemiddle -![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Deploy the HTTP logging proxy with ease @@ -42,6 +42,7 @@ Deploy the HTTP logging proxy with ease | namespace | string | `"default"` | | | nodeSelector | object | `{}` | | | podAnnotations | object | `{}` | | +| podLabels | object | `{}` | | | podSecurityContext | object | `{}` | | | replicaCount | int | `1` | Leave this at 1 if you do not have centralized logging. | | resources | object | `{"limits":{"cpu":"100m","memory":"64Mi"},"requests":{"cpu":"10m","memory":"32Mi"}}` | Adjust those values to your needs. These values are only suggestions! | diff --git a/charts/restinthemiddle/templates/deployment.yaml b/charts/restinthemiddle/templates/deployment.yaml index 383cb05..7a40c92 100644 --- a/charts/restinthemiddle/templates/deployment.yaml +++ b/charts/restinthemiddle/templates/deployment.yaml @@ -20,6 +20,9 @@ spec: {{- end }} labels: {{- include "restinthemiddle.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/restinthemiddle/values.yaml b/charts/restinthemiddle/values.yaml index 63a33f7..290ba12 100644 --- a/charts/restinthemiddle/values.yaml +++ b/charts/restinthemiddle/values.yaml @@ -43,6 +43,8 @@ serviceAccount: podAnnotations: {} +podLabels: {} + podSecurityContext: {} # fsGroup: 2000