Skip to content

Instantly share code, notes, and snippets.

@glendmaatita
Created June 12, 2024 09:22
Show Gist options
  • Save glendmaatita/194ca393945f562d8ea3c81a1d6b7e8b to your computer and use it in GitHub Desktop.
Save glendmaatita/194ca393945f562d8ea3c81a1d6b7e8b to your computer and use it in GitHub Desktop.
Vault Ingress
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: vault
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-issuer
spec:
rules:
- host: vault.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: vault
port:
number: 8200
tls:
- hosts:
- vault.example.com
secretName: tls-secret-ops-vault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment