blob: e4110b7b30004219d4512d84547d38c0c24891be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
apiVersion: v1
kind: Pod
metadata:
labels:
logging-infra: support
generateName: jks-cert-gen-
spec:
containers:
- name: jks-cert-gen
image: {{openshift_logging_image_prefix}}logging-deployer:{{openshift_logging_image_version}}
imagePullPolicy: IfNotPresent
command: ["sh", "{{generated_certs_dir}}/generate-jks.sh"]
securityContext:
privileged: true
volumeMounts:
- mountPath: {{generated_certs_dir}}
name: certmount
env:
- name: PROJECT
value: {{openshift_logging_namespace}}
- name: CERT_DIR
value: {{generated_certs_dir}}
restartPolicy: Never
serviceAccount: jks-generator
volumes:
- hostPath:
path: "{{generated_certs_dir}}"
name: certmount
|