Skip to content

Instantly share code, notes, and snippets.

View louisvernon's full-sized avatar

Louis Vernon louisvernon

  • @mednition
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nxsfan on github.
  • I am nxsfan (https://keybase.io/nxsfan) on keybase.
  • I have a public key whose fingerprint is 09A2 2F6C B541 1D98 6ACE 7389 0F72 7A47 5EF8 4A00

To claim this, I am signing this object:

@louisvernon
louisvernon / halyard-config.sh
Last active January 3, 2019 15:36
Halyard configuration for GKE plus Spinnaker deployment
# execute from remote path
cd $(cd -P -- "$(dirname -- "$0")" && pwd -P)
BACKUP_ID=$(date '+%d-%M-%Y-%s')
mv ~/.hal ~/hal$BACKUP_ID
source config_vars
if [! "$CLSID" = "" ]; then
$QUIET = "-q"
@louisvernon
louisvernon / staging-prod-configmap-deployment.json
Last active February 27, 2021 00:36
Spinnaker Kubernetes v2 Pipeline
{
"expectedArtifacts": [
{
"id": "deployment-manifest",
"defaultArtifact": {
"kind": "default.github",
"name": "services/myapp/k8s/deployment.yaml",
"reference": "https://api.github.com/repos/myorg/monorepo/contents/services/myapp/k8s/deployment.yaml",
"type": "github/file",
"version": "master"

Keybase proof

I hereby claim:

  • I am louisvernon on github.
  • I am louisvernon (https://keybase.io/louisvernon) on keybase.
  • I have a public key ASCI02wCZuIQT--OzjyuyDCbOxxycskDtpwVyQw37uS24Ao

To claim this, I am signing this object:

@louisvernon
louisvernon / findbucket.sh
Created January 29, 2019 17:56
Find a GCP Project from a GCS Bucket
bucket=gs://my-bucket
projectNumber=$(gsutil ls -L -b gs://${bucket#gs://} | grep -m1 "projectNumber" | tr -dc '0-9')
gcloud projects describe $projectNumber