Skip to content

Source Code demo series videos về Google Kubernetes Engine & DevOps | Lưu trữ Kubernetes Manifest Files, sử dụng Kustomize với GitHub Action Workflow để deploy. Action Secrets được Provision bởi Terraform Code.

Notifications You must be signed in to change notification settings

p-le/devops-todoapp-manifests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using GitHub Action Workflow kustomize

Workflow .github/workflows/deploy.yaml

This Workflow will need to be triggered manually after merging Pull Requests.

Pull Requests will be created when you build container images in Frontend and Backend Repositories

Steps:

  1. Authenticate to GCP Project using Workload Identity Feature
  2. Authorize to target GKE Cluster
  3. Install Kustomize
  4. Apply Kubernetes Manifest Files. Replace value using sed

Migration to Helm Chart

Note: IMO, Kustomize's template feature does not support provide variables dynamically.

That's why I used sed command to replace values in Manifest Files as a workaround.

I've decided to use Helm Chart with ArgoCD.

Check Repository: https://github.com/p-le/devops-helm-charts

About

Source Code demo series videos về Google Kubernetes Engine & DevOps | Lưu trữ Kubernetes Manifest Files, sử dụng Kustomize với GitHub Action Workflow để deploy. Action Secrets được Provision bởi Terraform Code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published