Skip to content

Commit

Permalink
feat: Add TCP ingress route for puppetdb
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <sgupta@obmondo.com>
  • Loading branch information
Shubham Gupta committed Aug 22, 2024
1 parent 5be86fe commit a74fb76
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: puppetdb-{{ .Values.customerid }}
spec:
entryPoints:
- websecure
routes:
- match: HostSNI(`{{ .Values.customerid }}.puppetdb.enableit.dk`)
priority: 10
services:
- name: puppetserver-{{ .Values.customerid }}-puppetdb
port: pdb-https
middlewares:
- name: middleware-{{ .Values.customerid }}
tls:
passthrough: true
options:
name: prometheus-puppet-agent-tls-auth
namespace: traefik
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,5 @@ spec:
services:
- name: puppetserver-{{ .Values.customerid }}-puppet
port: puppetserver
- match: HostSNI(`{{ .Values.customerid }}.puppetdb.obmondo.com`)
priority: 10
services:
- name: puppetserver-{{ .Values.customerid }}-puppetdb
port: pdb-https
middlewares:
- name: middleware-{{ .Values.customerid }}
tls:
passthrough: true

0 comments on commit a74fb76

Please sign in to comment.