mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 22:03:11 +00:00
* Upgrade to Operator SDK 1.16.0 * Upgrade Operator SDK to v1.22.2 & bump base image version
21 lines
897 B
YAML
21 lines
897 B
YAML
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
|
|
kind: ControllerManagerConfig
|
|
health:
|
|
healthProbeBindAddress: :6789
|
|
metrics:
|
|
bindAddress: 127.0.0.1:8080
|
|
|
|
leaderElection:
|
|
leaderElect: true
|
|
resourceName: 811c9dc5.ansible.com
|
|
# leaderElectionReleaseOnCancel defines if the leader should step down volume
|
|
# when the Manager ends. This requires the binary to immediately end when the
|
|
# Manager is stopped, otherwise, this setting is unsafe. Setting this significantly
|
|
# speeds up voluntary leader transitions as the new leader don't have to wait
|
|
# LeaseDuration time first.
|
|
# In the default scaffold provided, the program ends immediately after
|
|
# the manager stops, so would be fine to enable this option. However,
|
|
# if you are doing or is intended to do any operation such as perform cleanups
|
|
# after the manager stops then its usage might be unsafe.
|
|
# leaderElectionReleaseOnCancel: true
|