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
#!/bin/sh | |
MUTATING_WEBHOOKS=($(kubectl get mutatingwebhookconfiguration -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}')) | |
VALIDATING_WEBHOOKS=($(kubectl get validatingwebhookconfigurations -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}')) | |
# Check Mutating WebHooks | |
echo ":: Checking Mutating WebHooks ::" | |
echo "::____________________________::" |
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
## deploys the external-dns - https://github.com/kubernetes-sigs/external-dns | |
## view latest version: helm search repo external-dns/external-dns | |
## view possible values: helm inspect values external-dns/external-dns | |
resource "helm_release" "external_dns" { | |
name = "external-dns" | |
repository = "https://kubernetes-sigs.github.io/external-dns" | |
chart = "external-dns" | |
version = "1.8.0" | |
namespace = "external-dns" |
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
# instructions: | |
# on the first run you to target apply otherwise terraform will complain with for_each | |
# 1. terraform apply -target='null_resource.projects' | |
# 2. terraform apply | |
terraform { | |
required_providers { | |
google = { | |
source = "hashicorp/google" | |
} |
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
locals { | |
azurerm_private_endpoint = { | |
custom_dns_configs = [ | |
{ | |
"fqdn" = "something.westeurope.data.azurecr.io" | |
"ip_addresses" = [ | |
"10.10.10.202" | |
] | |
}, | |
{ |
OlderNewer