Skip to content

Commit

Permalink
Add labels in openshift route resource (#337)
Browse files Browse the repository at this point in the history
* Add labels in openshift route resource
- Add common and custom labels to the route resource
- Upgrade chart version to 2.15.12
- Regenerate doc with helm-docs

Signed-off-by: Calvin Audier <[email protected]>

* Update charts/litmus/README.md

Co-authored-by: gdsoumya <[email protected]>
Signed-off-by: Calvinaud <[email protected]>

---------

Signed-off-by: Calvin Audier <[email protected]>
Signed-off-by: Calvinaud <[email protected]>
Co-authored-by: Calvin Audier <[email protected]>
Co-authored-by: gdsoumya <[email protected]>
  • Loading branch information
3 people authored Oct 12, 2023
1 parent deef923 commit 3558be0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/litmus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "3.0.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 3.0.0
version: 3.0.1
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
3 changes: 2 additions & 1 deletion charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.1-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)

A Helm chart to install ChaosCenter

Expand Down Expand Up @@ -76,6 +76,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| mongodb.auth.existingSecret | string | `""` | existingSecret Existing secret with MongoDB(&reg;) credentials (keys: `mongodb-passwords`, `mongodb-root-password`, `mongodb-metrics-password`, ` mongodb-replica-set-key`) |
| nameOverride | string | `""` | |
| openshift.route.annotations | object | `{}` | |
| openshift.route.customLabels | object | `{}` | |
| openshift.route.enabled | bool | `false` | |
| openshift.route.host | string | `""` | |
| openshift.route.name | string | `"litmus-portal"` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/litmus/templates/frontend-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
labels:
app.kubernetes.io/part-of: {{ $fullName }}-server
app.kubernetes.io/part-of: {{ $fullName }}-frontend
{{- include "litmus-portal.labels" . | nindent 4 }}
{{- if .Values.openshift.route.customLabels }}
{{ toYaml .Values.openshift.route.customLabels | nindent 4 }}
{{- end }}
{{- with .Values.openshift.route.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/litmus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ openshift:
route:
enabled: false
name: litmus-portal
customLabels: {}
annotations: {}
host: ""

Expand Down

0 comments on commit 3558be0

Please sign in to comment.