Skip to content

Instantly share code, notes, and snippets.

@jvasallo
Created July 28, 2022 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvasallo/6a2bca0df29979ab5d05ab737d9f928b to your computer and use it in GitHub Desktop.
Save jvasallo/6a2bca0df29979ab5d05ab737d9f928b to your computer and use it in GitHub Desktop.
Spinnaker IAP Kubernetes Secret
# Remember K8s Secrets are base64 encoded
# echo -n 'some-client-id@googleapps.com' | base64
# echo -n 'some-secret' | base64
apiVersion: v1
kind: Secret
metadata:
name: spin-iap
namespace: spinnaker
type: Opaque
data:
# The below is just sample data...or is it... ;)
client_id: d2UtYXJlLW5vLXN0cmFuZ2Vycy10by1sb3ZlLXlvdS1rbm93LXRoZS1ALXJ1bGVz
client_secret: YW5kLXNvLWRvLUktOyk=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment