mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-20 04:18:51 +02:00
added vscodium confg
This commit is contained in:
parent
3f06f3e90b
commit
d29d46fe8f
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,7 +3,6 @@
|
||||||
.direnv
|
.direnv
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.pre-commit-config.yaml
|
.pre-commit-config.yaml
|
||||||
.vscode
|
|
||||||
*.tgz
|
*.tgz
|
||||||
/.idea/*
|
/.idea/*
|
||||||
charts
|
charts
|
||||||
|
|
10
.vscode/extensions.json
vendored
Normal file
10
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"bbenoist.nix",
|
||||||
|
"cab404.vscode-direnv",
|
||||||
|
"EditorConfig.EditorConfig",
|
||||||
|
"jnoortheen.nix-ide",
|
||||||
|
"ms-kubernetes-tools.vscode-kubernetes-tools",
|
||||||
|
"redhat.vscode-yaml",
|
||||||
|
]
|
||||||
|
}
|
3
.vscode/launch.json
vendored
Normal file
3
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"configurations": []
|
||||||
|
}
|
17
.vscode/settings.json
vendored
Normal file
17
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll": true
|
||||||
|
},
|
||||||
|
"editor.minimap.enabled": false,
|
||||||
|
"nix.enableLanguageServer": true,
|
||||||
|
"redhat.telemetry.enabled": false,
|
||||||
|
"yaml.completion": true,
|
||||||
|
"yaml.format.bracketSpacing": true,
|
||||||
|
"yaml.format.enable": true,
|
||||||
|
"yaml.hover": true,
|
||||||
|
"yaml.schemaStore.enable": true,
|
||||||
|
"yaml.validate": true,
|
||||||
|
"yaml.schemas": {
|
||||||
|
"https://raw.githubusercontent.com/rancher/k3d/main/pkg/config/config.versions.schema.json": "file:///home/crstl/Development/srx.infra.k8s/test/k3d-srx-dev.yaml"
|
||||||
|
}
|
||||||
|
}
|
41
.vscode/tasks.json
vendored
Normal file
41
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "k3d: create",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "k3d cluster create fcos-dev --config ci/k3d-fcos-dev.yaml",
|
||||||
|
"group": "test",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k3d: delete",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "k3d cluster delete --all",
|
||||||
|
"group": "test",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k8s: kustomize",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "kubectl kustomize overlays/dev --enable-helm",
|
||||||
|
"group": "test",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k8s: score",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "kubectl kustomize overlays/dev --enable-helm | kube-score score -",
|
||||||
|
"group": "test",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k8s: policies",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "kubectl kustomize overlays/dev --enable-helm | conftest test -p test --all-namespaces -",
|
||||||
|
"group": "test",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k8s: apply",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "kubectl kustomize overlays/dev --enable-helm | kubectl apply -f -",
|
||||||
|
"group": "build",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue