Add sidecar to gitea

This commit is contained in:
SeanOMik 2023-04-27 20:34:37 -04:00
parent 1d40e87948
commit 6d6be18925
2 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,15 @@ spec:
- secretRef: - secretRef:
name: gitea-secret name: gitea-secret
# Sidecar used for mirroring GitHub repos to gitea
sidecars:
mirror-to-gitea:
image: jaedle/mirror-to-gitea:latest
imagePullPolicy: Always
envFrom:
- secretRef:
name: gitea-sidecar-secret
service: service:
main: main:
ports: ports:

View File

@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./gitea-secret.sops.yaml - ./gitea-secret.sops.yaml
- ./gitea-sidecar-secret.sops.yaml
- ./helm-release.yaml - ./helm-release.yaml