Created
December 28, 2019 04:11
-
-
Save get2arun/73513217ebebc3380658a828c63fe83c to your computer and use it in GitHub Desktop.
vault-deployment_0.yaml
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
This is the error message in pod logs, when using the below deployment.yaml file. | |
~/github/hashitvault$ oc logs pod/vault-84776dfb85-9kkf9 | |
Error initializing listener of type tcp: 'tls_cert_file' must be set | |
deployment.yaml: | |
kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
labels: | |
app: vault | |
name: vault | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: vault | |
template: | |
metadata: | |
labels: | |
app: vault | |
spec: | |
serviceAccountName: vault-auth | |
containers: | |
- image: 172.30.1.1:5000/vault-demo/vault:1.3.1 | |
name: vault | |
ports: | |
- containerPort: 8200 | |
name: vaultport | |
protocol: TCP | |
args: | |
- server | |
- -log-level=debug | |
env: | |
- name: SKIP_SETCAP | |
value: 'true' | |
- name: SKIP_CHOWN | |
value: 'true' | |
- name: VAULT_LOCAL_CONFIG | |
valueFrom: | |
configMapKeyRef: | |
name: vault-config | |
key: vault-config | |
volumeMounts: | |
- name: vault-file-backend | |
mountPath: /vault/file | |
readOnly: false | |
volumes: | |
- name: vault-file-backend | |
persistentVolumeClaim: | |
claimName: vault-file-backend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment