This is the demo used for Hashitalks 2022
civo k3s create waypoint-demo-ht --wait
civo k3s config waypoint-demo-ht --save --local-path /Users/saiyampathak/civo/hashitalk
export KUBECONFIG=/Users/saiyampathak/civo/hashitalk
waypoint install --platform=kubernetes --accept-tos
waypoint init
waypoint up
open the UI
waypoint ui -authenticate
Create New Project
Give a project name and ntick connect to repository
Add the input variables for Docker registry authentication to push the image
Congratulations, you have enabled GitOps, now every commit made to main will trigger the waypoint.hcl
steps.
waypoint workspace create w2
- 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