mirror of
https://gitlab.fabcity.hamburg/software/fab-city-os-core-chart.git
synced 2024-09-19 20:08:53 +02:00
latest changes
This commit is contained in:
parent
18e33135b2
commit
629e99f69b
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.go text eol=lf
|
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
default:
|
||||||
|
image: nixos/nix:latest
|
||||||
|
retry: 2
|
||||||
|
before_script:
|
||||||
|
- nix-channel --update
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- build
|
||||||
|
- release
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
lint.yaml:
|
||||||
|
script: yamllint -f auto .
|
||||||
|
stage: test
|
||||||
|
|
||||||
|
lint.markdown:
|
||||||
|
script: mdl .
|
||||||
|
stage: test
|
1
.mdlrc
Normal file
1
.mdlrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
rules "MD003", "MD006", "MD011", "MD018", "MD019", "MD020", "MD021", "MD025", "MD027", "MD028"
|
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v4.3.0
|
||||||
|
hooks:
|
||||||
|
- id: check-yaml
|
||||||
|
exclude: ^templates/
|
||||||
|
- id: mixed-line-ending
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: fix-byte-order-marker
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: check-merge-conflict
|
40
.yamllint.yaml
Normal file
40
.yamllint.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
extends: default
|
||||||
|
yaml-files:
|
||||||
|
- "*.yaml"
|
||||||
|
- "*.yml"
|
||||||
|
- ".yaml*"
|
||||||
|
ignore: |
|
||||||
|
./charts
|
||||||
|
.direnv
|
||||||
|
locale: en_US.UTF-8
|
||||||
|
rules:
|
||||||
|
braces: enable
|
||||||
|
brackets: enable
|
||||||
|
colons: enable
|
||||||
|
commas: enable
|
||||||
|
comments:
|
||||||
|
require-starting-space: true
|
||||||
|
level: warning
|
||||||
|
comments-indentation:
|
||||||
|
level: warning
|
||||||
|
document-start:
|
||||||
|
level: warning
|
||||||
|
document-end: disable
|
||||||
|
empty-lines: disable
|
||||||
|
empty-values: enable
|
||||||
|
hyphens: enable
|
||||||
|
indentation:
|
||||||
|
spaces: 2
|
||||||
|
indent-sequences: consistent
|
||||||
|
level: warning
|
||||||
|
line-length:
|
||||||
|
max: 150
|
||||||
|
allow-non-breakable-words: true
|
||||||
|
allow-non-breakable-inline-mappings: true
|
||||||
|
key-duplicates: enable
|
||||||
|
key-ordering: disable
|
||||||
|
new-line-at-end-of-file: enable
|
||||||
|
new-lines: enable
|
||||||
|
trailing-spaces: enable
|
||||||
|
truthy: enable
|
66
shell.nix
66
shell.nix
|
@ -4,75 +4,51 @@ with pkgs; mkShell {
|
||||||
|
|
||||||
name = "fcoscore-chart";
|
name = "fcoscore-chart";
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
# tooling
|
chart-testing
|
||||||
libcap
|
delve
|
||||||
typos
|
dgoss
|
||||||
grpcurl
|
dotenv-linter
|
||||||
httpie
|
editorconfig-checker
|
||||||
jq
|
|
||||||
|
|
||||||
pre-commit
|
|
||||||
python310Packages.pip
|
|
||||||
|
|
||||||
bazel_5
|
|
||||||
git
|
git
|
||||||
git-lfs
|
git-lfs
|
||||||
gitlint
|
gitlint
|
||||||
gnumake
|
gnumake
|
||||||
|
|
||||||
go
|
go
|
||||||
go-outline
|
go-outline
|
||||||
go-tools
|
go-tools
|
||||||
gocode
|
gocode
|
||||||
gocode-gomod
|
gocode-gomod
|
||||||
delve
|
|
||||||
|
|
||||||
godef
|
godef
|
||||||
golangci-lint
|
golangci-lint
|
||||||
gopkgs
|
gopkgs
|
||||||
gopls
|
gopls
|
||||||
ansible-lint
|
goss
|
||||||
dotenv-linter
|
grype
|
||||||
editorconfig-checker
|
|
||||||
|
|
||||||
hadolint
|
hadolint
|
||||||
mdl
|
|
||||||
mdsh
|
|
||||||
pre-commit
|
|
||||||
shellcheck
|
|
||||||
shfmt
|
|
||||||
yaml-language-server
|
|
||||||
yamllint
|
|
||||||
|
|
||||||
rnix-lsp
|
|
||||||
nix-build-uncached
|
|
||||||
nix-linter
|
|
||||||
nixpkgs-fmt
|
|
||||||
|
|
||||||
docker
|
|
||||||
k9s
|
k9s
|
||||||
kube3d
|
kube3d
|
||||||
|
kubebuilder
|
||||||
|
kubeconform
|
||||||
kubectl
|
kubectl
|
||||||
kubectx
|
kubectx
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
kustomize
|
|
||||||
kubebuilder
|
|
||||||
kubeval
|
kubeval
|
||||||
kubeval-schema
|
kubeval-schema
|
||||||
kubeconform
|
kustomize
|
||||||
chart-testing
|
mdl
|
||||||
|
mdsh
|
||||||
|
nix-build-uncached
|
||||||
|
nix-linter
|
||||||
|
nixpkgs-fmt
|
||||||
|
pre-commit
|
||||||
|
rnix-lsp
|
||||||
|
shfmt
|
||||||
skaffold
|
skaffold
|
||||||
dgoss
|
|
||||||
goss
|
|
||||||
grype
|
|
||||||
trivy
|
trivy
|
||||||
yamale
|
|
||||||
chart-testing
|
|
||||||
ansible
|
|
||||||
glab
|
|
||||||
vscodium-fhs
|
vscodium-fhs
|
||||||
|
yamale
|
||||||
# vscodium.fhsWithPackages (pkgs: with pkgs; [] )
|
yaml-language-server
|
||||||
|
yamllint
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -243,4 +243,3 @@ Return true if FabCityOS SMTP uses password authentication
|
||||||
{{- true -}}
|
{{- true -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{{- if and (not .Values.postgresql.enabled) (not .Values.externalDatabase.existingSecret) }}
|
{{- if and (not .Values.postgresql.enabled) (not .Values.externalDatabase.existingSecret) }}
|
||||||
---
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -469,4 +469,3 @@ externalDatabase:
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
existingSecretPostgresPasswordKey: ""
|
existingSecretPostgresPasswordKey: ""
|
||||||
|
|
Loading…
Reference in a new issue