Skip to content

Commit

Permalink
added ingressroute and disabled ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish1099 committed Aug 13, 2024
1 parent 0edee69 commit fde8302
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions argocd-helm-charts/puppetserver/templates/ingressroute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: puppetserver-{{ .Values.customerid }}
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`{{ .Values.customerid }}.puppet.obmondo.com`)
priority: 10
services:
- kind: Service
name: puppetserver-{{ .Values.customerid }}-puppet
namespace: puppetserver-{{ .Values.customerid }}
passHostHeader: true
port: puppetserver
healthCheck:
path: /status/v1/simple
interval: 15s
nativeLB: true
tls:
certResolver: puppetserver-{{ .Values.customerid }}
domains:
- main: {{ .Values.customerid }}.puppet.obmondo.com
2 changes: 1 addition & 1 deletion argocd-helm-charts/puppetserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ puppetserver:
puppeturl: ""
masters:
ingress:
enabled: true
enabled: false

r10k:
asSidecar: false
Expand Down

0 comments on commit fde8302

Please sign in to comment.