diff --git a/.gitignore b/.gitignore index 772ef29..e050dfe 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ web-build/ # Temporary files created by Metro to check the health of the file watcher .metro-health-check* +.env \ No newline at end of file diff --git a/k8s/api.yaml b/k8s/api.yaml index 64a33d5..826558a 100644 --- a/k8s/api.yaml +++ b/k8s/api.yaml @@ -14,6 +14,23 @@ spec: containers: - name: foodmarket-api image: ghcr.io/iteam1337/foodmarket:main + env: + #// pick from .env.example + - name: SIGNICAT_CLIENT_ID + valueFrom: + secretKeyRef: + name: signicat + key: SIGNICAT_CLIENT_ID + - name: SIGNICAT_CLIENT_SECRET + valueFrom: + secretKeyRef: + name: signicat + key: SIGNICAT_CLIENT_SECRET + - name: SIGNICAT_API_URL + valueFrom: + secretKeyRef: + name: signicat + key: SIGNICAT_API_URL resources: requests: memory: '256Mi'