Skip to content

Commit 0c3f3c1

Browse files
committed
save this until after Flux is bootstrapped
Signed-off-by: Kingdon Barrett <[email protected]>
1 parent 95e3e99 commit 0c3f3c1

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

clusters/cozy-test/flux-system/gotk-sync.yaml

+30-30
Original file line numberDiff line numberDiff line change
@@ -26,33 +26,33 @@ spec:
2626
kind: GitRepository
2727
name: flux-system
2828
# I was warned
29-
---
30-
apiVersion: kustomize.toolkit.fluxcd.io/v1
31-
kind: Kustomization
32-
metadata:
33-
name: flux-oci
34-
namespace: flux-system
35-
spec:
36-
interval: 10m0s
37-
path: ./
38-
prune: true
39-
sourceRef:
40-
kind: OCIRepository
41-
name: flux-oci
42-
patches:
43-
- patch: |
44-
- op: add
45-
path: /spec/template/spec/containers/0/args/-
46-
value: --concurrent=10
47-
- op: add
48-
path: /spec/template/spec/containers/0/args/-
49-
value: --requeue-dependency=5s
50-
- op: replace
51-
path: /spec/template/spec/containers/0/resources/limits/cpu
52-
value: "2"
53-
- op: replace
54-
path: /spec/template/spec/containers/0/resources/limits/memory
55-
value: "2Gi"
56-
target:
57-
kind: Deployment
58-
name: "(kustomize-controller|helm-controller|source-controller)"
29+
# ---
30+
# apiVersion: kustomize.toolkit.fluxcd.io/v1
31+
# kind: Kustomization
32+
# metadata:
33+
# name: flux-oci
34+
# namespace: flux-system
35+
# spec:
36+
# interval: 10m0s
37+
# path: ./
38+
# prune: true
39+
# sourceRef:
40+
# kind: OCIRepository
41+
# name: flux-oci
42+
# patches:
43+
# - patch: |
44+
# - op: add
45+
# path: /spec/template/spec/containers/0/args/-
46+
# value: --concurrent=10
47+
# - op: add
48+
# path: /spec/template/spec/containers/0/args/-
49+
# value: --requeue-dependency=5s
50+
# - op: replace
51+
# path: /spec/template/spec/containers/0/resources/limits/cpu
52+
# value: "2"
53+
# - op: replace
54+
# path: /spec/template/spec/containers/0/resources/limits/memory
55+
# value: "2Gi"
56+
# target:
57+
# kind: Deployment
58+
# name: "(kustomize-controller|helm-controller|source-controller)"
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- flux-oci.yaml
5-
# - gotk-components.yaml
4+
# - flux-oci.yaml
5+
- gotk-components.yaml
66
- gotk-sync.yaml

0 commit comments

Comments
 (0)