This file contains hidden or 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: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: test-app | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: test-app | |
| template: | |
| metadata: |
This file contains hidden or 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/bash | |
| # https://cert-manager.io/docs/installation/ | |
| helm repo add jetstack https://charts.jetstack.io | |
| sleep 30 | |
| helm repo update | |
| sleep 30 |
This file contains hidden or 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/bash | |
| # https://istio.io/latest/docs/setup/install/helm/ | |
| kubectl create namespace istio-system | |
| helm install istio-base manifests/charts/base -n istio-system | |
| sleep 5 | |
| helm install istiod manifests/charts/istio-control/istio-discovery -n istio-system |
This file contains hidden or 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: networking.istio.io/v1alpha3 | |
| kind: VirtualService | |
| metadata: | |
| name: certtest-virtual-service | |
| namespace: default | |
| spec: | |
| hosts: | |
| - "certstaging.deanpetrusek.cloud" | |
| gateways: | |
| - istio-system/gateway-staging |
This file contains hidden or 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: networking.istio.io/v1alpha3 | |
| kind: Gateway | |
| metadata: | |
| name: gateway-prod | |
| namespace: istio-system | |
| spec: | |
| selector: | |
| istio: ingressgateway | |
| servers: | |
| - port: |
This file contains hidden or 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: cert-manager.io/v1 | |
| kind: ClusterIssuer | |
| metadata: | |
| name: letsencrypt-prod-cluster | |
| namespace: istio-system | |
| spec: | |
| acme: | |
| email: [email protected] | |
| server: https://acme-v02.api.letsencrypt.org/directory | |
| privateKeySecretRef: |
This file contains hidden or 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: cert-manager.io/v1 | |
| kind: Certificate | |
| metadata: | |
| name: deanpetrusek-domain-cert-prod | |
| namespace: istio-system | |
| spec: | |
| secretName: deanpetrusek-domain-cert-prod | |
| duration: 2160h # 90d | |
| renewBefore: 360h # 15d | |
| isCA: false |
This file contains hidden or 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/bash | |
| # https://cert-manager.io/docs/installation/ | |
| helm repo add jetstack https://charts.jetstack.io | |
| sleep 30 | |
| helm repo update | |
| sleep 30 |
This file contains hidden or 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
| dotnet pack --output /packages -p:PackageVersion=3.1 |
This file contains hidden or 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
| [Reflection.Assembly]::LoadWithPartialName("System.Messaging") | |
| function WriteMessageToMSMQTrans($queueName, $message, $label) | |
| { | |
| $queue = new-object System.Messaging.MessageQueue $queueName | |
| $utf8 = new-object System.Text.UTF8Encoding | |
| $tran = new-object System.Messaging.MessageQueueTransaction | |
| $tran.Begin() | |
| $msgBytes = $utf8.GetBytes($message) | |
| $msgStream = new-object System.IO.MemoryStream | |
| $msgStream.Write($msgBytes, 0, $msgBytes.Length) |
NewerOlder