Skip to content

Commit

Permalink
feat: enable ingress for Nautobot
Browse files Browse the repository at this point in the history
Enable the default ingress for Nautobot.
  • Loading branch information
cardoe committed Feb 13, 2024
1 parent b31ebf7 commit 046af4e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/09-nautobot/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ resources:
- nautobot/templates/nginx-configmap.yaml
- nautobot/templates/service-account.yaml
- nautobot/templates/service.yaml
- nautobot/templates/ingress.yaml
31 changes: 31 additions & 0 deletions components/09-nautobot/base/nautobot/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# Source: nautobot/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nautobot
namespace: "nautobot"
labels:
app.kubernetes.io/name: nautobot
helm.sh/chart: nautobot-2.0.5
app.kubernetes.io/instance: nautobot
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: "2.0.5"
annotations:
cert-manager.io/cluster-issuer: selfsigned-cluster-issuer
spec:
rules:
- host: nautobot.local
http:
paths:
- path: "/"
pathType: Prefix
backend:
service:
name: nautobot-default
port:
name: https
tls:
- hosts:
- nautobot.local
secretName: nautobot-tls
6 changes: 6 additions & 0 deletions components/09-nautobot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ postgresql:

redis:
enabled: false

ingress:
enabled: true
tls: true
annotations:
cert-manager.io/cluster-issuer: selfsigned-cluster-issuer

0 comments on commit 046af4e

Please sign in to comment.