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>
16 lines
389 B
YAML
16 lines
389 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
{{- include "baremetal-operator.labels" . | nindent 4 }}
|
|
control-plane: controller-manager
|
|
name: {{ include "baremetal-operator.fullname" . }}-controller-manager-metrics-service
|
|
spec:
|
|
ipFamilyPolicy: PreferDualStack
|
|
ports:
|
|
- name: https
|
|
port: 8443
|
|
targetPort: https
|
|
selector:
|
|
control-plane: controller-manager
|