Make sure that the services are created with both IPv4 and IPv6 addresses when the cluster has been created with both IPv4 and IPv6 ranges. They will behave as single stack otherwise. Signed-off-by: Marco Chiappero <marco.chiappero@suse.com>
15 lines
360 B
YAML
15 lines
360 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
{{- include "baremetal-operator.labels" . | nindent 4 }}
|
|
name: {{ include "baremetal-operator.fullname" . }}-webhook-service
|
|
spec:
|
|
ipFamilyPolicy: PreferDualStack
|
|
ports:
|
|
- port: 443
|
|
targetPort: 9443
|
|
selector:
|
|
control-plane: controller-manager
|
|
webhook: metal3-io-v1alpha1-baremetalhost
|