Skip to content

Commit ac200a1

Browse files
committed
NO-JIRA: Fix some issues identified by yamllint
1 parent 6e02b08 commit ac200a1

4 files changed

Lines changed: 9 additions & 9 deletions

install/0000_00_cluster-version-operator_00_namespace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
workload.openshift.io/allowed: "management"
1010
labels:
1111
name: openshift-cluster-version
12-
openshift.io/run-level: "" # specify no run-level turns it off on install and upgrades
12+
openshift.io/run-level: "" # specify no run-level turns it off on install and upgrades
1313
openshift.io/cluster-monitoring: "true"
1414
pod-security.kubernetes.io/enforce: privileged
1515
pod-security.kubernetes.io/audit: privileged

install/0000_00_cluster-version-operator_03_deployment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ spec:
6161
# Unfortunately the placeholder is not replaced, reported as OCPBUGS-30080
6262
- name: OPERATOR_IMAGE_VERSION
6363
value: "0.0.1-snapshot"
64-
- name: KUBERNETES_SERVICE_PORT # allows CVO to communicate with apiserver directly on same host. Is substituted with port from infrastructures.status.apiServerInternalURL if available.
64+
- name: KUBERNETES_SERVICE_PORT # allows CVO to communicate with apiserver directly on same host. Is substituted with port from infrastructures.status.apiServerInternalURL if available.
6565
value: "6443"
66-
- name: KUBERNETES_SERVICE_HOST # allows CVO to communicate with apiserver directly on same host. Is substituted with hostname from infrastructures.status.apiServerInternalURL if available.
66+
- name: KUBERNETES_SERVICE_HOST # allows CVO to communicate with apiserver directly on same host. Is substituted with hostname from infrastructures.status.apiServerInternalURL if available.
6767
value: "127.0.0.1"
6868
- name: NODE_NAME
6969
valueFrom:
@@ -88,15 +88,15 @@ spec:
8888
effect: "NoSchedule"
8989
- key: "node.kubernetes.io/not-ready"
9090
operator: "Exists"
91-
effect: "NoSchedule"
91+
effect: "NoSchedule"
9292
- key: "node.kubernetes.io/unreachable"
9393
operator: "Exists"
9494
effect: "NoExecute"
95-
tolerationSeconds: 120
95+
tolerationSeconds: 120
9696
- key: "node.kubernetes.io/not-ready"
9797
operator: "Exists"
9898
effect: "NoExecute"
99-
tolerationSeconds: 120
99+
tolerationSeconds: 120
100100
volumes:
101101
- name: etc-ssl-certs
102102
hostPath:

install/0000_00_cluster-version-operator_04_service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ spec:
1616
k8s-app: cluster-version-operator
1717
ports:
1818
- name: metrics
19-
port: 9099 # chosen to be in the internal open range
19+
port: 9099 # chosen to be in the internal open range

install/0000_90_cluster-version-operator_02_servicemonitor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ spec:
5959
(
6060
(
6161
time()-cluster_version_operator_update_retrieval_timestamp_seconds
62-
) >= 3600
63-
and ignoring(condition, name, reason)
62+
) >= 3600
63+
and ignoring(condition, name, reason)
6464
(cluster_operator_conditions{name="version", condition="RetrievedUpdates", endpoint="metrics", reason!="NoChannel"})
6565
)
6666
labels:

0 commit comments

Comments
 (0)