Kubectl get
Jump to navigation
Jump to search
kubectl get secret "my_secret" -n "my_namespace" --context "my_context" -o yaml \ | yq d - 'metadata.resourceVersion' \ | yq d - 'metadata.uid' \ | yq d - 'metadata.annotations' \ | yq d - 'metadata.creationTimestamp' \ | yq d - 'metadata.selfLink'