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

add kustomize support #12

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

add kustomize support #12

wants to merge 1 commit into from

Conversation

rochacon
Copy link

By adding the kustomization.yaml we allow this repository be to easily patched via kustomize (also embedded on kubectl) to adjust settings for different environments.

Extending via kustomization.yaml

A consumer project can reference this repository like this:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  # for testing this PR, use: github.com/kumbuca/n8n-kubernetes-hosting
  - github.com/n8n-io/n8n-kubernetes-hosting?ref=main

This can be applied with kubectl apply -k .

Rendering directly with kubectl:

kubectl kustomize "github.com/n8n-io/n8n-kubernetes-hosting"
kubectl apply -k "github.com/n8n-io/n8n-kubernetes-hosting?ref=main"

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.

1 participant