kubernetes how to inherite anonntation inheritance from namespace annontation
I think podpreset
can help
kind: PodPresetapiVersion: settings.k8s.io/v1alpha1metadata: annotations: foo: bar namespace: {youNamespace}
How enable PodPreset:
- You have enabled the api type
settings.k8s.io/v1alpha1/podpreset
- You have enabled the admission controller PodPreset
- You have defined your pod presets