Skip to content

DataKnifeAI/gitops-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gitops-dev

Development tools deployed to the prd-apps Kubernetes cluster via GitOps.

Overview

This repository contains GitOps configurations for developer-focused tools that run on the production applications cluster. Each tool is deployed using declarative manifests (Helm charts, Kustomize) and follows the same patterns used in gitops-tools.

Target Cluster

  • Cluster: prd-apps
  • Context: kubectl config use-context prd-apps

Tools

Coder — Cloud Development Environments

Coder provides secure, on-demand development environments (workspaces) that run on your infrastructure. It integrates with Cursor, VS Code, JetBrains, and other IDEs.

Prerequisites

Structure

gitops-dev/
├── coder/
│   ├── base/                    # Base Coder + PostgreSQL manifests
│   │   ├── postgres-cluster.yaml # CloudNativePG Cluster for Coder DB
│   │   ├── coder-helmchart.yaml  # Coder Helm chart config
│   │   └── ...
│   └── overlays/
│       └── prd-apps/            # prd-apps cluster overlay
│           ├── fleet.yaml
│           └── kustomization.yaml
├── docs/                        # Deployment and operations documentation
│   └── truenas-csi/             # TrueNAS CSI driver patches and migration
└── README.md

PostgreSQL (CloudNativePG)

Coder requires PostgreSQL. This repo uses the CloudNativePG operator (same as high-command-postgres in the cluster) to provision a managed PostgreSQL cluster.

Connection format for Coder:

postgres://{user}:{password}@{cluster}-rw.{namespace}:5432/{database}?sslmode=disable

Deployment

Manual (kubectl)

kubectl config use-context prd-apps
kubectl apply -k coder/overlays/prd-apps/

Fleet (GitOps)

Configure a Fleet GitRepo to monitor this repository and target the prd-apps cluster.

Adding New Tools

  1. Create a new directory (e.g., tool-name/)
  2. Add base/ and overlays/prd-apps/ structure
  3. Update this README with the new tool
  4. Follow existing patterns from coder/ and gitops-tools

About

Development tools deployed to prd-apps Kubernetes cluster via GitOps

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors