Skip to content
Snippets Groups Projects
Commit a852b1d0dc13 authored by Xavier Garnier's avatar Xavier Garnier :bicyclist:
Browse files

feat: enabled value for ingress and service

parent f08919549ff5
No related branches found
No related tags found
No related merge requests found
{{- if .Values.ingress }}
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
......
{{- if .Values.service.enabled }}
---
apiVersion: v1
kind: Service
......@@ -14,3 +15,4 @@
selector:
app.kubernetes.io/name: {{ .Values.appName }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
......@@ -57,5 +57,9 @@
# cpu: 100m
# memory: 512Mi
# Configure service
service:
enabled: true
# Configure nginx ingress
ingress:
......@@ -60,5 +64,6 @@
# Configure nginx ingress
ingress:
enabled: true
clusterIssuer: "letsencrypt-staging"
tlsSecret: true
path: /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment