Compare commits
2 Commits
main
...
586f18c7ec
Author | SHA1 | Date | |
---|---|---|---|
586f18c7ec
|
|||
20756129ce
|
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:
|
||||||
|
jwt_secret: AgAMtRQCjzFE3VviUBzekBZtp/rIAYndRxJ6H4RCVLJefogZEftf59lm9vzQ5UCge9VDNrtpRWKmpaXttblmYN7woGg+B+CG4SZpqxelWDntSH9hI+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ssze1+cEl/u43iWAw4b13VZG/yhlINcAYsRDr2FZTmI+Rbrfh2nfQ91PAjF58cwaRZc/g2h9HrBb0eY9wJkZlAE4+H/7DV14yLjkItpmEEnsqwoZ+I7e464Ur75jPZCjxTsEZVYoxoYt3SuNtrSk8yMoVBba+vEsJWYcbigdppd+mEyOv7gTvcuokFougeW9xVMJdrdXbYScmqlXKGOluZ8oBdep+190hFsrPDm8Ts6RFgWF6SQ5BSKhum0NX9XUXj/88hSp2ISVp8GVQWeA7RWj4tO88FiP0ejdNwoT7FPx3qV7+qLRGOoudqQtNJji7wa8gK8qMu4cZ8TTx6uf2LlBIlL/iZx+AJjz4kmwme7GyFachlOCfTGY9sTvqakavh7xgtnnx7dGYWsyYU+YKT8R6unkLb8H0BfaVBDAtzksIbd5K02jlGlD7Ygf6EXj9w/rMuMpJaTaKEizNmKf6b1ntIZa6MB4Q7qa5wVcgE2LikjMsoDqG0c7u83+PG0/lo6oK0xLbltrCsRH5Vdj1t34yD/ExaEfYPBkLHBj5zIgl3isSMrBXyDbDV7jdwDbTGhZoGz6UYh86Fs7k=
|
||||||
|
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