Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Introduce Argo CD #22

Merged
merged 34 commits into from
Oct 9, 2024
Merged

Feature: Introduce Argo CD #22

merged 34 commits into from
Oct 9, 2024

Conversation

werniq
Copy link
Owner

@werniq werniq commented Oct 2, 2024

Pull Request Description: Introduce Argo CD for Go-Gator

Summary:
This pull request introduces Argo CD into the project for GitOps-based continuous deployment. It includes the setup of three directories for Helm charts to manage the deployment of different components. The structure is as follows:

  1. day-0: Contains essential setup for the application, including a cron job that periodically updates AWS credentials secrets. Additionally, this directory includes dependency charts for:

    • Vertical Pod Autoscaler: Ensures optimal resource usage by scaling pods based on usage metrics.
    • Cert Manager: Manages TLS certificates, ensuring secure communication.
  2. go-gator: This directory contains the Helm chart for the Go-Gator application, the core of the project.

  3. go-gator-operator: Contains the image for the Go-Gator Operator, which manages the lifecycle of custom resources related to HotNews and Feed CRDs.

Key Changes:

  • Argo CD introduced for managing Kubernetes manifests and automating application delivery.

image

@werniq werniq changed the base branch from main to feature/aws-cdk October 2, 2024 12:42
@werniq werniq changed the base branch from feature/aws-cdk to main October 2, 2024 12:48
day-0/Chart.yaml Outdated
@@ -4,3 +4,12 @@ description: A Helm chart for Kubernetes
type: application
version: 0.1.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update version?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated version in day-0 and go-gator charts

namespace: go-gator
spec:
project: default
source:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this will work? where is a declaration of git project and folder which it will watch?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created file with main application, which launches 3 apps which are in argo-cd/apps folder

Copy link
Collaborator

@VitaliyShevchenko VitaliyShevchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not work.

@werniq werniq merged commit bb7f9e6 into main Oct 9, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants