From a8c9546bd2fb230e9c449979314ebee91175189b Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Mon, 1 Jul 2024 23:49:36 +0300 Subject: upd --- cd/third-party-apps.yaml | 2 -- cd/tools.yaml | 2 ++ local/helm-operations/nginx-operation.yaml | 22 ++++++++++++++++++++++ tools/argocd/values.yaml | 2 ++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 local/helm-operations/nginx-operation.yaml diff --git a/cd/third-party-apps.yaml b/cd/third-party-apps.yaml index 7d31f3a..e583c81 100644 --- a/cd/third-party-apps.yaml +++ b/cd/third-party-apps.yaml @@ -9,8 +9,6 @@ spec: elements: - chart: gitea path: third-party-apps/gitea - - chart: ollama - path: third-party-apps/ollama template: metadata: name: '{{chart}}' diff --git a/cd/tools.yaml b/cd/tools.yaml index 3283d1c..0b73569 100644 --- a/cd/tools.yaml +++ b/cd/tools.yaml @@ -7,6 +7,8 @@ spec: generators: - list: elements: + - chart: argocd + path: tools/argocd - chart: grafana path: tools/grafana - chart: prometheus diff --git a/local/helm-operations/nginx-operation.yaml b/local/helm-operations/nginx-operation.yaml new file mode 100644 index 0000000..a1d76a3 --- /dev/null +++ b/local/helm-operations/nginx-operation.yaml @@ -0,0 +1,22 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: web +--- +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: apache + namespace: kube-system +spec: + repo: https://charts.bitnami.com/bitnami + chart: apache + targetNamespace: web + valuesContent: |- + service: + type: ClusterIP + ingress: + enabled: true + hostname: sandbox.local + metrics: + enabled: true diff --git a/tools/argocd/values.yaml b/tools/argocd/values.yaml index 3953d1b..5e6a78f 100644 --- a/tools/argocd/values.yaml +++ b/tools/argocd/values.yaml @@ -1,6 +1,8 @@ argo-cd: global: domain: argocd.topkek.cloud + nodeSelector: + master: "true" configs: params: -- cgit 1.4.1-2-gfad0