-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove Middleware and Use Ingress Route
Signed-off-by: Shubham Gupta <[email protected]>
- Loading branch information
Shubham Gupta
committed
Sep 6, 2024
1 parent
e5fed46
commit 350661b
Showing
2 changed files
with
6 additions
and
17 deletions.
There are no files selected for viewing
13 changes: 6 additions & 7 deletions
13
argocd-helm-charts/puppetserver/templates/puppetdb-ingressroutetcp.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
apiVersion: traefik.io/v1alpha1 | ||
kind: IngressRouteTCP | ||
kind: IngressRoute | ||
metadata: | ||
name: puppetdb-{{ .Values.customerid }} | ||
spec: | ||
entryPoints: | ||
- websecure | ||
routes: | ||
- match: HostSNI(`{{ .Values.customerid }}.puppetdb.obmondo.com`) | ||
- kind: Rule | ||
match: Host(`{{ .Values.customerid }}.puppetdb.obmondo.com`) | ||
priority: 10 | ||
services: | ||
- name: puppetserver-{{ .Values.customerid }}-puppetdb | ||
port: pdb-https | ||
middlewares: | ||
- name: middlewaretcp-{{ .Values.customerid }} | ||
- kind: Service | ||
name: puppetserver-{{ .Values.customerid }}-puppetdb | ||
port: pdb-http | ||
tls: | ||
passthrough: true | ||
options: | ||
name: prometheus-puppet-agent-tls-auth | ||
namespace: traefik |
10 changes: 0 additions & 10 deletions
10
argocd-helm-charts/puppetserver/templates/puppetdb-middlewaretcp.yaml
This file was deleted.
Oops, something went wrong.