File tree Expand file tree Collapse file tree 1 file changed +44
-17
lines changed Expand file tree Collapse file tree 1 file changed +44
-17
lines changed Original file line number Diff line number Diff line change @@ -2367,23 +2367,50 @@ spec:
23672367 volumeMounts :
23682368 volumes :
23692369---
2370+ # ingress format for local demo
2371+ # apiVersion: networking.k8s.io/v1
2372+ # kind: Ingress
2373+ # metadata:
2374+ # name: frontend-proxy-ingress
2375+ # # annotations:
2376+ # # kubernetes.io/ingress.class: traefik
2377+ # spec:
2378+ # rules:
2379+ # - http:
2380+ # paths:
2381+ # - path: /
2382+ # pathType: Prefix
2383+ # backend:
2384+ # service:
2385+ # name: frontend-proxy
2386+ # port:
2387+ # number: 8080
2388+ ---
2389+ # Ingress format for official demo with AWS domain
23702390apiVersion : networking.k8s.io/v1
23712391kind : Ingress
23722392metadata :
2373- name : frontend-proxy-ingress
2374- # annotations:
2375- # kubernetes.io/ingress.class: traefik
2393+ name : frontend
2394+ annotations :
2395+ cert-manager.io/cluster-issuer : " letsencrypt-prod"
2396+ traefik.ingress.kubernetes.io/router.middlewares : default-custom-headers@kubernetescrd
23762397spec :
2398+ ingressClassName : traefik
2399+ tls :
2400+ - hosts :
2401+ - example.example.com
2402+ secretName : splunk-demo-tls
23772403 rules :
2378- - http :
2379- paths :
2380- - path : /
2381- pathType : Prefix
2382- backend :
2383- service :
2384- name : frontend-proxy
2385- port :
2386- number : 8080
2404+ - host : example.example.com
2405+ http :
2406+ paths :
2407+ - path : /
2408+ pathType : Prefix
2409+ backend :
2410+ service :
2411+ name : frontend
2412+ port :
2413+ number : 80
23872414---
23882415apiVersion : apps/v1
23892416kind : Deployment
@@ -2412,11 +2439,11 @@ spec:
24122439 imagePullPolicy : Always
24132440 env :
24142441 - name : RUM_FRONTEND_IP
2415- # valueFrom:
2416- # secretKeyRef:
2417- # name: workshop-secret
2418- # key: url
2419- value : 192.168.3.214
2442+ valueFrom :
2443+ secretKeyRef :
2444+ name : workshop-secret
2445+ key : url
2446+ # value: 192.168.3.214
24202447 volumeMounts :
24212448 - name : puppeteer
24222449 subPath : local-file
You can’t perform that action at this time.
0 commit comments