Comments (4)
I can handle this.
I see two options here:
- Adding the new arg
force bool
totetragon/pkg/k8s/crdutils/register.go
Line 71 in c1d6f11
- Adding the new label, something like
CustomResourceDefinitionSchemaOptionForceReplaceKey = ciliumio.GroupName + ".k8s.crd.schema.option.force-replace"
to
tetragon/pkg/k8s/crdutils/register.go
Line 33 in c1d6f11
Which one do you think works better?
from tetragon.
I think there is a middle ground: introduce a new function RegisterCRDsWithOptions()
and pass the options there. This does not break compatibility. RegisterCRD
can be marked as deprecated, and eventually removed.
WDYT?
from tetragon.
I think there is a middle ground: introduce a new function
RegisterCRDsWithOptions()
and pass the options there. This does not break compatibility.RegisterCRD
can be marked as deprecated, and eventually removed.WDYT?
Great solution! I'll open pr with this change tomorrow
from tetragon.
As I promised: #2023
from tetragon.
Related Issues (20)
- tetragon helm-chart should install CRDs normally HOT 5
- Getting Started Docs - Should remove the previous network policy before deploying enforcement
- [kind-setup] ERROR: image: "\"cilium/tetragon:latest\"" not present locally HOT 3
- Documentation: broken links automatic report HOT 1
- Cannot restrict signal delivery to target process by path
- matchBinaries `Prefix` operator fails to match path longer than 256 chars HOT 2
- Documentation: broken links automatic report HOT 1
- tests: `pkg.sensors.exec.TestDocker` is flaky
- Improve monitoring BPF maps
- Define debug metrics group HOT 1
- Define events metrics group
- bpf: upgrade clang version to latest version
- Improve monitoring errors
- Standardize common metrics labels
- tests: `pkg.sensors.tracing.TestKprobeRateLimit` is flaky
- Documentation: broken links automatic report HOT 1
- Migrate metrics to use pkg/metrics helpers
- tests: `pkg.sensors.TestPolicyListingWhileLoadUnload` is flaky HOT 1
- ci: Go tests does not return artifacts on failed execution
- Documentation: broken links automatic report 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 tetragon.