Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the repository CRs to git proxy #408

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions flux2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,3 @@ prometheus:
- sourceLabels: [__meta_kubernetes_pod_phase]
action: keep
regex: Running

git:
url: http://git-proxy.default.svc.cluster.local
branch: master
path: #./replaceme/
2 changes: 2 additions & 0 deletions flux2/templates/sync.yaml → git-proxy/templates/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: outpost-state
namespace: {{ .Values.git.fluxNamespace }}
spec:
interval: 3m0s
ref:
Expand All @@ -13,6 +14,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: outpost-state
namespace: {{ .Values.git.fluxNamespace }}
spec:
interval: 10m0s
path: {{ required "git.path is required" .Values.git.path }}
Expand Down
6 changes: 6 additions & 0 deletions git-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,9 @@ extraEnv: {}

httpProxyConfiguration:
name: wiz-http-proxy-configuration

git:
branch: master
url: http://git-proxy.default.svc.cluster.local
path: #./replaceme/
fluxNamespace: flux-system