-
Notifications
You must be signed in to change notification settings - Fork 748
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
[feature request]ResourceDistribution should consider configmapGenerator #943
Comments
We just use this in agro-cd. |
In short , k8s support apply -f to any resources include configmap and secret. kubectl create configmap game-config --from-file=configure-pod-container/configmap/
This may break the gitops pipeline |
/assign @veophi |
@FillZpp Should we support this function in kubectl-kruise? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What would you like to be added:
ResourceDistribution should support other resource like configmapgenerator with Kustomize
Why is this needed:
In k8s, configmap only used as create.
This is not a good design.
So if we want to change configmap we should delete and then create [of course we should pay attention to check exists]
So we cannot just easily to add a configmap with a file.
Luckily Kustomize support this with configmapgenerator.
https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/
In this case we just want to copy secrets like ssl certs ,
we may not want to paste this to a yaml with format.
The text was updated successfully, but these errors were encountered: