Skip to content

Commit

Permalink
Merge pull request #7 from flanksource/move-ingress-to-tenant
Browse files Browse the repository at this point in the history
fix: deploy ingress in the tenant chart and not via mission control chart
  • Loading branch information
moshloop authored Jul 24, 2023
2 parents 3e89c4a + 3d94315 commit fc54b0b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
22 changes: 22 additions & 0 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: incident-manager-ui-{{ .Release.Name }}
namespace: {{ .Release.Namespace }}
annotations:
kubernetes.io/tls-acme: "true"
spec:
tls:
- hosts: {{ .Values.domain | quote }}
secretName: mission-control-tls-{{ .Release.Name }}
rules:
- host: {{ .Values.domain | quote }}
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: incident-manager-ui-x-default-x-{{ .Release.Name }}
port:
number: 80
10 changes: 2 additions & 8 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
nameOverride: ""
fullnameOverride: ""

domain: ""
missionControlChartVersion: ">=0.0.0"
missionControl:
canary-checker:
Expand All @@ -10,13 +10,7 @@ missionControl:
flanksource-ui:
oryKratosURL: https://mission-control.local/api/.ory
ingress:
annotations:
kubernetes.io/tls-acme: "true"
host: mission-control.local
tls:
- hosts:
- mission-control.demo.local
secretName: mission-control-tls
enabled: false

# See https://github.com/loft-sh/vcluster/blob/main/charts/k3s/values.yaml
vcluster:
Expand Down

0 comments on commit fc54b0b

Please sign in to comment.