Skip to content

Instantly share code, notes, and snippets.

@rossf7
Created May 16, 2017 06:32
Show Gist options
  • Save rossf7/106fc1c97ebf24517d8be3cb30eb9a49 to your computer and use it in GitHub Desktop.
Save rossf7/106fc1c97ebf24517d8be3cb30eb9a49 to your computer and use it in GitHub Desktop.
Run Vault 0.6.4 in Kubernetes for giantswarm/cert-operator development
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: vault
namespace: default
labels:
app: vault
spec:
replicas: 1
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: vault
spec:
containers:
- name: vault
image: vault:0.6.4
ports:
- name: http
containerPort: 8200
args:
- server
- -dev
- -dev-root-token-id=YOUR_TOKEN
- -log-level=debug
---
apiVersion: v1
kind: Service
metadata:
name: vault
namespace: default
labels:
app: vault
spec:
type: ClusterIP
ports:
- name: api
port: 8200
targetPort: http
selector:
app: vault
sessionAffinity: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment