Skip to content

Commit

Permalink
Merge pull request openshift#12333 from hongkailiu/yamllint
Browse files Browse the repository at this point in the history
Enable yamllint on clusters folder
  • Loading branch information
openshift-merge-robot committed Sep 30, 2020
2 parents 1d0e2fe + f582eb6 commit 92b48e0
Show file tree
Hide file tree
Showing 21 changed files with 30 additions and 31 deletions.
Expand Up @@ -898,6 +898,7 @@ presubmits:
- -c
- services/yamllint/_yamllint.conf
- ci-operator/jobs
- clusters
- core-services
command:
- yamllint
Expand Down
2 changes: 1 addition & 1 deletion clusters/app.ci/assets/bugzilla-backporter.yaml
Expand Up @@ -104,4 +104,4 @@ items:
secretName: bugzilla-credentials-openshift-bugzilla-robot
- name: plugins
configMap:
name: plugins
name: plugins
1 change: 0 additions & 1 deletion clusters/app.ci/assets/dptp-controller-manager.yaml
Expand Up @@ -66,7 +66,6 @@ spec:
matchNames:
- ci
---
spec:
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
2 changes: 1 addition & 1 deletion clusters/app.ci/cert-manager/prow_ingress.yaml
Expand Up @@ -51,4 +51,4 @@ spec:
paths:
- backend:
serviceName: slack-bot
servicePort: 8888
servicePort: 8888
2 changes: 1 addition & 1 deletion clusters/app.ci/prow-monitoring/prometheus-cache.yaml
Expand Up @@ -74,4 +74,4 @@ items:
port: 9090
targetPort: 9090
selector:
app.kubernetes.io/name: querier-cache
app.kubernetes.io/name: querier-cache
2 changes: 1 addition & 1 deletion clusters/app.ci/prow/03_deployment/admin_boskos_rbac.yaml
Expand Up @@ -10,7 +10,7 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: boskos
name: boskos
namespace: ci
rules:
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion clusters/app.ci/prow/03_deployment/admin_cvp_trigger.yaml
Expand Up @@ -31,4 +31,4 @@ rules:
- create
- get
- list
- watch
- watch
4 changes: 2 additions & 2 deletions clusters/app.ci/prow/03_deployment/admin_sinker_rbac.yaml
Expand Up @@ -15,7 +15,7 @@ items:
- delete
- list
- watch
- get
- get
- apiGroups:
- ""
resources:
Expand All @@ -31,7 +31,7 @@ items:
- configmaps
- events
verbs:
- create
- create
- kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down
Expand Up @@ -29,4 +29,4 @@ rules:
- secrets
verbs:
- get
- list
- list
4 changes: 2 additions & 2 deletions clusters/app.ci/prow/03_deployment/publicize.yaml
Expand Up @@ -54,7 +54,7 @@ items:
volumeMounts:
- name: config
mountPath: /etc/config
readOnly: true
readOnly: true
- name: hmac
mountPath: /etc/webhook
readOnly: true
Expand All @@ -70,7 +70,7 @@ items:
volumes:
- name: config
configMap:
name: publicize-config
name: publicize-config
- name: hmac
secret:
secretName: github-webhook-credentials
Expand Down
Expand Up @@ -15,7 +15,7 @@
# we do 14 workers per zone and 42 workers in total
# Limits as Apr. 06 2020
# IOPS: 1344k = 84 X 16k
# CPUs: 1600 = 100 X 16 (including 3 masters of 24 CPUs)
# CPUs: 1600 = 100 X 16 (including 3 masters of 24 CPUs)
---
apiVersion: "autoscaling.openshift.io/v1"
kind: "ClusterAutoscaler"
Expand Down
4 changes: 2 additions & 2 deletions clusters/build-clusters/01_cluster/kubelet/admin_config.yaml
@@ -1,12 +1,12 @@
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: custom-config
name: custom-config
spec:
machineConfigPoolSelector:
matchLabels:
custom-kubelet: enabled
kubeletConfig:
systemReserved:
cpu: 1000m
memory: 3Gi
memory: 3Gi
Expand Up @@ -8,5 +8,5 @@ spec:
managementState: Managed
route:
hostname: console.build01.ci.openshift.org
secret:
secret:
name: console-build01-tls
Expand Up @@ -8,17 +8,17 @@ objects:
namespace: ${namespace}
stringData:
alertmanager.yaml: |-
global:
global:
resolve_timeout: 5m
receivers:
receivers:
- name: slack-notifications
slack_configs:
- api_url: "${slack_api_url}"
channel: '#ops-testplatform'
icon_url: https://user-images.githubusercontent.com/4013349/68034370-e85a3d00-fc97-11e9-97e1-ce08d88e7267.png
text: '{{ template "custom_slack_text" . }}'
route:
group_by:
route:
group_by:
- alertname
- job
group_interval: 5m
Expand All @@ -27,7 +27,7 @@ objects:
repeat_interval: 12h
routes:
templates:
- '*.tmpl'
- '*.tmpl'
msg.tmpl: '{{ define "custom_slack_text" }}{{ .CommonAnnotations.message }}{{ end }}'
type: Opaque
parameters:
Expand Down
Expand Up @@ -29,4 +29,4 @@ rules:
- secrets
verbs:
- get
- list
- list
Expand Up @@ -7,7 +7,7 @@ objects:
annotations:
openshift.io/description: |
This secret contains the pull secrets for api.ci cluster and the local registry.
It is used to pull images
It is used to pull images
* by the image clients in ci-operator pod: the local images synced by dptp-controller are eventually consistent only
* by the build pods created by ci-operator: https://bugzilla.redhat.com/show_bug.cgi?id=1861546
Expand Down
Expand Up @@ -15,4 +15,3 @@ spec:
serviceAccountSecretRef:
name: cert-issuer
key: openshift-ci-build-farm-cert-issuer.json

Expand Up @@ -8,5 +8,5 @@ spec:
managementState: Managed
route:
hostname: console.build02.ci.openshift.org
secret:
secret:
name: console-build02-tls
Expand Up @@ -8,17 +8,17 @@ objects:
namespace: ${namespace}
stringData:
alertmanager.yaml: |-
global:
global:
resolve_timeout: 5m
receivers:
receivers:
- name: slack-notifications
slack_configs:
- api_url: "${slack_api_url}"
channel: '#ops-testplatform'
icon_url: https://user-images.githubusercontent.com/4013349/82943538-cb54c680-9f67-11ea-888c-6d1e7a4da10d.png
text: '{{ template "custom_slack_text" . }}'
route:
group_by:
route:
group_by:
- alertname
- job
group_interval: 5m
Expand All @@ -27,7 +27,7 @@ objects:
repeat_interval: 12h
routes:
templates:
- '*.tmpl'
- '*.tmpl'
msg.tmpl: '{{ define "custom_slack_text" }}{{ .CommonAnnotations.message }}{{ end }}'
type: Opaque
parameters:
Expand Down
Expand Up @@ -29,4 +29,4 @@ rules:
- secrets
verbs:
- get
- list
- list
Expand Up @@ -7,7 +7,7 @@ objects:
annotations:
openshift.io/description: |
This secret contains the pull secrets for api.ci cluster and the local registry.
It is used to pull images
It is used to pull images
* by the image clients in ci-operator pod: the local images synced by dptp-controller are eventually consistent only
* by the build pods created by ci-operator: https://bugzilla.redhat.com/show_bug.cgi?id=1861546
Expand Down

0 comments on commit 92b48e0

Please sign in to comment.