61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: wp-auto-pod
|
|
namespace: default
|
|
annotations:
|
|
sidecar.istio.io/inject: "false"
|
|
spec:
|
|
containers:
|
|
- name: wp-auto-container
|
|
image: harbor.icurfer.com/py_prj/wp-auto:0.0.1
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
- name: DB_HOST
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: DB_HOST
|
|
- name: DB_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: DB_USER
|
|
- name: DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: DB_PASSWORD
|
|
- name: DB_NAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: DB_NAME
|
|
- name: OPENAI_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: OPENAI_API_KEY
|
|
- name: WP_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: WP_URL
|
|
- name: WP_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: WP_USER
|
|
- name: WP_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: WP_API_KEY
|
|
- name: WP_POST_STYLE
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: wp-secret
|
|
key: WP_POST_STYLE
|
|
restartPolicy: Never
|
|
imagePullSecrets:
|
|
- name: harbor-icurfer-private |