Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ AKS-specific GitOps configuration for ArgoCD addon lifecycle management. Part of
## Directory Structure

```
applicationsets/ → ArgoCD ApplicationSets (App-of-Apps pattern, 10 total)
applicationsets/ → ArgoCD ApplicationSets (App-of-Apps pattern, 11 total)
addons/ → Addon configurations
<category>/<addon>/
# Helm addons (majority):
values.yaml → Base Helm values (all environments)
values-dev.yaml → Dev delta overrides
values-staging.yaml → Staging delta overrides
values-production.yaml → Production delta overrides
values-prod.yaml → Production delta overrides
# Kustomize addons (storage-classes, priority-classes, karpenter-resources):
base/ → Kustomization + resource manifests
overlays/{dev,staging,production}/
overlays/{dev,staging,prod}/
→ Environment-specific kustomization.yaml
policies/ → Kyverno ClusterPolicy manifests (pure Kustomize, base/overlays)
environments/ → Cluster-config ConfigMaps per environment (includes provider field)
Expand All @@ -43,7 +43,7 @@ Environment-specific values files contain ONLY differences from base — not a f
Three addons use pure Kustomize (no Helm): storage-classes, priority-classes, karpenter-resources. These use the `base/overlays` pattern with `kustomization.yaml` in each overlay directory. Kyverno policies also use pure Kustomize (resources + JSON patches for enforcement mode).

### ApplicationSet Generator
All 10 ApplicationSets use `matrix` generator combining `clusters` selector with a `list` of addons. Two template styles: Helm multi-source (for Helm addons with `$values` ref) and single-source with Kustomize path (for Kustomize addons and policies). Environment is read from cluster secret labels: `{{ index .metadata.labels "environment" }}`.
All 11 ApplicationSets use `matrix` generator combining `clusters` selector with a `list` of addons. Two template styles: Helm multi-source (for Helm addons with `$values` ref) and single-source with Kustomize path (for Kustomize addons and policies). Environment is read from cluster secret labels: `{{ index .metadata.labels "environment" }}`.

## Azure-Specific Notes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ task clean # Remove rendered output

## License

[MIT](LICENSE)
[Apache-2.0](LICENSE)