diff --git a/cluster/apps/default/gitea/helm-release.yaml b/cluster/apps/default/gitea/helm-release.yaml index 80ca03a..0e60b87 100644 --- a/cluster/apps/default/gitea/helm-release.yaml +++ b/cluster/apps/default/gitea/helm-release.yaml @@ -31,6 +31,15 @@ spec: - secretRef: 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: main: ports: diff --git a/cluster/apps/default/gitea/kustomization.yaml b/cluster/apps/default/gitea/kustomization.yaml index a2d4b5f..3fd2935 100644 --- a/cluster/apps/default/gitea/kustomization.yaml +++ b/cluster/apps/default/gitea/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./gitea-secret.sops.yaml +- ./gitea-sidecar-secret.sops.yaml - ./helm-release.yaml \ No newline at end of file