-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dcintron/aksavm
- Loading branch information
Showing
210 changed files
with
46,950 additions
and
10,021 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,36 +1,49 @@ | ||
|
||
{ | ||
"name": "Azure CAF rover", | ||
// Update the 'dockerComposeFile' list if you have more compose files or use different names. | ||
"dockerComposeFile": "docker-compose.yml", | ||
// Container user to use in VSCode Online and GitHub Codespaces | ||
"remoteUser": "vscode", | ||
// The 'service' property is the name of the service for the container that VS Code should | ||
// use. Update this value and .devcontainer/docker-compose.yml to the real service name. | ||
"service": "rover", | ||
// The optional 'workspaceFolder' property is the path VS Code should open by default when | ||
// connected. This is typically a volume mount in .devcontainer/docker-compose.yml | ||
"workspaceFolder": "/tf/caf", | ||
// Use 'settings' to set *default* container specific settings.json values on container create. | ||
// You can edit these settings after create using File > Preferences > Settings > Remote. | ||
"settings": { | ||
"files.eol": "\n", | ||
"terminal.integrated.defaultProfile.linux": "/bin/bash", | ||
"editor.tabSize": 2, | ||
"terminal.integrated.scrollback": 64000, | ||
}, | ||
// Uncomment the next line if you want start specific services in your Docker Compose config. | ||
// "runServices": [], | ||
// Uncomment this like if you want to keep your containers running after VS Code shuts down. | ||
// "shutdownAction": "none", | ||
// Uncomment the next line to run commands after the container is created. | ||
//"postCreateCommand": "cp -R /tmp/.ssh-localhost/* ~/.ssh && sudo chmod 600 ~/.ssh/* && sudo chown -R $(whoami) /tf/caf && git config --global core.editor vim && pre-commit install && pre-commit autoupdate", | ||
"postCreateCommand": "sudo cp -R /tmp/.ssh-localhost/* ~/.ssh && sudo chown -R $(whoami):$(whoami) /tf/caf ~/.ssh && sudo chmod 400 ~/.ssh/* && git config --global core.editor vi && pre-commit install && pre-commit autoupdate && sudo az aks install-cli", | ||
"postStartCommand": "sudo chmod 666 /var/run/docker.sock", | ||
// Add the IDs of extensions you want installed when the container is created in the array below. | ||
"extensions": [ | ||
"4ops.terraform", | ||
"mutantdino.resourcemonitor", | ||
"name": "AKS LZA Dev Container", | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", | ||
"features": { | ||
"ghcr.io/devcontainers/features/azure-cli:1": {}, | ||
"ghcr.io/devcontainers/features/terraform:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-azuretools.vscode-bicep", | ||
"eamodio.gitlens", | ||
"golang.go" | ||
] | ||
} | ||
"github.copilot", | ||
"github.copilot-chat", | ||
"gruntfuggly.todo-tree", | ||
"github.vscode-github-actions", | ||
"github.vscode-pull-request-github", | ||
"hashicorp.terraform", | ||
"helixquar.asciidecorator", | ||
"humao.rest-client", | ||
"joffreykern.markdown-toc", | ||
"mhutchie.git-graph", | ||
"ms-azure-devops.azure-pipelines", | ||
"ms-azurecache.vscode-azurecache", | ||
"ms-azuretools.azure-dev", | ||
"ms-azuretools.vscode-azurecontainerapps", | ||
"ms-azuretools.vscode-azureresourcegroups", | ||
"ms-azuretools.vscode-azurestorage", | ||
"ms-azuretools.vscode-azureterraform", | ||
"ms-azuretools.vscode-azurevirtualmachines", | ||
"ms-azuretools.vscode-bicep", | ||
"ms-azuretools.vscode-dapr", | ||
"ms-azuretools.vscode-docker", | ||
"ms-bigdatatools.vscode-asa", | ||
"ms-kubernetes-tools.vscode-aks-tools", | ||
"ms-vscode.azure-account", | ||
"ms-vscode.azure-repos", | ||
"ms-vscode.azurecli", | ||
"msazurermtools.azurerm-vscode-tools", | ||
"stackbreak.comment-divider" | ||
] | ||
} | ||
}, | ||
"forwardPorts": [ | ||
// Forward ports if needed for local development | ||
], | ||
"postCreateCommand": ".devcontainer/setup.sh" | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
# Install kubelogin | ||
az aks install-cli | ||
|
||
# install kubectl | ||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | ||
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl | ||
|
||
# Install Helm | ||
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash |
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.