8f24a74bc7
This commit rewrites lint job to make template linting available. Currently yamllint is run in warning mode against all templates rendered with default values. Duplicates detected and issues will be addressed in subsequent commits. Also all y*ml files are added for linting and corresponding code changes are made. For non-templates warning rules are disabled to improve readability. Chart and requirements yamls are also modified in the name of consistency. Change-Id: Ife6727c5721a00c65902340d95b7edb0a9c77365
86 lines
1.7 KiB
YAML
86 lines
1.7 KiB
YAML
---
|
|
schema: armada/Chart/v1
|
|
metadata:
|
|
schema: metadata/Document/v1
|
|
name: helm-toolkit
|
|
data:
|
|
chart_name: helm-toolkit
|
|
release: helm-toolkit
|
|
namespace: helm-toolkit
|
|
values: {}
|
|
source:
|
|
type: local
|
|
location: ${OSH_INFRA_PATH}
|
|
subpath: helm-toolkit
|
|
reference: master
|
|
dependencies: []
|
|
...
|
|
---
|
|
schema: armada/Chart/v1
|
|
metadata:
|
|
schema: metadata/Document/v1
|
|
name: ingress-kube-system
|
|
data:
|
|
chart_name: ingress-kube-system
|
|
release: ingress-kube-system
|
|
namespace: kube-system
|
|
wait:
|
|
timeout: 1800
|
|
labels:
|
|
release_group: osh-ingress-kube-system
|
|
install:
|
|
no_hooks: False
|
|
upgrade:
|
|
no_hooks: False
|
|
pre:
|
|
delete:
|
|
- type: job
|
|
labels:
|
|
release_group: osh-ingress-kube-system
|
|
values:
|
|
release_uuid: ${RELEASE_UUID}
|
|
labels:
|
|
server:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
error_server:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
pod:
|
|
replicas:
|
|
error_page: 2
|
|
deployment:
|
|
mode: cluster
|
|
type: DaemonSet
|
|
network:
|
|
host_namespace: true
|
|
source:
|
|
type: local
|
|
location: ${OSH_INFRA_PATH}
|
|
subpath: ingress
|
|
reference: master
|
|
dependencies:
|
|
- helm-toolkit
|
|
...
|
|
---
|
|
schema: armada/ChartGroup/v1
|
|
metadata:
|
|
schema: metadata/Document/v1
|
|
name: cluster-ingress-controller
|
|
data:
|
|
description: "Cluster Ingress Controller"
|
|
sequenced: False
|
|
chart_group:
|
|
- ingress-kube-system
|
|
...
|
|
---
|
|
schema: armada/Manifest/v1
|
|
metadata:
|
|
schema: metadata/Document/v1
|
|
name: armada-manifest
|
|
data:
|
|
release_prefix: osh
|
|
chart_groups:
|
|
- cluster-ingress-controller
|
|
...
|