Compare commits
2 Commits
main
...
ef6ae798b7
Author | SHA1 | Date | |
---|---|---|---|
ef6ae798b7
|
|||
774dd24122
|
19
apps/kubernaut/ingress.yaml
Normal file
19
apps/kubernaut/ingress.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik
|
||||||
|
name: kubernaut-ingress
|
||||||
|
namespace: kubernaut
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kubernaut
|
||||||
|
port:
|
||||||
|
name: web
|
9
apps/kubernaut/kustomization.yaml
Normal file
9
apps/kubernaut/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: kubernaut
|
||||||
|
resources:
|
||||||
|
- secrets.yaml
|
||||||
|
- https://git.kill0.net/ryanc/kubernaut/kustomize?ref=v0.2.2
|
||||||
|
- https://git.kill0.net/ryanc/caas/kustomize?timeout=300
|
||||||
|
- ingress.yaml
|
16
apps/kubernaut/secrets.yaml
Normal file
16
apps/kubernaut/secrets.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: kubernaut
|
||||||
|
namespace: kubernaut
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
session_secret: AgBRfIefGnsUQk5p3cxi8B3/leuyKpdV7ZjRjjuWM6SPS60eTD545yppNWIUFTgQvX8kaGfpwu2Fw1A8TCyRargyWopgD55yFunCmLVfeSPPXKhF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I/xRrUtdktZrWZMXnmjPOxciqY88wtx1cGyJw3FrzaftzaBmpJRrdfO1S83AZYPYnNctYltzMBSSGbMD6yHLoEFj/pilFuWGsmuokc7sMfAu1NBLsBNqfrQ61GVTZVaEuIc45ZVUu1T5K7lhjMEa5t6qCCCxLaa3c97xrddcwss1voFY/vi5cYu99bOXVmlrPcggDAycrP4FYYaTqdwHar7jWje82LcIUOry9E30jQhYWzQoEIuh6f1tanmvpduDIEqYcsQAhKXN8klsOds0ZZxrlc87E4n+ZzJDVOp+5H8ukj30hKaR3oWCAvU1sy1LalRUEMD6rL4JDTJs5ZX0AfxUEhqjmNlvOR6O+gtL1zPqX51PQtaijdaalaXbTU8ykpEiH7cE/kmSbDzYIOTkCnPsDvzqSIWYZVc208lVs40SJpHZFGKeeWTtl1O4rWy8UzHSdl28UfNruP41KAeVayDq9EoUa/dJpjHA8mbA17K0zdwQq4WIzlk+SGaNHSMv1O/OmKTyWzsNL9dFJI52sLoLRYPrKTY59qcUK38Vth5pP0jXu99RakBJUI=
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: kubernaut
|
||||||
|
namespace: kubernaut
|
7
clusters/my-cluster/argo-rollouts/kustomization.yaml
Normal file
7
clusters/my-cluster/argo-rollouts/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: argo-rollouts
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- https://github.com/argoproj/argo-rollouts/releases/download/v1.7.2/install.yaml
|
5
clusters/my-cluster/argo-rollouts/namespace.yaml
Normal file
5
clusters/my-cluster/argo-rollouts/namespace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: argo-rollouts
|
18
clusters/my-cluster/argocd/kustomization.yaml
Normal file
18
clusters/my-cluster/argocd/kustomization.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: argocd
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.3/manifests/install.yaml
|
||||||
|
patches:
|
||||||
|
- patch: |
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: argocd-server
|
||||||
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
|
target:
|
||||||
|
kind: Service
|
||||||
|
labelSelector: app.kubernetes.io/name=argocd-server
|
5
clusters/my-cluster/argocd/namespace.yaml
Normal file
5
clusters/my-cluster/argocd/namespace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: argocd
|
@@ -13,65 +13,6 @@ metadata:
|
|||||||
pod-security.kubernetes.io/warn-version: latest
|
pod-security.kubernetes.io/warn-version: latest
|
||||||
name: flux-system
|
name: flux-system
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: NetworkPolicy
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: flux-system
|
|
||||||
app.kubernetes.io/part-of: flux
|
|
||||||
app.kubernetes.io/version: v2.4.0
|
|
||||||
name: allow-egress
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
egress:
|
|
||||||
- {}
|
|
||||||
ingress:
|
|
||||||
- from:
|
|
||||||
- podSelector: {}
|
|
||||||
podSelector: {}
|
|
||||||
policyTypes:
|
|
||||||
- Ingress
|
|
||||||
- Egress
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: NetworkPolicy
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: flux-system
|
|
||||||
app.kubernetes.io/part-of: flux
|
|
||||||
app.kubernetes.io/version: v2.4.0
|
|
||||||
name: allow-scraping
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
ingress:
|
|
||||||
- from:
|
|
||||||
- namespaceSelector: {}
|
|
||||||
ports:
|
|
||||||
- port: 8080
|
|
||||||
protocol: TCP
|
|
||||||
podSelector: {}
|
|
||||||
policyTypes:
|
|
||||||
- Ingress
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: NetworkPolicy
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: flux-system
|
|
||||||
app.kubernetes.io/part-of: flux
|
|
||||||
app.kubernetes.io/version: v2.4.0
|
|
||||||
name: allow-webhooks
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
ingress:
|
|
||||||
- from:
|
|
||||||
- namespaceSelector: {}
|
|
||||||
podSelector:
|
|
||||||
matchLabels:
|
|
||||||
app: notification-controller
|
|
||||||
policyTypes:
|
|
||||||
- Ingress
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ResourceQuota
|
kind: ResourceQuota
|
||||||
metadata:
|
metadata:
|
@@ -20,7 +20,7 @@ metadata:
|
|||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 10m0s
|
interval: 10m0s
|
||||||
path: ./clusters/k3s-cluster
|
path: ./clusters/my-cluster
|
||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
8
clusters/my-cluster/goldpinger/kustomization.yaml
Normal file
8
clusters/my-cluster/goldpinger/kustomization.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: goldpinger
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- repository.yaml
|
||||||
|
- release.yaml
|
5
clusters/my-cluster/goldpinger/namespace.yaml
Normal file
5
clusters/my-cluster/goldpinger/namespace.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: goldpinger
|
21
clusters/my-cluster/goldpinger/release.yaml
Normal file
21
clusters/my-cluster/goldpinger/release.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: goldpinger
|
||||||
|
namespace: goldpinger
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: goldpinger
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: goldpinger
|
||||||
|
interval: 50m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
values:
|
||||||
|
goldpinger:
|
||||||
|
isArgoRollouts: true
|
||||||
|
reloadStrategy: annotations
|
9
clusters/my-cluster/goldpinger/repository.yaml
Normal file
9
clusters/my-cluster/goldpinger/repository.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: goldpinger
|
||||||
|
namespace: goldpinger
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
url: https://bloomberg.github.io/goldpinger
|
Reference in New Issue
Block a user