What is the difference between PropagationPolicy and ClusterPropagationPolicy?
PropagationPolicy is a namespace-scoped resource type which means the objects with this type must reside in a namespace.
ClusterPropagationPolicy is the cluster-scoped resource type which means the objects with this type don't have a namespace.
Both of them are used to hold the propagation declaration, but they have different capacities:
- PropagationPolicy: can only represent the propagation policy for the resources in the same namespace.
- ClusterPropagationPolicy: can represent the propagation policy for all resources including namespace-scoped and cluster-scoped resources.