add vault secrets and fix still poiting to election
Some checks failed
Build and Push Container Image / build-and-push (push) Failing after 3m14s
Some checks failed
Build and Push Container Image / build-and-push (push) Failing after 3m14s
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: election
|
||||
namespace: vhsmp
|
||||
name: taskarr
|
||||
labels:
|
||||
app: election
|
||||
app: taskarr
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: election
|
||||
app: taskarr
|
||||
replicas: 1
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
@@ -19,13 +18,13 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/default-container: election
|
||||
kubectl.kubernetes.io/default-container: taskarr
|
||||
labels:
|
||||
app: election
|
||||
app: taskarr
|
||||
spec:
|
||||
containers:
|
||||
- name: election
|
||||
image: election
|
||||
- name: taskarr
|
||||
image: main
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
@@ -44,33 +43,33 @@ spec:
|
||||
periodSeconds: 10
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: election
|
||||
name: http
|
||||
env:
|
||||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: election
|
||||
name: taskarr-app
|
||||
key: DATABASE_URL
|
||||
- name: ORIGIN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: election
|
||||
name: taskarr-app
|
||||
key: ORIGIN
|
||||
- name: BETTER_AUTH_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: election
|
||||
name: taskarr-app
|
||||
key: BETTER_AUTH_SECRET
|
||||
- name: GITHUB_CLIENT_SECRET
|
||||
- name: GITEA_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: election
|
||||
key: GITHUB_CLIENT_SECRET
|
||||
- name: GITHUB_CLIENT_ID
|
||||
name: taskarr-app
|
||||
key: GITEA_CLIENT_SECRET
|
||||
- name: GITEA_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: election
|
||||
key: GITHUB_CLIENT_ID
|
||||
name: taskarr-app
|
||||
key: GITEA_CLIENT_ID
|
||||
|
||||
restartPolicy: Always
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user