Örnek
Şöyle yaparız
apiVersion: apps/v1kind: Deploymentmetadata:name: back-end-projectspec:replicas: 1selector:matchLabels:app: back-end-projecttemplate:spec:containers:- name: back-end-projectimage: <path to docker container>ports:- containerPort: 80env:- name: SOME_ENV_VARvalueFrom:secretKeyRef:name: secret-namekey: secret-key
Hiç yorum yok:
Yorum Gönder