From 1d5af1de26a5915ea480313d60f68935edafa98a Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 7 Mar 2026 00:36:48 +1100 Subject: [PATCH] feat: updates for artifactapi messed up migration from terraform -> argocd, missed some remotes. need to backtrack a bit - remove replicas (rely on horizontal-pod-scaler) - add raw.githubusercontent.com remote - change links to github_raw to native github.com (temporary) --- apps/base/artifactapi/artifactapi-deployment.yaml | 1 - apps/base/artifactapi/resources/remotes.yaml | 13 +++++++++++++ clusters/au-syd1/bootstrap/kustomization.yaml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/apps/base/artifactapi/artifactapi-deployment.yaml b/apps/base/artifactapi/artifactapi-deployment.yaml index d0d5713..3bc3250 100644 --- a/apps/base/artifactapi/artifactapi-deployment.yaml +++ b/apps/base/artifactapi/artifactapi-deployment.yaml @@ -7,7 +7,6 @@ metadata: annotations: reloader.stakater.com/auto: "true" spec: - replicas: 2 selector: matchLabels: app: artifactapi diff --git a/apps/base/artifactapi/resources/remotes.yaml b/apps/base/artifactapi/resources/remotes.yaml index 8b1084f..97248ba 100644 --- a/apps/base/artifactapi/resources/remotes.yaml +++ b/apps/base/artifactapi/resources/remotes.yaml @@ -43,6 +43,19 @@ remotes: file_ttl: 0 index_ttl: 0 + github_user: + base_url: "https://raw.githubusercontent.com" + type: "remote" + package: "generic" + description: "GitHub User Content" + include_patterns: + - "argoproj/argo-cd/.*.yaml$" + - "yannh/kubernetes-json-schema/master/.*.json$" + - "datreeio/CRDs-catalog/main/.*.json$" + cache: + file_ttl: 0 + index_ttl: 0 + gitea-dl: base_url: "https://dl.gitea.com" type: "remote" diff --git a/clusters/au-syd1/bootstrap/kustomization.yaml b/clusters/au-syd1/bootstrap/kustomization.yaml index 8e20ea6..477cf9a 100644 --- a/clusters/au-syd1/bootstrap/kustomization.yaml +++ b/clusters/au-syd1/bootstrap/kustomization.yaml @@ -3,7 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github_raw/argoproj/argo-cd/refs/tags/v3.3.2/manifests/ha/install.yaml + - https://raw.githubusercontent.com/argoproj/argo-cd/refs/tags/v3.3.2/manifests/ha/install.yaml - au-syd1-apps.yaml patches: