Comments (6)
Thanks @YiannisGkoufas. I think we pulled the latest code a while ago and didn't see any problem, I did a delete and redeploy and it also works.
We can close this issue now.
from datashim.
some progress on this one @Tomcli, unfortunately at this point we cannot bundle the webhook configuration in the dlf.yaml since it requires the CA_BUNDLE value to be set. that's why it's populated within the generate-keys pod.
as a workaround I added just the definition ( https://github.com/IBM/dataset-lifecycle-framework/blob/master/src/generate-keys/webhook-definition.yaml ) which you can use it to delete the resource and also added the capability to generate the keys from host, by using the script https://github.com/IBM/dataset-lifecycle-framework/blob/master/src/generate-keys/script.sh
in the long term I am looking for a solution based on cert-manager ( https://cert-manager.io/docs/installation/kubernetes/ )
from datashim.
thanks @YiannisGkoufas. Quick question, if we deploy the webhook without CA_BUNDLE
, will the controller overwrite the webhook with the correct CA_BUNDLE
value?
We are using kustomize kubectl -k
to deploy all of this without script. That's why we want the webhook to be explicit.
from datashim.
Another way could be, if the controller deployment is deleted, the controller's finalizer logic should delete the webhook as part of terminating the pod.
from datashim.
thanks @YiannisGkoufas. Quick question, if we deploy the webhook without
CA_BUNDLE
, will the controller overwrite the webhook with the correctCA_BUNDLE
value?
That's a good point, it actually does kubectl apply
so in theory it should work. Let me test it out and get back to you
We are using kustomize
kubectl -k
to deploy all of this without script. That's why we want the webhook to be explicit.
I wanted to migrate everything to kustomize, but the biggest problem I faced was about customizing /var/lib/kubelet
path
from datashim.
Hi @Tomcli with the latest push I am creating the mutating webhook and the secrets as an init container of dataset operator. Also I included the yamls (which would be updated by the init container) so we have all the resources in dlf.yaml
Let me know if this works for you so I can close this one.
from datashim.
Related Issues (20)
- Missing affinity options for helm charts HOT 2
- DataSet Operator missing healthchecks
- change PVC Access Mode HOT 3
- Processes require root permissions to write to CSI-S3 volumes mounted in pods under OpenShift
- Unmounting CSI-S3 volumes results in errors in kubelet HOT 1
- RBAC for CSI NFS attacher does not provide needed access for resource "volumeattachments/status" HOT 1
- Mount error with CSI-S3 volumes in OpenShift
- Pod in Pending state, NFS share not attaching HOT 4
- csi-s3/kubelet error " umount: can't unmount /var/lib/kubelet/pods/.*/volumes/kubernetes.io~csi./*/mount: Invalid argument" HOT 1
- Bug: delete Dataset and containing namespace in quick succession can result in finalizer hang
- Feature request: pass ACCESS_TOKEN to S3 configuration HOT 2
- Deleting dataset before deleting the pod referring to the dataset leads to orphaned DatasetInternal objects HOT 1
- ci: Update testing action to wait for Dataset operator to be ready HOT 2
- If kind is a CRD dlf error on creating pod HOT 4
- Upgrade dependencies of the operator - to latest k8s and controller-runtime HOT 2
- Automount option HOT 1
- Revamp the project website
- Create an issue template for Datashim HOT 1
- Create a user survey for Datashim
- Issue with docker registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datashim.