mirror of
https://github.com/outbackdingo/deployment.git
synced 2026-03-21 12:41:23 +00:00
Update kerberos-vault-deployment.yaml
This commit is contained in:
@@ -16,6 +16,41 @@ data:
|
||||
MONGODB_USERNAME: "root"
|
||||
MONGODB_PASSWORD: "yourpassword"
|
||||
---
|
||||
# You might use a LoadBalancer service instead of a NodePort service.
|
||||
# If so uncomment the LoadBalancer service below and comment the NodePort service.
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: vault-nodeport
|
||||
labels:
|
||||
app: vault
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
nodePort: 30080 # You can specify a port in the range 30000-32767 or let Kubernetes assign one automatically
|
||||
name: frontend
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: vault
|
||||
# ---
|
||||
# apiVersion: v1
|
||||
# kind: Service
|
||||
# metadata:
|
||||
# name: vault-lb
|
||||
# labels:
|
||||
# app: vault
|
||||
# spec:
|
||||
# type: LoadBalancer
|
||||
# ports:
|
||||
# - port: 80
|
||||
# targetPort: 80
|
||||
# name: frontend
|
||||
# protocol: TCP
|
||||
# selector:
|
||||
# app: vault
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -95,22 +130,4 @@ spec:
|
||||
#volumes:
|
||||
#- name: rootcerts
|
||||
# configMap:
|
||||
# name: rootcerts
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: vault-lb
|
||||
labels:
|
||||
app: vault
|
||||
spec:
|
||||
#type: LoadBalancer # You might want to use a loadbalancer if you are on a cloud provider (or using MetalLB).
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
nodePort: 30080 # You can specify a port in the range 30000-32767 or let Kubernetes assign one automatically
|
||||
name: frontend
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: vault
|
||||
# name: rootcerts
|
||||
Reference in New Issue
Block a user