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

feat(flux): install with helm and takeover with flux: step 2 #8620

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

onedr0p
Copy link
Owner

@onedr0p onedr0p commented Jan 7, 2025

No description provided.

@bot-ross bot-ross bot added area/kubernetes Changes made in the kubernetes directory cluster/main labels Jan 7, 2025
@bot-ross
Copy link
Contributor

bot-ross bot commented Jan 7, 2025

--- kubernetes/main/flux Kustomization: flux-system/cluster OCIRepository: flux-system/flux-manifests

+++ kubernetes/main/flux Kustomization: flux-system/cluster OCIRepository: flux-system/flux-manifests

@@ -1,15 +0,0 @@

----
-apiVersion: source.toolkit.fluxcd.io/v1beta2
-kind: OCIRepository
-metadata:
-  labels:
-    kustomize.toolkit.fluxcd.io/name: cluster
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: flux-manifests
-  namespace: flux-system
-spec:
-  interval: 10m
-  ref:
-    tag: v2.4.0
-  url: oci://ghcr.io/fluxcd/flux-manifests
-
--- kubernetes/main/flux Kustomization: flux-system/cluster Kustomization: flux-system/flux

+++ kubernetes/main/flux Kustomization: flux-system/cluster Kustomization: flux-system/flux

@@ -1,102 +0,0 @@

----
-apiVersion: kustomize.toolkit.fluxcd.io/v1
-kind: Kustomization
-metadata:
-  labels:
-    kustomize.toolkit.fluxcd.io/name: cluster
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: flux
-  namespace: flux-system
-spec:
-  interval: 10m
-  patches:
-  - patch: |
-      $patch: delete
-      apiVersion: apps/v1
-      kind: Deployment
-      metadata:
-        name: all
-    target:
-      kind: Deployment
-      name: (image-automation-controller|image-reflector-controller)
-  - patch: |
-      $patch: delete
-      apiVersion: networking.k8s.io/v1
-      kind: NetworkPolicy
-      metadata:
-        name: all
-    target:
-      group: networking.k8s.io
-      kind: NetworkPolicy
-  - patch: |
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --concurrent=10
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --requeue-dependency=5s
-    target:
-      kind: Deployment
-      name: (kustomize-controller|helm-controller|source-controller)
-  - patch: |
-      apiVersion: apps/v1
-      kind: Deployment
-      metadata:
-        name: all
-      spec:
-        template:
-          spec:
-            containers:
-              - name: manager
-                resources:
-                  limits:
-                    memory: 2Gi
-    target:
-      kind: Deployment
-      name: (kustomize-controller|helm-controller|source-controller)
-  - patch: |
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --concurrent=20
-      - op: replace
-        path: /spec/template/spec/volumes/0
-        value:
-          name: temp
-          emptyDir:
-            medium: Memory
-    target:
-      kind: Deployment
-      name: kustomize-controller
-  - patch: |
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --helm-cache-max-size=10
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --helm-cache-ttl=60m
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --helm-cache-purge-interval=5m
-    target:
-      kind: Deployment
-      name: source-controller
-  - patch: |
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --feature-gates=OOMWatch=true
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --oom-watch-memory-threshold=95
-      - op: add
-        path: /spec/template/spec/containers/0/args/-
-        value: --oom-watch-interval=500ms
-    target:
-      kind: Deployment
-      name: helm-controller
-  path: ./
-  prune: false
-  sourceRef:
-    kind: OCIRepository
-    name: flux-manifests
-  wait: true
-

@onedr0p onedr0p merged commit 01cdbed into main Jan 7, 2025
9 checks passed
@onedr0p onedr0p deleted the onedr0p-patch-2 branch January 7, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant