Skip to content

Commit 3eb8e48

Browse files
Merge pull request #5480 from aabughosh/my-cherry-pick-420
[release-4.20] OCPBUGS-65545, OCPBUGS-67007: cherry pick to few fixes that needed for missing services and configuration
2 parents bb066c3 + 2499bc2 commit 3eb8e48

File tree

6 files changed

+60
-1
lines changed

6 files changed

+60
-1
lines changed

install/0000_80_machine-config_00_service.yaml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,49 @@ spec:
6363
- name: health
6464
port: 8798
6565
protocol: TCP
66-
66+
---
67+
apiVersion: v1
68+
kind: Service
69+
metadata:
70+
name: machine-config-server
71+
namespace: openshift-machine-config-operator
72+
labels:
73+
k8s-app: machine-config-server
74+
annotations:
75+
include.release.openshift.io/ibm-cloud-managed: "true"
76+
include.release.openshift.io/self-managed-high-availability: "true"
77+
include.release.openshift.io/single-node-developer: "true"
78+
spec:
79+
type: ClusterIP
80+
selector:
81+
k8s-app: machine-config-server
82+
ports:
83+
- name: https
84+
port: 22623
85+
targetPort: 22623
86+
protocol: TCP
87+
- name: http
88+
port: 22624
89+
targetPort: 22624
90+
protocol: TCP
91+
---
92+
apiVersion: v1
93+
kind: Service
94+
metadata:
95+
name: kube-rbac-proxy-crio
96+
namespace: openshift-machine-config-operator
97+
labels:
98+
k8s-app: kube-rbac-proxy-crio
99+
annotations:
100+
include.release.openshift.io/ibm-cloud-managed: "true"
101+
include.release.openshift.io/self-managed-high-availability: "true"
102+
include.release.openshift.io/single-node-developer: "true"
103+
spec:
104+
type: ClusterIP
105+
selector:
106+
k8s-app: kube-rbac-proxy-crio
107+
ports:
108+
- name: metrics
109+
port: 9637
110+
targetPort: 9637
111+
protocol: TCP

manifests/machineconfigdaemon/daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
image: {{.Images.MachineConfigOperator}}
2525
ports:
2626
- containerPort: 8798
27+
hostIP: 127.0.0.1
2728
name: health
2829
protocol: TCP
2930
command: ["/usr/bin/machine-config-daemon"]

manifests/machineconfigserver/daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ spec:
2626
- "--payload-version={{.ReleaseVersion}}"
2727
- "--tls-cipher-suites={{join .TLSCipherSuites ","}}"
2828
- "--tls-min-version={{.TLSMinVersion}}"
29+
ports:
30+
- containerPort: 22623
31+
name: https
32+
protocol: TCP
33+
- containerPort: 22624
34+
name: http
35+
protocol: TCP
2936
resources:
3037
requests:
3138
cpu: 20m

templates/arbiter/01-arbiter-kubelet/_base/files/criometricsproxy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ contents:
77
metadata:
88
name: kube-rbac-proxy-crio
99
namespace: openshift-machine-config-operator
10+
labels:
11+
k8s-app: kube-rbac-proxy-crio
1012
annotations:
1113
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
1214
openshift.io/required-scc: privileged

templates/master/01-master-kubelet/_base/files/criometricsproxy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ contents:
77
metadata:
88
name: kube-rbac-proxy-crio
99
namespace: openshift-machine-config-operator
10+
labels:
11+
k8s-app: kube-rbac-proxy-crio
1012
annotations:
1113
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
1214
openshift.io/required-scc: privileged

templates/worker/01-worker-kubelet/_base/files/criometricsproxy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ contents:
77
metadata:
88
name: kube-rbac-proxy-crio
99
namespace: openshift-machine-config-operator
10+
labels:
11+
k8s-app: kube-rbac-proxy-crio
1012
annotations:
1113
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
1214
openshift.io/required-scc: privileged

0 commit comments

Comments
 (0)