Format all files with prettier VSCode plugin and add yamllint in CI #413

Merged
pat-s merged 10 commits from refs/pull/413/head into main 2023-03-28 21:18:23 +00:00
8 changed files with 134 additions and 104 deletions

View File

@ -40,6 +40,12 @@ steps:
- make readme
- git diff --exit-code --name-only README.md
- name: yaml lint
pull: always
image: cytopia/yamllint:alpine-1
commands:
- yamllint -f colored .
- name: discord
pull: always
image: appleboy/drone-discord:1.2.4
@ -53,7 +59,6 @@ steps:
- changed
- failure
---
kind: pipeline
type: docker

20
.yamllint Normal file
View File

@ -0,0 +1,20 @@
---
extends: default
ignore: |
.yamllint
node_modules
templates
rules:
truthy:
allowed-values: ['true', 'false']
check-keys: False
level: error
line-length: disable
document-start: disable
comments:
min-spaces-from-content: 1
braces:
max-spaces-inside: 2

View File

@ -138,7 +138,8 @@ ingress:
enabled: false
# className: nginx
className:
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
@ -157,7 +158,8 @@ ingress:
## @section StatefulSet
#
## @param resources Kubernetes resources
resources: {}
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@ -192,7 +194,8 @@ dnsConfig: {}
## @param statefulset.labels Labels for the statefulset
## @param statefulset.annotations Annotations for the Gitea StatefulSet to be created
statefulset:
env: []
env:
[]
# - name: VARIABLE
# value: my-value
terminationGracePeriodSeconds: 60
@ -293,7 +296,8 @@ gitea:
# prometheus-release: prom1
## @param gitea.ldap LDAP configuration
ldap: []
ldap:
[]
# - name: "LDAP 1"
# existingSecret:
# securityProtocol:
@ -310,7 +314,8 @@ gitea:
# Either specify inline `key` and `secret` or refer to them via `existingSecret`
## @param gitea.oauth OAuth configuration
oauth: []
oauth:
[]
# - name: 'OAuth 1'
# provider:
# key: