latest changes

This commit is contained in:
Sebastian Wendel 2022-06-27 01:33:57 +02:00
parent 18e33135b2
commit 629e99f69b
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
12 changed files with 103 additions and 56 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.go text eol=lf

2
.gitignore vendored
View file

@ -4,4 +4,4 @@
.DS_Store
.direnv
temp
charts
charts

20
.gitlab-ci.yml Normal file
View 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

View file

@ -25,4 +25,4 @@
.vscode/
# Nix
.direnv
.direnv

1
.mdlrc Normal file
View file

@ -0,0 +1 @@
rules "MD003", "MD006", "MD011", "MD018", "MD019", "MD020", "MD021", "MD025", "MD027", "MD028"

12
.pre-commit-config.yaml Normal file
View 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
View 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

View file

@ -4,75 +4,51 @@ with pkgs; mkShell {
name = "fcoscore-chart";
nativeBuildInputs = with pkgs; [
# tooling
libcap
typos
grpcurl
httpie
jq
pre-commit
python310Packages.pip
bazel_5
chart-testing
delve
dgoss
dotenv-linter
editorconfig-checker
git
git-lfs
gitlint
gnumake
go
go-outline
go-tools
gocode
gocode-gomod
delve
godef
golangci-lint
gopkgs
gopls
ansible-lint
dotenv-linter
editorconfig-checker
goss
grype
hadolint
mdl
mdsh
pre-commit
shellcheck
shfmt
yaml-language-server
yamllint
rnix-lsp
nix-build-uncached
nix-linter
nixpkgs-fmt
docker
k9s
kube3d
kubebuilder
kubeconform
kubectl
kubectx
kubernetes-helm
kustomize
kubebuilder
kubeval
kubeval-schema
kubeconform
chart-testing
kustomize
mdl
mdsh
nix-build-uncached
nix-linter
nixpkgs-fmt
pre-commit
rnix-lsp
shfmt
skaffold
dgoss
goss
grype
trivy
yamale
chart-testing
ansible
glab
vscodium-fhs
# vscodium.fhsWithPackages (pkgs: with pkgs; [] )
yamale
yaml-language-server
yamllint
];
postInstall = ''

View file

@ -1,11 +1,11 @@
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
________ ________ ________ ________ ___ _________ ___ ___ ________ ________
|\ _____\\ __ \|\ __ \ |\ ____\|\ \|\___ ___\ |\ \ / /| |\ __ \|\ ____\
\ \ \__/\ \ \|\ \ \ \|\ /_ \ \ \___|\ \ \|___ \ \_| \ \ \/ / / \ \ \|\ \ \ \___|_
\ \ __\\ \ __ \ \ __ \ \ \ \ \ \ \ \ \ \ \ \ / / \ \ \\\ \ \_____ \
\ \ \_| \ \ \ \ \ \ \|\ \ \ \ \____\ \ \ \ \ \ \/ / / \ \ \\\ \|____|\ \
\ \__\ \ \__\ \__\ \_______\ \ \_______\ \__\ \ \__\__/ / / \ \_______\____\_\ \
________ ________ ________ ________ ___ _________ ___ ___ ________ ________
|\ _____\\ __ \|\ __ \ |\ ____\|\ \|\___ ___\ |\ \ / /| |\ __ \|\ ____\
\ \ \__/\ \ \|\ \ \ \|\ /_ \ \ \___|\ \ \|___ \ \_| \ \ \/ / / \ \ \|\ \ \ \___|_
\ \ __\\ \ __ \ \ __ \ \ \ \ \ \ \ \ \ \ \ \ / / \ \ \\\ \ \_____ \
\ \ \_| \ \ \ \ \ \ \|\ \ \ \ \____\ \ \ \ \ \ \/ / / \ \ \\\ \|____|\ \
\ \__\ \ \__\ \__\ \_______\ \ \_______\ \__\ \ \__\__/ / / \ \_______\____\_\ \
\|__| \|__|\|__|\|_______| \|_______|\|__| \|__|\___/ / \|_______|\_________\
\|___|/ \|_________|

View file

@ -243,4 +243,3 @@ Return true if FabCityOS SMTP uses password authentication
{{- true -}}
{{- end -}}
{{- end -}}

View file

@ -1,5 +1,4 @@
{{- if and (not .Values.postgresql.enabled) (not .Values.externalDatabase.existingSecret) }}
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -469,4 +469,3 @@ externalDatabase:
existingSecret: ""
existingSecretPasswordKey: ""
existingSecretPostgresPasswordKey: ""