chore: remove ci-demo workload
This commit is contained in:
parent
13df82e07a
commit
5f4d9b498e
@ -1,26 +0,0 @@
|
|||||||
# clusters/atlas/flux-system/applications/ci-demo/image-automation.yaml
|
|
||||||
apiVersion: image.toolkit.fluxcd.io/v1
|
|
||||||
kind: ImageUpdateAutomation
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 1m0s
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
||||||
namespace: flux-system
|
|
||||||
git:
|
|
||||||
checkout:
|
|
||||||
ref:
|
|
||||||
branch: feature/ci-gitops
|
|
||||||
commit:
|
|
||||||
author:
|
|
||||||
email: ops@bstein.dev
|
|
||||||
name: flux-bot
|
|
||||||
messageTemplate: "chore(ci-demo): apply image updates"
|
|
||||||
push:
|
|
||||||
branch: feature/ci-gitops
|
|
||||||
update:
|
|
||||||
strategy: Setters
|
|
||||||
path: services/ci-demo
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
# clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml
|
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 10m
|
|
||||||
path: ./services/ci-demo
|
|
||||||
prune: true
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
||||||
namespace: flux-system
|
|
||||||
dependsOn:
|
|
||||||
- name: core
|
|
||||||
wait: false
|
|
||||||
@ -22,8 +22,6 @@ resources:
|
|||||||
- oauth2-proxy/kustomization.yaml
|
- oauth2-proxy/kustomization.yaml
|
||||||
- mailu/kustomization.yaml
|
- mailu/kustomization.yaml
|
||||||
- jenkins/kustomization.yaml
|
- jenkins/kustomization.yaml
|
||||||
- ci-demo/kustomization.yaml
|
|
||||||
- ci-demo/image-automation.yaml
|
|
||||||
- ai-llm/kustomization.yaml
|
- ai-llm/kustomization.yaml
|
||||||
- nextcloud/kustomization.yaml
|
- nextcloud/kustomization.yaml
|
||||||
- nextcloud-mail-sync/kustomization.yaml
|
- nextcloud-mail-sync/kustomization.yaml
|
||||||
|
|||||||
@ -7,9 +7,6 @@ sources:
|
|||||||
- name: bstein-dev-home
|
- name: bstein-dev-home
|
||||||
path: services/bstein-dev-home
|
path: services/bstein-dev-home
|
||||||
targetNamespace: bstein-dev-home
|
targetNamespace: bstein-dev-home
|
||||||
- name: ci-demo
|
|
||||||
path: services/ci-demo
|
|
||||||
targetNamespace: null
|
|
||||||
- name: communication
|
- name: communication
|
||||||
path: services/comms
|
path: services/comms
|
||||||
targetNamespace: comms
|
targetNamespace: comms
|
||||||
@ -134,16 +131,6 @@ workloads:
|
|||||||
node-role.kubernetes.io/worker: 'true'
|
node-role.kubernetes.io/worker: 'true'
|
||||||
images:
|
images:
|
||||||
- python:3.11-slim
|
- python:3.11-slim
|
||||||
- kind: Deployment
|
|
||||||
namespace: ci-demo
|
|
||||||
name: ci-demo
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: ci-demo
|
|
||||||
serviceAccountName: null
|
|
||||||
nodeSelector:
|
|
||||||
hardware: rpi4
|
|
||||||
images:
|
|
||||||
- registry.bstein.dev/infra/ci-demo:v0.0.0-3
|
|
||||||
- kind: Deployment
|
- kind: Deployment
|
||||||
namespace: comms
|
namespace: comms
|
||||||
name: atlasbot
|
name: atlasbot
|
||||||
|
|||||||
@ -1,31 +0,0 @@
|
|||||||
# services/ci-demo/deployment.yaml
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
namespace: ci-demo
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: ci-demo
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: ci-demo
|
|
||||||
spec:
|
|
||||||
nodeSelector:
|
|
||||||
hardware: rpi4
|
|
||||||
containers:
|
|
||||||
- name: ci-demo
|
|
||||||
image: registry.bstein.dev/infra/ci-demo:latest
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
containerPort: 8080
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: 2
|
|
||||||
periodSeconds: 5
|
|
||||||
|
|
||||||
@ -1,24 +0,0 @@
|
|||||||
# services/ci-demo/image.yaml
|
|
||||||
apiVersion: image.toolkit.fluxcd.io/v1
|
|
||||||
kind: ImageRepository
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
image: registry.bstein.dev/infra/ci-demo
|
|
||||||
interval: 1m0s
|
|
||||||
---
|
|
||||||
apiVersion: image.toolkit.fluxcd.io/v1
|
|
||||||
kind: ImagePolicy
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
imageRepositoryRef:
|
|
||||||
name: ci-demo
|
|
||||||
filterTags:
|
|
||||||
pattern: '^v(?P<version>0\.0\.0-\d+)$'
|
|
||||||
extract: '$version'
|
|
||||||
policy:
|
|
||||||
semver:
|
|
||||||
range: ">=0.0.0-0"
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
# services/ci-demo/kustomization.yaml
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- namespace.yaml
|
|
||||||
- image.yaml
|
|
||||||
- deployment.yaml
|
|
||||||
- service.yaml
|
|
||||||
images:
|
|
||||||
- name: registry.bstein.dev/infra/ci-demo
|
|
||||||
newTag: v0.0.0-3 # {"$imagepolicy": "flux-system:ci-demo"}
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
# services/ci-demo/namespace.yaml
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
# services/ci-demo/service.yaml
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: ci-demo
|
|
||||||
namespace: ci-demo
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: ci-demo
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
targetPort: http
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user