-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
353 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/ubuntu | ||
{ | ||
"name": "home-ops", | ||
"image": "ghcr.io/mmalyska/home-ops-devcontainer:main@sha256:298c09ae2203b66dd69c1a9b4883383051e026f2c2695340b9ffe869fa233e7c", | ||
"secrets": { | ||
"SOPS_AGE_KEY": { | ||
"description": "SOPS AGE key for decrypting secrets." | ||
}, | ||
"TERRAFORM_TOKEN":{ | ||
"description": "Token to access terraform cloud." | ||
} | ||
}, | ||
"containerEnv": { | ||
"SOPS_AGE_KEY": "${localEnv:SOPS_AGE_KEY}", | ||
"TERRAFORM_TOKEN": "${localEnv:TERRAFORM_TOKEN}" | ||
"name": "home-ops", | ||
"image": "ghcr.io/mmalyska/home-ops-devcontainer:main@sha256:298c09ae2203b66dd69c1a9b4883383051e026f2c2695340b9ffe869fa233e7c", | ||
"secrets": { | ||
"SOPS_AGE_KEY": { | ||
"description": "SOPS AGE key for decrypting secrets." | ||
}, | ||
"onCreateCommand": "bash .devcontainer/scripts/onCreateCommand.sh ${containerWorkspaceFolder}", | ||
"updateContentCommand": "bash .devcontainer/scripts/updateContentCommand.sh", | ||
"remoteUser": "vscode", | ||
"containerUser": "vscode", | ||
"customizations": { | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"vs-kubernetes": { | ||
"vscode-kubernetes.kubectl-path": "/home/linuxbrew/.linuxbrew/bin/kubectl", | ||
"vscode-kubernetes.helm-path": "/home/linuxbrew/.linuxbrew/bin/helm" | ||
} | ||
}, | ||
"extensions": [ | ||
"HashiCorp.terraform", | ||
"britesnow.vscode-toggle-quotes", | ||
"mitchdenny.ecdc", | ||
"ms-kubernetes-tools.vscode-kubernetes-tools", | ||
"oderwat.indent-rainbow", | ||
"redhat.ansible", | ||
"signageos.signageos-vscode-sops", | ||
"usernamehw.errorlens", | ||
"fcrespo82.markdown-table-formatter", | ||
"ms-azuretools.vscode-docker", | ||
"github.vscode-pull-request-github" | ||
] | ||
"TERRAFORM_TOKEN": { | ||
"description": "Token to access terraform cloud." | ||
} | ||
}, | ||
"containerEnv": { | ||
"SOPS_AGE_KEY": "${localEnv:SOPS_AGE_KEY}", | ||
"TERRAFORM_TOKEN": "${localEnv:TERRAFORM_TOKEN}" | ||
}, | ||
"onCreateCommand": "bash .devcontainer/scripts/onCreateCommand.sh ${containerWorkspaceFolder}", | ||
"updateContentCommand": "bash .devcontainer/scripts/updateContentCommand.sh", | ||
"remoteUser": "vscode", | ||
"containerUser": "vscode", | ||
"customizations": { | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"vs-kubernetes": { | ||
"vscode-kubernetes.kubectl-path": "/home/linuxbrew/.linuxbrew/bin/kubectl", | ||
"vscode-kubernetes.helm-path": "/home/linuxbrew/.linuxbrew/bin/helm" | ||
} | ||
}, | ||
"extensions": [ | ||
"HashiCorp.terraform", | ||
"britesnow.vscode-toggle-quotes", | ||
"mitchdenny.ecdc", | ||
"ms-kubernetes-tools.vscode-kubernetes-tools", | ||
"oderwat.indent-rainbow", | ||
"redhat.ansible", | ||
"signageos.signageos-vscode-sops", | ||
"usernamehw.errorlens", | ||
"fcrespo82.markdown-table-formatter", | ||
"ms-azuretools.vscode-docker", | ||
"github.vscode-pull-request-github" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/ubuntu | ||
{ | ||
"name": "home-ops", | ||
"build": { | ||
"dockerfile": "./Dockerfile", | ||
"context": "." | ||
}, | ||
"remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/go": {}, | ||
"./local-features/homebrew": {}, | ||
"./local-features/common": {} | ||
} | ||
"name": "home-ops", | ||
"build": { | ||
"dockerfile": "./Dockerfile", | ||
"context": "." | ||
}, | ||
"remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/go": {}, | ||
"./local-features/homebrew": {}, | ||
"./local-features/common": {} | ||
} | ||
} |
22 changes: 10 additions & 12 deletions
22
.github/.devcontainer/local-features/common/devcontainer-feature.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
{ | ||
"name": "Common", | ||
"id": "common", | ||
"version": "1.0.0", | ||
"description": "Installs common resources", | ||
"options": {}, | ||
"containerEnv": { | ||
"NONINTERACTIVE": "1" | ||
}, | ||
"installsAfter": [ | ||
"./local-features/homebrew" | ||
] | ||
} | ||
"name": "Common", | ||
"id": "common", | ||
"version": "1.0.0", | ||
"description": "Installs common resources", | ||
"options": {}, | ||
"containerEnv": { | ||
"NONINTERACTIVE": "1" | ||
}, | ||
"installsAfter": ["./local-features/homebrew"] | ||
} |
28 changes: 13 additions & 15 deletions
28
.github/.devcontainer/local-features/homebrew/devcontainer-feature.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
{ | ||
"name": "Homebrew", | ||
"id": "homebrew", | ||
"version": "1.0.0", | ||
"description": "Installs Homebrew", | ||
"options": {}, | ||
"containerEnv": { | ||
"NONINTERACTIVE": "1", | ||
"PATH": "${PATH}:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin", | ||
"MANPATH": "/home/linuxbrew/.linuxbrew/share/man:${MANPATH}", | ||
"INFOPATH": "/home/linuxbrew/.linuxbrew/share/info:${INFOPATH}" | ||
}, | ||
"installsAfter": [ | ||
"ghcr.io/devcontainers/features/common-utils" | ||
] | ||
} | ||
"name": "Homebrew", | ||
"id": "homebrew", | ||
"version": "1.0.0", | ||
"description": "Installs Homebrew", | ||
"options": {}, | ||
"containerEnv": { | ||
"NONINTERACTIVE": "1", | ||
"PATH": "${PATH}:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin", | ||
"MANPATH": "/home/linuxbrew/.linuxbrew/share/man:${MANPATH}", | ||
"INFOPATH": "/home/linuxbrew/.linuxbrew/share/info:${INFOPATH}" | ||
}, | ||
"installsAfter": ["ghcr.io/devcontainers/features/common-utils"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
**/cluster/system/prometheus-stack/dashboards | ||
**/.git | ||
charts/ | ||
**/charts/ | ||
.terraform/ | ||
.task/ | ||
.vscode/ | ||
.archive/ | ||
**/charts | ||
**/.terraform | ||
**/.task | ||
**/.vscode | ||
**/.archive | ||
**/*.sops.* | ||
**/*.sec.* | ||
gotk-components.yaml | ||
**/gotk-components.yaml | ||
**/templates/*.y*ml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
--- | ||
trailingComma: "es5" | ||
trailingComma: "all" | ||
tabWidth: 2 | ||
semi: false | ||
singleQuote: false | ||
bracketSpacing: false | ||
useTabs: false | ||
bracketSameLine: true | ||
quoteProps: "preserve" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.