Compare commits

..
10 Commits
Author SHA1 Message Date
whyredfire 0f158d8f8f [REVERTME] bootstrap: Switch argocd remote to local 2026-02-14 00:34:52 +05:30
whyredfire 7abd5065fb bootstrap: Patch argocd server service 2026-01-26 20:38:41 +05:30
whyredfire 826af0ca68 bootstrap: Add .git to the repo to handle redirect errors
{"grpc.code":"Unknown","grpc.component":"server","grpc.error":"failed to list refs: unexpected client error: unexpected requesting \"https://gitlab.com/whyredfire/gitops/info/refs?service=git-upload-pack\" status code: 301","grpc.method":"GenerateManifest","grpc.method_type":"unary","grpc.request.deadline":"2026-01-26T14:31:42Z","grpc.service":"repository.RepoServerService","grpc.start_time":"2026-01-26T14:30:42Z","grpc.time_ms":"883.443","level":"error","msg":"finished call","peer.address":"10.42.0.30:49920","protocol":"grpc","time":"2026-01-26T14:30:43Z"}
2026-01-26 20:02:57 +05:30
whyredfire f20bf3ee29 bootstrap: Create the namespace manually 2026-01-26 19:56:00 +05:30
whyredfire 70e2794599 treewide: Cleanup for new cluster 2026-01-25 18:37:45 +05:30
whyredfire 4b82385d7b refactor: Restructure the repo 2026-01-12 15:21:04 +05:30
whyredfire 2e95982073 apps: Remove sample nginx app 2026-01-03 22:37:34 +05:30
whyredfire 6b6fc2e9b8 apps: Track betterslcm project 2026-01-03 09:01:27 +05:30
whyredfire f9023a0f94 infra/cert-manager: Import cert-manager manifest v1.19.2
Failed to load target state: failed to generate manifest for source 1 of 1:
rpc error: code = Unknown desc = Manifest generation error (cached): `kustomize
build <path to cached source>/infra/cert-manager` failed exit status 1: Error:
accumulating resources: accumulation err='accumulating resources from
'https://github.com/cert-manager/cert-manager/releases/download/v1.19.2/cert-manager.yaml'
: Get "https://github.com/cert-manager/cert-manager/releases/download/v1.19.2/cert-manager.yaml"
: dial tcp: lookup github.com on 10.43.0.10:53: server misbehaving': failed to run
'/usr/bin/git fetch --depth=1 https://github.com/cert-manager/cert-manager HEAD':
fatal: unable to access 'https://github.com/cert-manager/cert-manager/': Could
not resolve host: github.com : exit status 128
2025-12-29 03:28:29 +05:30
whyredfire efdf4a6801 apps/telegram-autoregexbot: Point to upstream repo 2025-12-29 02:29:23 +05:30
19 changed files with 35 additions and 131 deletions
@@ -2,5 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
- services
@@ -6,12 +6,12 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.whyredfire.tech/whyredfire/telegram-autoregexbot
repoURL: https://github.com/santarl/telegram-autoregexbot
targetRevision: main
path: k8s
destination:
server: https://kubernetes.default.svc
namespace: telegram
namespace: telegram-bot
syncPolicy:
automated:
prune: true
@@ -1,17 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nginx
name: betterslcm
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
targetRevision: main
path: manifests/nginx
repoURL: https://github.com/DK10WS/SLCM_APP.git
targetRevision: web
path: k8s
destination:
server: https://kubernetes.default.svc
namespace: nginx
namespace: slcm
syncPolicy:
automated:
prune: true
+5
View File
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app-autoregexbot.yaml
-17
View File
@@ -1,17 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
targetRevision: main
path: infra/cert-manager
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true
-9
View File
@@ -1,9 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- nginx-app.yaml
- scriptscribe.yaml
- sealed-secrets.yaml
- cert-manager.yaml
- telegram-autoregexbot.yaml
-17
View File
@@ -1,17 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sealed-secrets
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
targetRevision: main
path: infra/sealed-secrets
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true
@@ -4,4 +4,3 @@ kind: Kustomization
resources:
- namespace.yaml
- root-app.yaml
- ssh-known-hosts-cm.yaml
@@ -6,9 +6,9 @@ metadata:
spec:
project: default
source:
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops
repoURL: https://gitea.whyredfire.tech/whyredfire/gitops.git
targetRevision: main
path: apps
path: applications
destination:
server: https://kubernetes.default.svc
namespace: argocd
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: argocd-server
spec:
type: NodePort
ports:
- name: https
port: 443
protocol: TCP
targetPort: 8080
nodePort: 30443
-16
View File
@@ -1,16 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-ssh-known-hosts-c
namespace: argocd
data:
known_hosts: |
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
gitea-ssh.whyredfire.tech ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIANyEkbFQN5Yl8Vb6EAwzh2EveEj3yKXirFfXyuFqIV+
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
gitea-ssh.whyredfire.tech ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCfixWweiVHuHDOOSzzqqsVjMMDXcl+dawNjezD7FOLraHapimb2j+omJ4evSWCNYG5usjmokgUntQ5wNTrsrWr7XlKOuBNjelleXBsjDba09IzfSRYA+pnbrcpgVjgQ647KJeULbD653oDL/cSEFV6r1NNWWlYVK139k0gsMw0JToMDp0LzNsTJytSFLvVg7st7fW/qoBI/RNq9qRC6okJJhldfpuraRVia1GhUiB79g4t9ylCvDlLXe+V3XdeMEEz8VY1bxVR5FHsRSuJqCPP1TbD9XnWWFZOBl6xjbcr2kDrnaAVocQJDkZLoKAZIR3lRaEjdFtz9v+Z4oAdIEVPNBWvE15bZdFHuCsB7eFpVuVzy7rDos9pGqXdK4h97oxU/edoRjMTDoDPHyl36154yiGAn4J55j1A8cWp97eyvTpRYYwr1Zab9M0AohJC8v69eprk4TZgL1TWGvchMDTHkd/RE2tEV1pv+cLe8bayV+BoE1Nx1plqIHTkSIu9e8=
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
gitea-ssh.whyredfire.tech ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLoFqTU09bU6ONUr9XvJT8G3zfwOviHw+ZM1EwPWVL5HEotYssWEjyteZGws5I0mXIuNJljL0BY1QSPoJaeAU8=
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
# gitea-ssh.whyredfire.tech:22 SSH-2.0-OpenSSH_10.0
+8 -2
View File
@@ -4,5 +4,11 @@ kind: Kustomization
namespace: argocd
resources:
- https://raw.githubusercontent.com/argoproj/argo-cd/v3.2.0/manifests/install.yaml
- argocd
- https://raw.githubusercontent.com/argoproj/argo-cd/v3.2.6/manifests/install.yaml
- argocd-root-app
patches:
- target:
kind: Service
name: argocd-server
path: argocd-server-nodeport-patch.yaml
-6
View File
@@ -1,6 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.19.2/cert-manager.yaml
- letsencrypt-issuer.yaml
@@ -1,14 +0,0 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: [email protected]
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- http01:
ingress:
class: traefik
-6
View File
@@ -1,6 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.33.1/controller.yaml
-21
View File
@@ -1,21 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
app: nginx
spec:
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.29-alpine-slim
ports:
- containerPort: 80
-11
View File
@@ -1,11 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
selector:
app: nginx
ports:
- port: 80
targetPort: 80
type: ClusterIP