mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
20 lines
637 B
YAML
20 lines
637 B
YAML
# Headless service for Vault server DNS entries. This service should only
|
|
# point to Vault servers. For access to an agent, one should assume that
|
|
# the agent is installed locally on the node and the NODE_IP should be used.
|
|
# If the node can't run a Vault agent, then this service can be used to
|
|
# communicate directly to a server agent.
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: vault-example-ui
|
|
labels:
|
|
app.kubernetes.io/name: vault-example-ui
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: vault-example
|
|
component: server
|
|
publishNotReadyAddresses: true
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
targetPort: 8200 |