No description
  • Python 88.7%
  • Shell 10.6%
  • Go Template 0.4%
  • Dockerfile 0.3%
Find a file
2026-10-28 14:05:49 -05:00
.forgejo/workflows Use shared container action 2026-07-31 14:07:05 -05:00
apps Trino catalog cleanup / authz verify 2026-10-28 14:05:49 -05:00
authz Trino catalog cleanup / authz verify 2026-10-28 14:05:49 -05:00
common Welcome home! 2026-05-14 18:02:58 -05:00
docs privacy statement 2026-08-25 08:33:09 -05:00
fdwg-apps Disable CWFs 2026-08-06 12:13:46 -05:00
git-hooks Add kustomize git hooks 2026-05-11 11:54:24 -05:00
.gitignore Centralize iceberg maintenance under polaris 2026-07-30 21:44:33 -05:00
bronto-historical.md Bronto: release numbers 2026-08-27 11:49:50 -05:00
datanommer_meta.duckdb Bronto: release numbers 2026-08-27 11:49:50 -05:00
fnox.toml Polaris: new credentials 2026-08-15 11:41:27 -05:00
mise.toml Stray sealed secrets files 2026-10-27 18:22:33 -05:00
README.md Stray sealed secrets files 2026-10-27 18:22:33 -05:00
renovate.json Add renovate.json 2026-07-10 16:46:26 +00:00
topic_schema_metadata.py Bronto: release numbers 2026-08-27 11:49:50 -05:00

Hatlas-FDWG-ArgoCD

This repo contains all of the ArgoCD infrastructure code for deploying FDWG apps to Hatlas.

Trusted FDWG members may directly manage this repo without intervention from "ops" (i.e. @mwinters and @smoliicek). This gives FDWG roughly the same level of access as you would have with Communishift or similar. PRs are welcome on the ops repo too, but this will require a review from the ops team to merge.

Places you can access things on the web:

Overview

I can't teach you all of these tools, though I'm happy to give you pointers in Matrix! 🙂 At minimum you need to understand:

  • Kubernetes
  • ArgoCD
  • Kustomize (as much as possible) and Helm (when we must)

One thing that is unique to Hatlas is that we're currently running on a single server, which means we need to be very careful about allocating RAM, disk, etc to ensure that nothing crashes and corrupts data. For this reason, only the ops repo can create:

  • Namespaces
  • Persistent Volumes (A PVC will not auto-create a PV.)
  • Secrets (You should use the Sealed Secrets operator anyway.)

Additionally, if your thing needs a postgres, you should use the CNPG Operator.

CLI

@mwinters heavily uses mise (basically if direnv and homebrew had a baby), and there is a mise.toml file in the root directory. The easiest way to ensure that you're using the correct versions of the CLI tools is to install mise and then mise trust and mise install in this directory.

ArgoCD setup:

argocd login argocd.hatlas.mwinters.net --sso

# Protip!
rgo() {argocd app get $1 --refresh; sleep 10; argocd app sync $1}
rgo fdwg-argocd/www-hatlas

Argo Pattern: app-of-apps

Even if you know ArgoCD well, our setup may be a bit confusing. Argo has basically two modes for treating dev teams: either they have full cluster access (deploy to argocd namespace) or no access at all (only use ApplicationSets). I want our dev team fully enabled within their namespaces and able to declare their own Applications so they can use ignoreDifferences etc. This requires a few extra layers of config + some Kyverno duct tape.

Our hierarchy:

  • [Ops repo] fdwg Application
    • Belongs to the default project
    • Declares AppProjects fdwg-bridge and fdwg
      • The bridge project constrains Application objects to only be allowed in the fdwg-argocd namespace. This is the trust boundary between ops and dev: everything below it can be authored in this repo.
    • Declares:
      • [Ops repo] fdwg-apps Application in the fdwg-bridge project
        • Sources its resources from:
          • [This repo] /fdwg-apps/ as a top-level Application.
            • All sub Applications here must exist in the fdwg project and the fdwg-argocd namespace. This is the default so we just don't specify it.

In other words:

  • default project
    • fdwg-bridge project
      • fdwg-apps app
        • www-hatlas app
        • datanommer app
        • etc