python-tripleoclient/templates/ephemeral-heat/heat-pod.yaml.j2
ramishra 761b791b8b Drop noauth_policy and use the default
This drops the noauth policy file and instead uses the heat
defaults in the code. This would avoid us moving to the
new yaml based policy files.

Change-Id: Idd72ce488ff73d956bf16f95121e713bab65fbc3
2021-06-23 14:53:12 +05:30

99 lines
2.2 KiB
Django/Jinja

apiVersion: v1
kind: Pod
metadata:
labels:
app: {{ heat_pod_name }}
name: {{ heat_pod_name }}
spec:
containers:
- command:
- heat-engine
- --config-file
- /etc/heat/heat.conf
env:
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- name: TERM
value: xterm
- name: container
value: oci
- name: LANG
value: en_US.UTF-8
image: {{ engine_image }}
name: engine
resources: {}
securityContext:
allowPrivilegeEscalation: true
capabilities: {}
privileged: false
readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
seLinuxOptions: {}
volumeMounts:
- mountPath: /var/log/heat
name: heat-log
- mountPath: /etc/heat/heat.conf
name: heat-config
readOnly: true
workingDir: /
- command:
- heat-api
- --config-file
- /etc/heat/heat.conf
ports:
- containerPort: {{ api_port }}
hostPort: {{ api_port }}
hostIP: {{ ctlplane_ip }}
env:
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- name: TERM
value: xterm
- name: container
value: oci
- name: LANG
value: en_US.UTF-8
image: {{ api_image }}
name: api
resources: {}
securityContext:
allowPrivilegeEscalation: true
capabilities: {}
privileged: false
readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
seLinuxOptions: {}
volumeMounts:
- mountPath: /var/log/heat
name: heat-log
- mountPath: /etc/heat/heat.conf
name: heat-config
readOnly: true
- mountPath: /etc/heat/api-paste.ini
name: heat-api-paste
readOnly: true
- mountPath: /token_file.json
name: heat-token-file
readOnly: true
workingDir: /
volumes:
- hostPath:
path: {{ heat_dir}}/log
type: Directory
name: heat-log
- hostPath:
path: {{ install_dir }}/heat.conf
type: File
name: heat-config
- hostPath:
path: {{ heat_dir }}/api-paste.ini
type: File
name: heat-api-paste
- hostPath:
path: {{ heat_dir }}/token_file.json
type: File
name: heat-token-file
status: {}