Skip to content

finalizers as kubectl plugin (via krew) #3

@bavarianbidi

Description

@bavarianbidi

for now it's only required to renaming the finalizers binary to kubectl-finalizers to work/use finalizers via kubectl (as plugin).

kubectl finalizers -a                                                                                                                                                                                                                                                    
NAMESPACE          NAME                                                                   APIVERSION                       KIND                    FINALIZERS                                                              
                   v1alpha1.snapshot.storage.k8s.io                                       apiregistration.k8s.io/v1beta1   APIService              [foregroundDeletion]                                                    
                   v1alpha1.snapshot.storage.k8s.io                                       apiregistration.k8s.io/v1        APIService              [foregroundDeletion]                                                    
logging            datadir-scylladb-0                                                     v1                               PersistentVolumeClaim   [kubernetes.io/pvc-protection]                                          
logging            datadir-scylladb-1                                                     v1                               PersistentVolumeClaim   [kubernetes.io/pvc-protection]                                          
logging            datadir-scylladb-2                                                     v1                               PersistentVolumeClaim   [kubernetes.io/pvc-protection]
...
                   csi-005fbe019be01aabd67884654875863a4f1a916ebf96765cdc6f1b2e240xxxx   storage.k8s.io/v1                VolumeAttachment        [external-attacher/cinder-csi-openstack-org]                                                                             
                   csi-01b1f2dd04c217cbd1a09cc10d054ba2d76cda59b7a20dbafc7235dd7867xxxx   storage.k8s.io/v1                VolumeAttachment        [external-attacher/cinder-csi-openstack-org]                                                                             
                   csi-051607d95569d169cde631f8f2d9441dd0d5cd145452c14da6c2c8e36325xxxx   storage.k8s.io/v1                VolumeAttachment        [external-attacher/cinder-csi-openstack-org]

Do you agree with the preparation of the code to fulfill all the requirements for a kubectl plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions