Skip to content

Commit

Permalink
fix(fission): open fission router ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 29, 2024
1 parent 26d4b9e commit 858a233
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
29 changes: 29 additions & 0 deletions registry/clusters/dev/components/fission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,35 @@ spec:
repoURL: https://github.com/mrsimonemms/infrastructure
path: registry/components/fission
targetRevision: HEAD
kustomize:
patches:
- target:
group: networking.k8s.io
version: v1
kind: Ingress
name: fission
patch: |-
- op: replace
path: /spec/rules/hosts/0/host
value: fission.dev.simonemms.com
- target:
group: networking.k8s.io
version: v1
kind: Ingress
name: fission
patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: fission.dev.simonemms.com
- target:
group: networking.k8s.io
version: v1
kind: Ingress
name: fission
patch: |-
- op: replace
path: /spec/metadata/annotations/cert-manager.io~1cluster-issuer
value: letsencrypt-staging
destination:
server: https://kubernetes.default.svc
namespace: fission
Expand Down
1 change: 1 addition & 0 deletions registry/components/fission/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
helm:
valuesObject:
analytics: false
routerServiceType: ClusterIP
destination:
server: https://kubernetes.default.svc
namespace: fission
Expand Down
26 changes: 26 additions & 0 deletions registry/components/fission/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fission
namespace: fission
annotations:
argocd.argoproj.io/sync-wave: "20"
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt
spec:
ingressClassName: nginx
rules:
- host: fission.simonemms.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: router
port:
number: 80
tls:
- hosts:
- fission.simonemms.com
secretName: fission-tls
1 change: 1 addition & 0 deletions registry/components/fission/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ kind: Kustomization
resources:
- application.yaml
- crds.yaml
- ingress.yaml
- namespace.yaml

0 comments on commit 858a233

Please sign in to comment.