Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(litmus): adding "ns.svc.cluster.local" to urls #371

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.5.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 3.5.1
version: 3.5.2
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
4 changes: 1 addition & 3 deletions charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

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

A Helm chart to install ChaosCenter

Expand Down Expand Up @@ -237,5 +237,3 @@ We separated service configuration from `portal.server.service` to `portal.serve
| upgradeAgent.resources | object | `{}` | |
| upgradeAgent.tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
2 changes: 1 addition & 1 deletion charts/litmus/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Check for existing secret
{{- $hosts := "" -}}
{{- $count := (.Values.mongodb.replicaCount | int) -}}
{{- range $i, $e := until $count -}}
{{- $host := printf "%s-mongodb-%d.%s-mongodb-headless" $.Release.Name $i $.Release.Name -}}
{{- $host := printf "%s-mongodb-%d.%s-mongodb-headless.%s.svc.cluster.local" $.Release.Name $i $.Release.Name $.Release.Namespace -}}
{{- $hosts = printf "%s%s:%d," $hosts $host 27017 -}}
{{- end -}}
mongodb://{{ trimSuffix "," $hosts }}/admin
Expand Down
6 changes: 3 additions & 3 deletions charts/litmus/templates/controlplane-configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass "http://{{ include "litmus-portal.fullname" . }}-auth-server-service:9003/";
proxy_pass "http://{{ include "litmus-portal.fullname" . }}-auth-server-service.{{ .Release.Namespace }}.svc.cluster.local:9003/";
}

location /api/ {
Expand All @@ -97,7 +97,7 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass "http://{{ include "litmus-portal.fullname" . }}-server-service:9002/";
proxy_pass "http://{{ include "litmus-portal.fullname" . }}-server-service.{{ .Release.Namespace }}.svc.cluster.local:9002/";
}

location /ws/ {
Expand All @@ -108,7 +108,7 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass "http://{{ include "litmus-portal.fullname" . }}-server-service:9002/";
proxy_pass "http://{{ include "litmus-portal.fullname" . }}-server-service.{{ .Release.Namespace }}.svc.cluster.local:9002/";
}
}
}
Loading