Update yamllint.conf

This PR updates the yaml linter configuration
to align it with what we have in the osh-infra
repo.

Change-Id: I3585fdc6663b2ae7bfb5c1d8a13672ac3055bf86
This commit is contained in:
Vladimir Kozhukalov 2025-03-12 17:09:27 -05:00
parent 8157ffc930
commit adc22b613b
73 changed files with 141 additions and 19 deletions

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: Openstack-Helm Aodh
@ -28,3 +29,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Barbican
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Ceilometer
@ -26,3 +27,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Cinder
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Cyborg
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -571,3 +571,4 @@ manifests:
secret_registry: true
service_ingress_api: false
service_api: true
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Designate
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Glance
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Heat
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Horizon
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Ironic
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Keystone
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Magnum
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Manila
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Masakari
@ -28,3 +29,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -627,3 +627,4 @@ manifests:
host_monitor: false
instance_monitor: false
process_monitor: false
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Mistral
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Monasca API
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: "file://../../openstack-helm-infra/helm-toolkit"
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Neutron
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Nova
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Octavia
@ -29,3 +30,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -1,3 +1,4 @@
---
apiVersion: v2
appVersion: 1.16.0
dependencies:
@ -60,3 +61,4 @@ type: application
version: 2024.2.0
maintainers:
- name: OpenStack-Helm Authors
...

@ -7,6 +7,7 @@
# Since libvirt-default is deployed during install phase, neutron-ks-user must also
# be installed during install phase instead of post-install phase.
---
global:
subchart_release_name: true
@ -76,3 +77,4 @@ neutron:
auto_bridge_add:
# no idea why, but something with sub-charts and null values get ommitted entirely from sub chart
br-ex: "null"
...

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Placement
@ -29,3 +30,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm rally
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -4,3 +4,4 @@ other:
memcache backend for nova has been changed from oslo_cache.memcache_pool
to dogpile.cache.memcached. You can revert to previous behaviour by
setting conf.nova.cache.backend to "oslo_cache.memcache_pool".
...

@ -4,3 +4,4 @@ other:
The logging for barbican, cinder, congress, glance, heat, ironic,
keystone, magnum, mistral, neutron, nova, and senlin has been increased to
log all warnings (and above) to stdout by default.
...

@ -1,3 +1,4 @@
---
fixes:
- Fix the number of max active fernet keys
...

@ -6,3 +6,4 @@ other:
Docker Hub registry and to Quay registry which has
more tolerant rate limits which is more convenient for
users with anonymous accounts.
...

@ -5,3 +5,4 @@ other:
conf.ceph.pools as app_name. This means that conf.software.rbd.rbd_pool_app_name
is now conf.ceph.pools.cinder.volumes.app_name and conf.software.rbd.rbd_pool_app_name_backup
is now conf.ceph.pools.backup.app_name.
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Tacker
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -14,6 +14,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
labels:
server:
node_selector_key: openstack-control-plane

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v2
appVersion: v1.0.0
description: OpenStack-Helm Tempest
@ -27,3 +28,4 @@ dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
version: ">= 0.1.0"
...

@ -73,18 +73,20 @@ limitations under the License.
{{- $endpointHost := tuple "dashboard" "public" . | include "helm-toolkit.endpoints.endpoint_host_lookup" }}
{{- $endpointPort := tuple "dashboard" "public" "web" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- $endpointPath := tuple "dashboard" "public" "web" . | include "helm-toolkit.endpoints.keystone_endpoint_path_lookup" }}
# When CSRF protection is enabled Refferer and Host header should match.
# Common browsers doesn't add default ports like 80 and 443 to the headers
# Use the same logic here to make sure test passed when CSRF protection is enabled and
# we using default port numbers. More info may be found here:
# * https://code.djangoproject.com/ticket/26037
# * https://stackoverflow.com/questions/27533011/django-csrf-error-casused-by-nginx-x-forwarded-host
{{/*
When CSRF protection is enabled Refferer and Host header should match.
Common browsers doesn't add default ports like 80 and 443 to the headers
Use the same logic here to make sure test passed when CSRF protection is enabled and
we using default port numbers. More info may be found here:
* https://code.djangoproject.com/ticket/26037
* https://stackoverflow.com/questions/27533011/django-csrf-error-casused-by-nginx-x-forwarded-host
*/}}
{{- if eq $endpointPort "80" "443" }}
{{- printf "%s://%s%s" $endpointScheme $endpointHost $endpointPath | set .Values.conf.tempest.dashboard "dashboard_url" }}
{{- $_ := set .Values.conf.tempest.dashboard "dashboard_url" (printf "%s://%s%s" $endpointScheme $endpointHost $endpointPath) }}
{{- else }}
{{- printf "%s://%s:%s%s" $endpointScheme $endpointHost $endpointPort $endpointPath | set .Values.conf.tempest.dashboard "dashboard_url" }}
{{- $_ := set .Values.conf.tempest.dashboard "dashboard_url" (printf "%s://%s:%s%s" $endpointScheme $endpointHost $endpointPort $endpointPath) }}
{{- end }}
{{- end -}}
{{- end }}
---
apiVersion: v1
@ -95,10 +97,10 @@ type: Opaque
data:
tempest.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.tempest | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.tempest_logging | b64enc }}
{{ if not (empty .Values.conf.blacklist) }}
{{- if not (empty .Values.conf.blacklist) }}
test-blacklist: {{ include "tempest.utils.to_regex_file" .Values.conf.blacklist | b64enc }}
{{ end }}
{{ if not (empty .Values.conf.whitelist) }}
test-whitelist: {{ include "tempest.utils.to_regex_file" .Values.conf.whitelist | b64enc }}
{{ end }}
{{- end }}
{{- if not (empty .Values.conf.whitelist) }}
test-whitelist: {{ include "tempest.utils.to_regex_file" .Values.conf.whitelist | b64enc }}
{{- end }}
{{- end }}

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v1
kind: Pod
metadata:
@ -24,3 +25,4 @@ spec:
imagePullPolicy: IfNotPresent
name: busybox
restartPolicy: Always
...

@ -38,6 +38,7 @@ spec:
- name: ceph-mount
persistentVolumeClaim:
claimName: ceph-test
...
---
kind: PersistentVolumeClaim
apiVersion: v1
@ -49,3 +50,4 @@ spec:
resources:
requests:
storage: 1Gi
...

@ -1,3 +1,4 @@
---
heat_template_version: 2016-10-14
parameters:
@ -54,3 +55,4 @@ outputs:
- fixed_ips
- 0
- ip_address
...

@ -1,3 +1,4 @@
---
heat_template_version: '2021-04-16'
parameters:
@ -166,3 +167,4 @@ outputs:
- server
- show
- id
...

@ -1,3 +1,4 @@
---
heat_template_version: 2016-10-14
parameters:
@ -57,3 +58,4 @@ resources:
allocation_pools:
- start: {get_param: allocation_pool_start}
end: {get_param: allocation_pool_end}
...

@ -1,3 +1,4 @@
---
heat_template_version: 2016-10-14
parameters:
@ -26,3 +27,4 @@ resources:
get_param: subnet_pool_default_prefix_length
prefixes:
get_param: subnet_pool_prefixes
...

@ -1,3 +1,4 @@
---
heat_template_version: 2016-10-14
parameters:
@ -18,3 +19,4 @@ resources:
get_param: instance_uuid
volume_id:
get_resource: cinder_volume
...

@ -1,3 +1,4 @@
---
apiVersion: batch/v1
kind: Job
metadata:
@ -29,3 +30,4 @@ spec:
- name: rally-data
hostPath:
path: /tmp/rally-data
...

@ -1,3 +1,4 @@
---
- hosts: all
become: true
gather_facts: true
@ -142,3 +143,4 @@
when:
- openstack_provider_gateway_setup
- inventory_hostname in (groups['k8s_control_plane'] | default([]))
...

@ -1,5 +1,7 @@
---
- hosts: all
become: true
gather_facts: true
roles:
- deploy-env
...

@ -1,3 +1,4 @@
---
- hosts: all
tasks:
- name: Put keys to .ssh/authorized_keys
@ -7,3 +8,4 @@
line: "{{ item }}"
loop:
- "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMyM6sgu/Xgg+VaLJX5c6gy6ynYX7pO7XNobnKotYRulcEkmiLprvLSg+WP25VDAcSoif3rek3qiVnEYh6R2/Go= vlad@russell"
...

@ -1,5 +1,7 @@
---
- hosts: primary
roles:
- ensure-python
- ensure-pip
- osh-bandit
...

@ -10,6 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
- hosts: all
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
@ -54,3 +55,4 @@
- gather-prom-metrics
tags:
- gather-prom-metrics
...

@ -1,6 +1,8 @@
---
- hosts: all
roles:
- start-zuul-console
- ensure-python
- ensure-pip
- clear-firewall
...

@ -1,3 +1,4 @@
---
conf:
cinder:
DEFAULT:

@ -1,3 +1,4 @@
---
bootstrap:
structured:
images:
@ -9,3 +10,4 @@ bootstrap:
min_disk: 3
image_type: qcow2
container_format: bare
...

@ -1,3 +1,4 @@
---
manifests:
configmap_logo: true
conf:
@ -390,3 +391,4 @@ conf:
MzU3LjI4IDM4MS4xMmgtMjYuMjV2LTI2LjI1aDI2LjI1djI2LjI1eiIgZmlsbD0iI2VkMTg0NCIv
PgogICAgIDxwYXRoIGQ9Im00NDcuMjYgMzgxLjEyaC0yNi4yNXYtMjYuMjVoMjYuMjV2MjYuMjV6
IiBmaWxsPSIjZWQxODQ0Ii8+CiAgICA8L2c+CiAgIDwvZz4KICA8L2c+CiA8L2c+Cjwvc3ZnPgo=
...

@ -1,3 +1,4 @@
---
conf:
ironic:
DEFAULT:
@ -58,3 +59,4 @@ manifests:
job_ks_user: false
job_manage_cleaning_network: false
secret_keystone: false
...

@ -32,3 +32,4 @@ conf:
manifests:
daemonset_bagpipe_bgp: true
...

@ -23,3 +23,4 @@ conf:
manifests:
daemonset_l2gw_agent: true
...

@ -29,3 +29,4 @@ manifests:
deployment_rpc_server: false
daemonset_ovn_metadata_agent: true
...

@ -32,3 +32,4 @@ manifests:
daemonset_ovn_metadata_agent: true
daemonset_ovn_vpn_agent: true
...

@ -1,3 +1,4 @@
---
dependencies:
dynamic:
targeted:
@ -10,3 +11,4 @@ conf:
DEFAULT:
vif_plugging_is_fatal: true
vif_plugging_timeout: 300
...

@ -32,3 +32,4 @@ network:
2NRGN9QbVYUvdwuRPd7C9wXQfLzXf0/E67oYg6fHHGTBNMjSq56qhZ2dSZnyQCxI
UZu0B4/1A5493Mypxp8c2fPhBdfzjTA5latsr75U26OMPxCxgFxm1A==
-----END RSA PRIVATE KEY-----
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: docker.io/openstackhelm/tacker:2023.1-ubuntu_focal
@ -12,3 +13,4 @@ images:
ks_endpoints: docker.io/openstackhelm/heat:2023.1-ubuntu_focal
ks_service: docker.io/openstackhelm/heat:2023.1-ubuntu_focal
ks_user: docker.io/openstackhelm/heat:2023.1-ubuntu_focal
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: docker.io/openstackhelm/tacker:2023.1-ubuntu_jammy
@ -12,3 +13,4 @@ images:
ks_endpoints: docker.io/openstackhelm/heat:2023.1-ubuntu_jammy
ks_service: docker.io/openstackhelm/heat:2023.1-ubuntu_jammy
ks_user: docker.io/openstackhelm/heat:2023.1-ubuntu_jammy
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: quay.io/airshipit/tacker:2023.2-ubuntu_jammy
@ -12,3 +13,4 @@ images:
ks_endpoints: quay.io/airshipit/heat:2023.2-ubuntu_jammy
ks_service: quay.io/airshipit/heat:2023.2-ubuntu_jammy
ks_user: quay.io/airshipit/heat:2023.2-ubuntu_jammy
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: quay.io/airshipit/tacker:2024.1-ubuntu_jammy
@ -12,3 +13,4 @@ images:
ks_endpoints: quay.io/airshipit/heat:2024.1-ubuntu_jammy
ks_service: quay.io/airshipit/heat:2024.1-ubuntu_jammy
ks_user: quay.io/airshipit/heat:2024.1-ubuntu_jammy
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: quay.io/airshipit/tacker:2024.2-ubuntu_jammy
@ -12,3 +13,4 @@ images:
ks_endpoints: quay.io/airshipit/heat:2024.2-ubuntu_jammy
ks_service: quay.io/airshipit/heat:2024.2-ubuntu_jammy
ks_user: quay.io/airshipit/heat:2024.2-ubuntu_jammy
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: docker.io/openstackhelm/tacker:zed-ubuntu_focal
@ -36,3 +37,4 @@ conf:
composite:vnffm_v1:
noauth: request_id catch_errors vnffmaapp_v1
keystone: request_id catch_errors authtoken keystonecontext vnffmaapp_v1
...

@ -2,6 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
images:
tags:
tacker_server: docker.io/openstackhelm/tacker:zed-ubuntu_jammy
@ -36,3 +37,4 @@ conf:
composite:vnffm_v1:
noauth: request_id catch_errors vnffmaapp_v1
keystone: request_id catch_errors authtoken keystonecontext vnffmaapp_v1
...

@ -11,9 +11,9 @@ rules:
colons: enable
commas: enable
comments: enable
comments-indentation: disable
comments-indentation: enable
document-end: disable
document-start: disable
document-start: enable
empty-lines: disable
empty-values: disable
hyphens: enable

@ -12,12 +12,12 @@ rules:
commas: enable
comments: enable
comments-indentation: disable
document-end: disable
document-start: disable
document-end: enable
document-start: enable
empty-lines: enable
empty-values: disable
hyphens:
ignore: zuul.d/jobs-openstack-helm.yaml
ignore: .yamllint/zuul.d/jobs.yaml
indentation:
spaces: 2
indent-sequences: whatever

@ -73,3 +73,4 @@
container_distro_name: ubuntu
container_distro_version: jammy
feature_gates: ovn
...

@ -167,3 +167,4 @@
openstack_release: "2024.1"
container_distro_name: ubuntu
container_distro_version: jammy
...

@ -114,3 +114,4 @@
openstack_release: "2024.2"
container_distro_name: ubuntu
container_distro_version: jammy
...

@ -417,3 +417,4 @@
- ./tools/deployment/component/nfs-provisioner/nfs-provisioner.sh
- ./tools/deployment/component/tacker/tacker.sh
- ./tools/deployment/common/run-helm-tests.sh tacker
...

@ -389,3 +389,4 @@
- node-2
- node-3
- node-4
...

@ -55,3 +55,4 @@
jobs:
- openstack-helm-compute-kit-helm-repo-public-2024-1-ubuntu_jammy # 1 node + 2 nodes
- openstack-helm-compute-kit-rook-2024-1-ubuntu_jammy # 5 nodes / rook
...