Compare commits
2 Commits
main
...
83b03519da
Author | SHA1 | Date | |
---|---|---|---|
83b03519da
|
|||
8e852c8273
|
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: istio
|
||||||
|
name: kubernaut-ingress
|
||||||
|
namespace: kubernaut
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kubernaut
|
||||||
|
port:
|
||||||
|
name: web
|
17
apps/kubernaut/kustomization.yaml
Normal file
17
apps/kubernaut/kustomization.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: kubernaut
|
||||||
|
resources:
|
||||||
|
- https://git.kill0.net/ryanc/kubernaut/kustomize?ref=v0.2.0
|
||||||
|
- https://git.kill0.net/ryanc/caas/kustomize?timeout=300
|
||||||
|
- ingress.yaml
|
||||||
|
patches:
|
||||||
|
- patch: |
|
||||||
|
- op: add
|
||||||
|
path: /metadata/labels/istio-injection
|
||||||
|
value: enabled
|
||||||
|
target:
|
||||||
|
kind: Namespace
|
||||||
|
name: 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
|
@@ -7,5 +7,3 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
interval: 10m
|
interval: 10m
|
||||||
url: oci://docker.io/envoyproxy/gateway-helm
|
url: oci://docker.io/envoyproxy/gateway-helm
|
||||||
ref:
|
|
||||||
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.29.0/controller.yaml
|
- https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.28.0/controller.yaml
|
||||||
|
Reference in New Issue
Block a user