Skip to content

Instantly share code, notes, and snippets.

View gaelleacas's full-sized avatar
☁️
Playing w/ Cloud

Gaëlle Acas gaelleacas

☁️
Playing w/ Cloud
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gaelleacas on github.
  • I am gacas (https://keybase.io/gacas) on keybase.
  • I have a public key ASCJ_Y3N5GnPTXg7BBGfuxDmeOutKwlmWieSbFrVkmnTlwo

To claim this, I am signing this object:

@gaelleacas
gaelleacas / gke-local-domain.md
Created December 18, 2019 22:51
GKE : use local domain

GKE : use local domain

tags: gke SSL

Sometime you need to test SSL on localhost I have a GKE cluster & I want to try ingress with a fake localhost dns like https://main.local

set a local dns to your ingress external IP

/etc/hosts :

All your pod has :

    metadata:
      labels:
        app: my-pod

in your zshrc :

Update Secret :

k create secret generic my-secret --from-env-file /path/to/file --dry-run -o yaml | k replace -f-

View Secret :

first get ksd :

curl -LO https://github.com/ashleyschuett/kubernetes-secret-decode/releases/download/v1.0.1/ksd && \
chmod +x ksd && \