blob: d7794a407062b1cb7591f0035dd8478254a05027 (
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
|
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: Always
command: ["sh", "generate-jks.sh"]
securityContext:
privileged: true
volumeMounts:
- mountPath: /opt/deploy
name: certmount
env:
- name: PROJECT
value: {{openshift_logging_namespace}}
restartPolicy: Never
serviceAccount: aggregated-logging-fluentd
volumes:
- hostPath:
path: "{{generated_certs_dir}}"
name: certmount
|