From 8abee08165ad2ef8475cef0e49931837ab84f914 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Fri, 13 May 2022 22:45:16 +0700 Subject: [PATCH] chore: remove outdated TODOs --- README.md | 5 ----- bootstrap/argocd/values.yaml | 22 ------------------- platform/renovate/values.yaml | 1 - platform/vault/files/generate-secrets/main.go | 8 ------- .../vault/templates/generate-secrets-job.yaml | 2 +- 5 files changed, 1 insertion(+), 37 deletions(-) diff --git a/README.md b/README.md index f1bb1d4d..31e683f8 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,6 @@ This project utilizes [Infrastructure as Code](https://en.wikipedia.org/wiki/Infrastructure_as_code) and [GitOps](https://www.weave.works/technologies/gitops) to automate provisioning, operating, and updating self-hosted services in my homelab. It can be used as a highly customizable framework to build your own homelab. - - - - - Current status: **ALPHA** diff --git a/bootstrap/argocd/values.yaml b/bootstrap/argocd/values.yaml index 66dc2076..632c13a8 100644 --- a/bootstrap/argocd/values.yaml +++ b/bootstrap/argocd/values.yaml @@ -17,28 +17,6 @@ argo-cd: end end return hs - # TODO https://github.com/argoproj/argo-helm/pull/1070 - # resource.customizations.health.argoproj.io_ApplicationSet: | - # hs = {} - # if obj.status ~= nil then - # if obj.status.conditions ~= nil then - # for i, condition in pairs(obj.status.conditions) do - # if condition.type == "ErrorOccurred" and condition.status == "True" then - # hs.status = "Degraded" - # hs.message = condition.message - # return hs - # end - # if condition.type == "ResourcesUpToDate" and condition.status == "True" then - # hs.status = "Healthy" - # hs.message = condition.message - # return hs - # end - # end - # end - # end - # hs.status = "Progressing" - # hs.message = "" - # return hs ingress: enabled: true ingressClassName: nginx diff --git a/platform/renovate/values.yaml b/platform/renovate/values.yaml index c30b1d87..c725e407 100644 --- a/platform/renovate/values.yaml +++ b/platform/renovate/values.yaml @@ -2,7 +2,6 @@ renovate: cronjob: schedule: '0 9 1 * *' # At 09:00 every month renovate: - # TODO generate token automatically, this is just for testing config: | { "platform": "gitea", diff --git a/platform/vault/files/generate-secrets/main.go b/platform/vault/files/generate-secrets/main.go index d8085ae5..09cf75a4 100644 --- a/platform/vault/files/generate-secrets/main.go +++ b/platform/vault/files/generate-secrets/main.go @@ -2,14 +2,6 @@ package main // TODO WIP clean up -// TODO ACL policy -// path "secret/*" { -// capabilities = [ -// "create", -// "list" -// ] -// } - import ( "fmt" "log" diff --git a/platform/vault/templates/generate-secrets-job.yaml b/platform/vault/templates/generate-secrets-job.yaml index 601cf79d..ff9345d0 100644 --- a/platform/vault/templates/generate-secrets-job.yaml +++ b/platform/vault/templates/generate-secrets-job.yaml @@ -4,7 +4,7 @@ metadata: name: generate-secrets namespace: {{ .Release.Namespace }} annotations: - argocd.argoproj.io/sync-wave: "3" # TODO init and unseal in previous waves for production usage + argocd.argoproj.io/sync-wave: '1' spec: schedule: '*/5 * * * *' jobTemplate: