Created
February 2, 2019 13:09
-
-
Save gmaliar/f703d0e2400783c75423fe708868f331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: vaultservices.vault.security.coreos.com | |
spec: | |
group: vault.security.coreos.com | |
names: | |
kind: VaultService | |
listKind: VaultServiceList | |
plural: vaultservices | |
shortNames: | |
- vault | |
singular: vaultservice | |
scope: Namespaced | |
version: v1alpha1 | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: vault-operator | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
name: vault-operator | |
spec: | |
containers: | |
- name: vault-operator | |
image: quay.io/coreos/vault-operator:latest | |
env: | |
- name: MY_POD_NAMESPACE | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.namespace | |
- name: MY_POD_NAME | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.name | |
--- | |
apiVersion: "vault.security.coreos.com/v1alpha1" | |
kind: "VaultService" | |
metadata: | |
name: "vault" | |
spec: | |
nodes: 2 | |
version: "0.9.1-0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment