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

experimenal.deploy manifests helm deployment order #2360

Open
leunamnauj opened this issue Dec 26, 2024 · 2 comments
Open

experimenal.deploy manifests helm deployment order #2360

leunamnauj opened this issue Dec 26, 2024 · 2 comments

Comments

@leunamnauj
Copy link

Is your feature request related to a problem?

When bootstrapping a vcluster, manifests are always being deployed before the helm chart installation. This breaks the setup since the helm chart needs to be installed first.

Which solution do you suggest?

Add configuration to control deployment order, either by honoring the sequence defined in config files or adding explicit ordering options.

Which alternative solutions exist?

No response

Additional context

No response

@FabianKramm
Copy link
Member

Hey @leunamnauj ! Thats an interesting idea, we'll think about it, meanwhile you could use a simple helm chart that allows you to specify resources as values to circumvent that problem, e.g. using the raw helm chart from k8s-at-home:

helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update

Then do the following as values.yaml:

resources:
  - apiVersion: v1
    kind: ConfigMap
    metadata:
      name: my-config
    data:
      key: "value"
  - apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: my-app
      template:
        metadata:
          labels:
            app: my-app
        spec:
          containers:
            - name: my-container
              image: nginx:alpine

@leunamnauj
Copy link
Author

Nice! Thanks

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

No branches or pull requests

2 participants