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

♻️ Refactor Flux kustomizations for apps #51

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nomaster
Copy link
Member

@nomaster nomaster commented Feb 24, 2024

Move apps from the central Flux kustomization to dedicated resources.

Follow the template repo
flux2-kustomize-helm-example

@nomaster nomaster force-pushed the refactor-flux-kustomizations branch 2 times, most recently from 9edbdb8 to 0eac3b5 Compare February 24, 2024 20:12
@nomaster nomaster marked this pull request as draft February 24, 2024 20:17
Move apps from the central Flux kustomization to dedicated resources.

Follow the template repo
[flux2-kustomize-helm-example](https://github.com/fluxcd/flux2-kustomize-helm-example)
@nomaster nomaster force-pushed the refactor-flux-kustomizations branch from 0eac3b5 to 037004c Compare February 24, 2024 20:19
@nomaster
Copy link
Member Author

I'm not sure if we really should go through with this. And if the cluster explodes as soon as we merge the PR.

@nomaster nomaster requested a review from mraerino February 24, 2024 20:24
Copy link
Member

@mraerino mraerino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like an ok approach. i think it could work in general.

how do you make the distinction between infrastructure and apps? how can i decide where something belongs that i might deploy?

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cert-manager.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some resources are in the same directory, but missing here:

  • external-dns.yaml
  • metallb.yaml

Comment on lines +5 to +10
- ../base/cert-manager
- ../base/dendrite
- ../base/cryptpad
- ../base/external-dns
- ../base/grafana
- ../base/prometheus
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are all of these paths prefixed with base? what makes an app belong into base?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants