Skip to content

Instantly share code, notes, and snippets.


Zachary Loeber zloeber

View GitHub Profile
View gist:137ea9463514e9d36eedd44dff12c9c3
### Keybase proof
I hereby claim:
* I am zloeber on github.
* I am zloeber ( on keybase.
* I have a public key ASBOs716i1Js9FIAr-c1ozV8HUyal6AIrI1Gr-HKQlwzQAo
To claim this, I am signing this object:
zloeber / CreateAzureADDynamicGroups.ps1
Created Feb 4, 2018
Azure AD Dynamic Group Standard Groups
View CreateAzureADDynamicGroups.ps1
Creates or updates existing a handful of AzureAD dynamic groups for use in Azure AD
Requires the AzureADPreview module to work correctly!
More on dynamic membership in Azure AD:
Remove-Module AzureAD -Force -ErrorAction:SilentlyContinue
zloeber / gist:777c345d69998f054a78e076860e5d02
Created Jan 2, 2020
hugo multi-provider publish with azure devops
View gist:777c345d69998f054a78e076860e5d02
name: $(BuildDefinitionName).$(DayOfYear)$(Rev:.r)
batch: true
- master
- develop
# Don't trigger on PRs
pr: none
zloeber / gist:414511f69b4e5228d143a38420dd3f9e
Created Jan 2, 2020
hugo multi-provider publish new post
View gist:414511f69b4e5228d143a38420dd3f9e
git checkout develop
make new/post
hugo new content/posts/
git add --all . && git commit -m 'post: some awesome content added'
git push origin develop
View gist:a55506c4f5ce17be6bc84a649ab0ca65
git checkout master
git merge develop
git add --all . && git commit -m 'post: some awesome content approved to publish'
zloeber / gist:b8e2f06a4198ef3a2db81532838d6a03
Created Jan 2, 2020
Helmfile: presync hook namespace creation
View gist:b8e2f06a4198ef3a2db81532838d6a03
- events: ["presync"]
showlogs: true
command: "/bin/sh"
- "-c"
- >-
kubectl get namespace "{{`{{ .Release.Namespace }}`}}" >/dev/null 2>&1 || kubectl create namespace "{{`{{ .Release.Namespace }}`}}";
zloeber / gist:991ba9c30adabd8041aea0e918f08493
Created Jan 2, 2020
helm: helm-namespace plugin install
View gist:991ba9c30adabd8041aea0e918f08493
plugin install
View gist:097771685b5be81203fab3f3f796dd2f
helm plugin install
View gist:445233e082f0b4252563e5fc368baffc
"authorized": true,
"description": "SuperSecret Variable Group (SuperSecretVault)",
"name": "SuperSecret",
"type": "AzureKeyVault",
"variableGroupProjectReferences": [
"projectReference": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "MyADOProject"