View test2.js
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
var response = pm.response.json(); | |
pm.environment.set("access_token", response.token); |
View test1.js
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
var response = pm.response.json(); | |
pm.environment.set("refresh_token", response.refresh_token); |
View nginx-test.yaml
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: deployment-nginx | |
labels: | |
app: nginx | |
namespace: nginx-test | |
spec: | |
selector: | |
matchLabels: |
View install-ako-for-all.yaml
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: networking.tkg.tanzu.vmware.com/v1alpha1 | |
kind: AKODeploymentConfig | |
metadata: | |
name: install-ako-for-all | |
spec: | |
extraConfigs: | |
ingress: | |
defaultIngressController: true | |
disableIngressClass: false |
View ako.txt
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 | |
data: | |
apiServerPort: "8080" | |
autoFQDN: disabled | |
cloudName: HobbitCloud - vSphere - Utrecht | |
clusterName: default-tkg-wkl-prod | |
cniPlugin: antrea | |
controllerIP: nl-utc-p-alb-01.mdb-lab.com | |
controllerVersion: 20.1.3 | |
defaultIngController: "false" |
View cert-nginx-test.yaml
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: cert-manager.io/v1 | |
kind: Certificate | |
metadata: | |
name: nginx-test-tkg-mdb-lab-com | |
namespace: nginx-test | |
spec: | |
secretName: nginx-test-tkg-mdb-lab-com | |
issuerRef: | |
name: vault-cluster-issuer | |
kind: ClusterIssuer |
View acl_sa_cert-manager.hcl
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
path "pki/sign/mdb-lab-dot-com" { | |
capabilities = ["create", "update"] | |
} |
View vault-issuer.yaml
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: cert-manager.io/v1 | |
kind: ClusterIssuer | |
metadata: | |
name: vault-cluster-issuer | |
spec: | |
vault: | |
path: pki/sign/<insert PKI issuer here> | |
server: https://<insert Vault server here>:8200 | |
caBundle: <base64 encoded caBundle PEM file> | |
auth: |
View vault-auth.yaml
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: Secret | |
type: Opaque | |
metadata: | |
name: cert-manager-vault-approle | |
namespace: cert-manager | |
data: | |
secretId: "<insert base64 secret here>" |
View cheekyGist
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
[Unit] | |
Description="HashiCorp Vault Agent" | |
Documentation=https://www.vaultproject.io/docs/ | |
Requires=network-online.target | |
After=network-online.target | |
ConditionFileNotEmpty=/vault-agent/vault-agent.hcl | |
StartLimitIntervalSec=60 | |
StartLimitBurst=3 | |
[Service] |
NewerOlder