Skip to content

Commit

Permalink
feat: add podLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed May 4, 2023
1 parent 5f4a80f commit d9f5ca9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/restinthemiddle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion charts/restinthemiddle/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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! |
Expand Down
3 changes: 3 additions & 0 deletions charts/restinthemiddle/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ spec:
{{- end }}
labels:
{{- include "restinthemiddle.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
2 changes: 2 additions & 0 deletions charts/restinthemiddle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ serviceAccount:

podAnnotations: {}

podLabels: {}

podSecurityContext: {}
# fsGroup: 2000

Expand Down

0 comments on commit d9f5ca9

Please sign in to comment.