Always pull git-sync image
This commit is contained in:
parent
825447b712
commit
cef5f2ddc1
@ -11,6 +11,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
kube-1password: cfo2ufhgem57clbscxetxgevue
|
kube-1password: cfo2ufhgem57clbscxetxgevue
|
||||||
kube-1password/vault: Kubernetes
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/password-key: token
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
---
|
---
|
||||||
@ -22,6 +23,31 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
kube-1password: b7kpdlcvt7y63bozu3i4j4lojm
|
kube-1password: b7kpdlcvt7y63bozu3i4j4lojm
|
||||||
kube-1password/vault: Kubernetes
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/password-key: token
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: git-sync-gitlab
|
||||||
|
namespace: git-sync
|
||||||
|
annotations:
|
||||||
|
kube-1password: t47v3xdgadiifgoi4wmqibrlty
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/password-key: token
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: git-sync-bitbucket
|
||||||
|
namespace: git-sync
|
||||||
|
annotations:
|
||||||
|
kube-1password: adrki45krr2tq34sug7dhdk5iy
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/password-key: token
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
---
|
---
|
||||||
@ -32,23 +58,37 @@ metadata:
|
|||||||
namespace: git-sync
|
namespace: git-sync
|
||||||
spec:
|
spec:
|
||||||
schedule: "0 */1 * * *"
|
schedule: "0 */1 * * *"
|
||||||
|
concurrencyPolicy: Forbid
|
||||||
|
failedJobsHistoryLimit: 1
|
||||||
|
successfulJobsHistoryLimit: 1
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
backoffLimit: 1
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sync
|
- name: sync
|
||||||
image: docker.cluster.fun/averagemarcus/git-sync:latest
|
image: docker.cluster.fun/averagemarcus/git-sync:latest
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: GITHUB_TOKEN
|
- name: GITHUB_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: git-sync-github
|
name: git-sync-github
|
||||||
key: password
|
key: token
|
||||||
- name: GITEA_TOKEN
|
- name: GITEA_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: git-sync-gitea
|
name: git-sync-gitea
|
||||||
key: password
|
key: token
|
||||||
|
- name: GITLAB_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: git-sync-gitlab
|
||||||
|
key: token
|
||||||
|
- name: BITBUCKET_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: git-sync-bitbucket
|
||||||
|
key: token
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
Loading…
Reference in New Issue
Block a user