NIM
NGINX instance manager using f5-devops-containers
includes:
- pre-commit
- go
- docker
- terraform
- terraform-docs
- gcloud cli
login
PROJECT_ID="myprojectid"
gcloud auth login
gcloud config set project $PROJECT_ID
gcloud auth application-default login
licenses
running
set your vars in admin.auto.tfvars
cp admin.auto.tfvars.example admin.auto.tfvars
add scripts and start setup
. init.sh && setup
f5 and nim plugin for rest examples
extensionUrls="https://api.github.com/repos/f5devcentral/vscode-f5/releases/latest https://api.github.com/repos/f5devcentral/vscode-nim/releases/tags/v0.4.0"
for downloadUrl in $extensionUrls
do
wget $(curl -s $downloadUrl | jq -r '.assets[] | select(.name | contains (".vsix")) | .browser_download_url')
done
Just vscode NIM plugin
downloadUrl="https://api.github.com/repos/f5devcentral/vscode-nim/releases/tags/v0.4.0"
wget $(curl -s $downloadUrl | jq -r '.assets[] | select(.name | contains (".vsix")) | .browser_download_url')
## right click and install vsix in vscode
# remove when done
#rm vscode-nginx-0.4.0.vsix
Development
don't forget to add your git user config
git config --global user.name "myuser"
git config --global user.email "myuser@domain.com"
checking for secrets as well as linting is performed by git pre-commit with the module requirements handled in the devcontainer.
testing pre-commit hooks:
# test pre commit manually
pre-commit run -a -v
todo
agent manging nginx-plus on manager agent scripting agent ansible ssh keys user / agent / ansible internal CA for mtls agent connections