apiserver/pkg/apis
Abu Kashem df062f56c2 add auto update for apf bootstrap configuration
Take the following approach:
On a fresh install, all bootstrap configuration objects will
have auto update enabled via the following annotation :
`apf.kubernetes.io/autoupdate: 'true'`

The kube-apiserver periodically checks the bootstrap configuration
objects on the cluster and applies update if necessary.

We enforce an 'always auto-update' policy for the mandatory
configuration object(s).

We update the suggested configuration objects when:
- auto update is enabled (`apf.kubernetes.io/autoupdate: 'true'`) or
- auto update annotation key is missing but `generation` is `1`

If the configuration object is missing the annotation key, we add
it appropriately:
it is set to `true` if `generation` is `1`, `false` otherwise.

The above approach ensures that we don't squash changes made by an
operator. Please note, we can't protect the changes made by the
operator in the following scenario:
- the user changes the spec and then deletes and recreates
  the same object. (generation resets to 1)

remove using a marker

Kubernetes-commit: 759a64136b0d4619d5535adb79a8367e124b06c6
2021-01-12 16:12:13 -05:00
..
apiserver apiserver: use canonical egress selection names in EgressSelectorConfiguration API docs 2020-10-26 10:24:16 -04:00
audit audit: make stage consts use correct type 2021-04-09 12:29:20 -04:00
config apiserver/pkg/apis/config/validation: Add invalidURLErrFmt 2020-04-18 04:37:22 -04:00
example update gogo/protobuf to v1.3.2 2021-01-27 18:01:27 +05:30
example2 consistently use double quotes in proto files 2020-09-03 13:50:03 -07:00
flowcontrol/bootstrap add auto update for apf bootstrap configuration 2021-01-12 16:12:13 -05:00
OWNERS Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00