Skip to content

saiyam1814/waypoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waypoint

This is the demo used for Hashitalks 2022

Create Civo Kubernetes cluster

civo k3s create waypoint-demo-ht --wait

Save the Kubeconfig file

civo k3s config waypoint-demo-ht --save --local-path /Users/saiyampathak/civo/hashitalk

Export KUBECONFIG

export KUBECONFIG=/Users/saiyampathak/civo/hashitalk

Waypoint install

waypoint install --platform=kubernetes --accept-tos

Waypoint init

waypoint init

Waypoint up

waypoint up

GitOps

open the UI waypoint ui -authenticate Create New Project image

Give a project name and ntick connect to repository image

Enter the details image

Add the input variables for Docker registry authentication to push the image image

Congratulations, you have enabled GitOps, now every commit made to main will trigger the waypoint.hcl steps.

Workspace creation

waypoint workspace create w2

OIDC

  • Create the app in OAuth consent screen
  • Add OIDC credential to obtain the ClientID and Secret under the credentials page
  • Create the auth method
waypoint auth-method set oidc \
  -client-id=your-client-id \
  -client-secret=Your-secret \
  -issuer=https://accounts.google.com -allowed-redirect-uri="https://169899bf-489d-4231-988d-2eb7188e98d5.k8s.civo.com:9702/auth/oidc-callback"\
  google

waypoint project apply -git-url= -git-username=git -waypoint-hcl= -data-source=git demo

About

This is the demo used for Hashitalks 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published