From 9505384cec0886e323acbe89674d450fcbf6a35d Mon Sep 17 00:00:00 2001 From: Automated pipeline Date: Mon, 26 May 2025 15:12:04 +0000 Subject: [PATCH] Initial upload --- .../stacks/core/forgejo/values.yaml | 10 +++++ .../stacks/core/vector.yaml | 2 +- .../victoria-k8s-stack/manifests/vmauth.yaml | 39 +++++++++++++++++++ .../victoria-k8s-stack/values.yaml | 2 +- .../stacks/otc/ingress-nginx/values.yaml | 4 +- 5 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/manifests/vmauth.yaml diff --git a/otc/central-forgejo.think-ahead.cloud/stacks/core/forgejo/values.yaml b/otc/central-forgejo.think-ahead.cloud/stacks/core/forgejo/values.yaml index 775368a..a188d4e 100644 --- a/otc/central-forgejo.think-ahead.cloud/stacks/core/forgejo/values.yaml +++ b/otc/central-forgejo.think-ahead.cloud/stacks/core/forgejo/values.yaml @@ -13,6 +13,16 @@ test: enabled: false gitea: + additionalConfigFromEnvs: + - name: FORGEJO__APP_NAME + value: EDP Forgejo + - name: FORGEJO__APP_SLOGAN + value: Welcome to the Forgejo +# - name: ENV_TO_INI__DATABASE__PASSWD +# valueFrom: +# secretKeyRef: +# name: postgres-secret +# key: password admin: existingSecret: gitea-credential config: diff --git a/otc/central-forgejo.think-ahead.cloud/stacks/core/vector.yaml b/otc/central-forgejo.think-ahead.cloud/stacks/core/vector.yaml index b89c529..99cb661 100644 --- a/otc/central-forgejo.think-ahead.cloud/stacks/core/vector.yaml +++ b/otc/central-forgejo.think-ahead.cloud/stacks/core/vector.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: argocd + name: vector namespace: argocd labels: env: dev diff --git a/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/manifests/vmauth.yaml b/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/manifests/vmauth.yaml new file mode 100644 index 0000000..cc8e335 --- /dev/null +++ b/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/manifests/vmauth.yaml @@ -0,0 +1,39 @@ +apiVersion: operator.victoriametrics.com/v1beta1 +kind: VMAuth +metadata: + name: vmauth + namespace: observability +spec: + selectAllByDefault: true + ingress: + class_name: nginx + annotations: + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" + cert-manager.io/cluster-issuer: main + host: o12y.penguin-observability.think-ahead.cloud + tlsHosts: + - o12y.penguin-observability.think-ahead.cloud + tlsSecretName: vmauth-tls-secret + +--- + +apiVersion: operator.victoriametrics.com/v1beta1 +kind: VMUser +metadata: + name: simple-user + namespace: observability +spec: + username: simple-user + password: simple-password + targetRefs: + - crd: + kind: VMSingle + name: victoria-k8s-stack-victoria-metrics-k8s-stack + namespace: observability + paths: ["/.*"] + - crd: + kind: VLogs + name: victorialogs + namespace: observability + paths: ["/.*"] + diff --git a/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml b/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml index 145ef52..6e833c6 100644 --- a/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml +++ b/otc/central-forgejo.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml @@ -749,7 +749,7 @@ vmalert: vmauth: # -- Enable VMAuth CR - enabled: false + enabled: true # -- VMAuth annotations annotations: {} # -- (object) Full spec for VMAuth CRD. Allowed values described [here](https://docs.victoriametrics.com/operator/api#vmauthspec) diff --git a/otc/central-forgejo.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml b/otc/central-forgejo.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml index c7d4057..c9b308b 100644 --- a/otc/central-forgejo.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml +++ b/otc/central-forgejo.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml @@ -8,8 +8,8 @@ controller: annotations: kubernetes.io/elb.class: union kubernetes.io/elb.port: '80' - kubernetes.io/elb.id: 71374e9e-fd17-477b-9503-7de061792073 - kubernetes.io/elb.ip: 80.158.108.28 + kubernetes.io/elb.id: a9217774-3c21-4344-87a8-087843881e9b + kubernetes.io/elb.ip: 164.30.25.121 ingressClassResource: name: nginx