about summary refs log tree commit diff
path: root/tools/argocd/templates
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 17:54:07 +0200
committermakefunstuff <[email protected]>2024-06-28 17:54:07 +0200
commitb427ae29bd6d0abc447d70fe082ceddfcc42a10e (patch)
tree0971f5c20c64f9ba2fa81b753e200ffcf7db56c9 /tools/argocd/templates
parent8c6eeb9045125aa3b0666deccc3815e78112ea16 (diff)
downloadk3s-lab-b427ae29bd6d0abc447d70fe082ceddfcc42a10e.tar.gz
it works!!!!!1111
Diffstat (limited to '')
-rw-r--r--tools/argocd/templates/deployment.yaml32
-rw-r--r--tools/argocd/templates/ingress.yaml33
-rw-r--r--tools/argocd/templates/secret.yaml11
-rw-r--r--tools/argocd/templates/service.yaml12
4 files changed, 0 insertions, 88 deletions
diff --git a/tools/argocd/templates/deployment.yaml b/tools/argocd/templates/deployment.yaml
deleted file mode 100644
index e0daf82..0000000
--- a/tools/argocd/templates/deployment.yaml
+++ /dev/null
@@ -1,32 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
-  name: argocd
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  name: argocd-server
-  namespace: argocd
-spec:
-  replicas: {{ .Values.replicas }}
-  selector:
-    matchLabels:
-      app: argocd-server
-  template:
-    metadata:
-      labels:
-        app: argocd-server
-    spec:
-      containers:
-        - name: argocd-server
-          image: argoproj/argocd:latest
-          ports:
-            - containerPort: 8080
-          env:
-            - name: ARGOCD_SERVER_ADMIN_PASSWORD
-              valueFrom:
-                secretKeyRef:
-                  name: argocd-secret
-                  key: admin.password
-
diff --git a/tools/argocd/templates/ingress.yaml b/tools/argocd/templates/ingress.yaml
deleted file mode 100644
index 1253287..0000000
--- a/tools/argocd/templates/ingress.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
-  name: argocd-ingress
-  namespace: {{ .Values.namespace }}
-  annotations:
-    kubernetes.io/ingress.class:
-      {{ .Values.ingress.annotations.kubernetes_io_ingress_class }}
-    cert-manager.io/cluster-issuer: letsencrypt-prod
-    traefik.ingress.kubernetes.io/router.entrypoints: websecure
-    traefik.ingress.kubernetes.io/router.tls: "true"
-    traefik.ingress.kubernetes.io/router.tls.certresolver: "default"
-    traefik.ingress.kubernetes.io/redirect-entry-point: https
-    traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud
-    traefik.ingress.kubernetes.io/router.tls.domains.0.sans: argocd.topkek.cloud
-    traefik.ingress.kubernetes.io/ssl-redirect: "true"
-    traefik.ingress.kubernetes.io/tls-acme: "true"
-spec:
-  rules:
-    - host: {{ .Values.ingress.hostname }}
-      http:
-        paths:
-          - path: /
-            pathType: Prefix
-            backend:
-              service:
-                name: argocd-server
-                port:
-                  number: 80
-  tls:
-    - hosts:
-        - {{ .Values.ingress.hostname }}
-      secretName: {{ .Values.ingress.tls.secretName }}
diff --git a/tools/argocd/templates/secret.yaml b/tools/argocd/templates/secret.yaml
deleted file mode 100644
index c80372c..0000000
--- a/tools/argocd/templates/secret.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-{{- if not (lookup "v1" "Secret" .Values.namespace "argocd-secret") }}
-apiVersion: v1
-kind: Secret
-metadata:
-  name: argocd-secret
-  namespace: {{ .Values.namespace }}
-type: Opaque
-data:
-  admin.password: {{ .Values.argocd.adminPassword | b64enc }}
-{{- end }}
-
diff --git a/tools/argocd/templates/service.yaml b/tools/argocd/templates/service.yaml
deleted file mode 100644
index 9a6afdf..0000000
--- a/tools/argocd/templates/service.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  name: argocd-server
-  namespace: argocd
-spec:
-  type: ClusterIP
-  ports:
-    - port: 80
-      targetPort: 8080
-  selector:
-    app: argocd-server