Compare commits
13 Commits
4be249d3a4
...
main
Author | SHA1 | Date | |
---|---|---|---|
aa6a14979d
|
|||
8b644bb4fc
|
|||
d53ae8082c | |||
d2e4b3dc6e | |||
e0743f2a68
|
|||
82d8eb59dc
|
|||
e6ebdfde7b
|
|||
16042a068d
|
|||
e150c253cc
|
|||
709a880973
|
|||
e93a85e4c6
|
|||
ce67724c52
|
|||
a246e3c4e9
|
@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1
|
|||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: istio
|
kubernetes.io/ingress.class: traefik
|
||||||
name: kubernaut-ingress
|
name: kubernaut-ingress
|
||||||
namespace: kubernaut
|
namespace: kubernaut
|
||||||
spec:
|
spec:
|
||||||
|
@ -3,15 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: kubernaut
|
namespace: kubernaut
|
||||||
resources:
|
resources:
|
||||||
- https://git.kill0.net/ryanc/kubernaut/kustomize?ref=v0.2.0
|
- secrets.yaml
|
||||||
- https://git.kill0.net/ryanc/caas/kustomize?timeout=300
|
- https://git.kill0.net/ryanc/kubernaut/kustomize?ref=v0.2.2
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
patches:
|
|
||||||
- patch: |
|
|
||||||
- op: add
|
|
||||||
path: /metadata/labels/istio-injection
|
|
||||||
value: enabled
|
|
||||||
target:
|
|
||||||
kind: Namespace
|
|
||||||
name: kubernaut
|
|
||||||
|
|
||||||
|
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
|
||||||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2oJnjrKJNRoXvIbR42NTiO8CDtzHiJ6MNEY6oH+dra4GamJ/KjNXC7NUdSZSeq1HpOBudrsrYoCZ6MZxZfMsDG7ROHvIakcSN1ibfQwOjjucDJdZWm/L41cxgW3glvTql6cJtqa9yZpije2Wja1HUHGalnwaWyXFp/5jVpPgFGYZ4SHtyQOy5Hy275Gmee8qSQjvW8iLSor4/pXiEBArWRX0iPDqVudO9onMaYtQz+hz/MEXkhMvopfokrAyrSvUogrTq/1XfRABe1nAMXVrYo74w/27RiiBDEcoRzEra1f5UxrXHJ1B1LZ+iqTSRLrBw1iqPpOG7HDSSv80+m5OKai+ppptY3OcERF9HUA/BWeRHo7h2SbMfPRqVXXihtbgArCZoU570FryGfcHjwEffQIvKYKq/KjTcpRP0dTO/99mfY/Uw7VmdmYiQC4kG/kcxQ8yPgypQNl1YSfLnSBNZH1SRgXQAsY3hETZ74jbCyaPTvpoL/IVzTDo1YrBgTVjUcZoqYW+gwwj5bt9kQZFRL4FMsCNQ7V+wAtT9GmRNkf2cxbNawHknKYx4arGpWP0y6jorebaGzSpWPl8hY1jCipU2MZw2g7f9QVw+10Tik9FlzfkK457fR1pjBNRXlAe5e0MNfNNiuJtKfHZfbj32CNEEK7JZUumqkkUl1J+Lsa8vL3HvANxYgvhohNfJSY9D2G+DD8xbD2jk7P52150Y=
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: kubernaut
|
||||||
|
namespace: kubernaut
|
@ -13,6 +13,65 @@ 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/my-cluster
|
path: ./clusters/k3s-cluster
|
||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
namespace: goldpinger
|
|
||||||
resources:
|
|
||||||
- namespace.yaml
|
|
||||||
- repository.yaml
|
|
||||||
- release.yaml
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: goldpinger
|
|
@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
|
||||||
name: goldpinger
|
|
||||||
namespace: goldpinger
|
|
||||||
spec:
|
|
||||||
interval: 5m
|
|
||||||
url: https://bloomberg.github.io/goldpinger
|
|
@ -8,4 +8,4 @@ spec:
|
|||||||
interval: 10m
|
interval: 10m
|
||||||
url: oci://docker.io/envoyproxy/gateway-helm
|
url: oci://docker.io/envoyproxy/gateway-helm
|
||||||
ref:
|
ref:
|
||||||
semver: ">1.3.2"
|
semver: ">=1.3.2"
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.28.0/controller.yaml
|
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.29.0/controller.yaml
|
||||||
|
Reference in New Issue
Block a user