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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: mypod | |
spec: | |
containers: | |
- image: nginx:1.15.5 | |
name: mypod | |
volumeMounts: | |
- name: azure |
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
# Setup build arguments with default versions | |
ARG TERRAFORM_VERSION=0.13.2 | |
ARG KUBE_VERSION=v1.18.9 | |
ARG HELM_VERSION=v3.4.0 | |
ARG HELMFILE_VERSION=v0.132.1 | |
ARG AZURE_CLI_VERSION=2.15.1 | |
ARG PYTHON_MAJOR_VERSION=3.7 | |
ARG KUSTOMIZE_VERSION=v3.8.1 | |
# Download Terraform\Kubectl\Helm binaries |
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
$sha256 = [System.Security.Cryptography.HashAlgorithm]::Create('SHA256') | |
$hmacsha256 = [System.Security.Cryptography.HashAlgorithm]::Create('HMACSHA256') | |
$hmacsha256.key = [Text.Encoding]::UTF8.GetBytes('0000000000000000004d6ec16dafe9d8370958664c1dc422f452892264c59526') | |
$newHash = '2903d97704db3c318063a7bb86c93dbf814e305fb3d059130e391df2cf0d5794' | |
$games = foreach ($x in 0..3739515) { | |
$signature = [System.BitConverter]::ToString( | |
$hmacsha256.ComputeHash( | |
[byte[]] -split ($newHash -replace '..', '0x$& ') | |
) |