Compare commits
1 Commits
main
...
081e64f181
Author | SHA1 | Date | |
---|---|---|---|
081e64f181
|
5
apps/kipunji/kustomization.yaml
Normal file
5
apps/kipunji/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- https://git.kill0.net/ryanc/kipunji/kustomize
|
@@ -17,9 +17,9 @@ patches:
|
|||||||
- name: manager
|
- name: manager
|
||||||
env:
|
env:
|
||||||
- name: "https_proxy"
|
- name: "https_proxy"
|
||||||
value: "http://proxy-lb.lab.kill0.net.:3128"
|
value: "http://proxy-lb.lab.kill0.net:3128"
|
||||||
- name: "no_proxy"
|
- name: "no_proxy"
|
||||||
value: ".cluster.local., .cluster.local, .svc, 10.0.0.0/8, 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, k8s-ctrl-lb.lab.kill0.net, localhost, registry.lab.kill0.net"
|
value: ".svc, 10.0.0.0/8, 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, k8s-ctrl-lb.lab.kill0.net, localhost, registry.lab.kill0.net"
|
||||||
target:
|
target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
labelSelector: app.kubernetes.io/part-of=flux
|
labelSelector: app.kubernetes.io/part-of=flux
|
||||||
|
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: spegel
|
|
||||||
namespace: spegel
|
|
||||||
spec:
|
|
||||||
interval: 1m
|
|
||||||
chart:
|
|
||||||
spec:
|
|
||||||
chart: spegel
|
|
||||||
version: v0.0.30
|
|
||||||
interval: 5m
|
|
||||||
sourceRef:
|
|
||||||
kind: HelmRepository
|
|
||||||
name: spegel
|
|
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
|
||||||
name: spegel
|
|
||||||
namespace: spegel
|
|
||||||
spec:
|
|
||||||
type: "oci"
|
|
||||||
interval: 5m0s
|
|
||||||
url: oci://ghcr.io/spegel-org/helm-charts
|
|
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
|
@@ -2,4 +2,4 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: envoy-gateway-system
|
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
|
@@ -2,4 +2,4 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: spegel
|
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
|
@@ -17,7 +17,7 @@ patches:
|
|||||||
- name: manager
|
- name: manager
|
||||||
env:
|
env:
|
||||||
- name: "HTTPS_PROXY"
|
- name: "HTTPS_PROXY"
|
||||||
value: "http://proxy-lb.lab.kill0.net.:3128"
|
value: "http://proxy-lb.lab.kill0.net:3128"
|
||||||
- name: "NO_PROXY"
|
- name: "NO_PROXY"
|
||||||
value: ".cluster.local.,.cluster.local,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
value: ".cluster.local.,.cluster.local,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
||||||
target:
|
target:
|
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: spegel
|
namespace: goldpinger
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- repository.yaml
|
- repository.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
|
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: eg
|
|
||||||
namespace: envoy-gateway-system
|
|
||||||
spec:
|
|
||||||
interval: 10m
|
|
||||||
releaseName: eg
|
|
||||||
chartRef:
|
|
||||||
kind: OCIRepository
|
|
||||||
name: envoy-gateway
|
|
@@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
|
||||||
kind: OCIRepository
|
|
||||||
metadata:
|
|
||||||
name: envoy-gateway
|
|
||||||
namespace: envoy-gateway-system
|
|
||||||
spec:
|
|
||||||
interval: 10m
|
|
||||||
url: oci://docker.io/envoyproxy/gateway-helm
|
|
||||||
ref:
|
|
||||||
semver: ">=1.3.2"
|
|
@@ -5,5 +5,6 @@ metadata:
|
|||||||
namespace: flagger-system
|
namespace: flagger-system
|
||||||
spec:
|
spec:
|
||||||
interval: 1h
|
interval: 1h
|
||||||
url: oci://ghcr.io/fluxcd/charts
|
url: oci://registry.lab.kill0.net:5004/fluxcd/charts
|
||||||
type: oci
|
type: oci
|
||||||
|
insecure: true
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.0/standard-install.yaml
|
|
5
infrastructure/controllers/k6/kustomization.yaml
Normal file
5
infrastructure/controllers/k6/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- repository.yaml
|
9
infrastructure/controllers/k6/release.yaml
Normal file
9
infrastructure/controllers/k6/release.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: grafana
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
interval: 1m
|
||||||
|
url: https://grafana.github.io/helm-charts
|
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: kube-system
|
||||||
|
resources:
|
||||||
|
- repository.yaml
|
||||||
|
- release.yaml
|
20
infrastructure/controllers/kubelet-csr-approver/release.yaml
Normal file
20
infrastructure/controllers/kubelet-csr-approver/release.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: kubelet-csr-approver
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
releaseName: kubelet-csr-approver
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: kubelet-csr-approver
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: kubelet-csr-approver
|
||||||
|
values:
|
||||||
|
providerRegex: ^(?:(?:kube|k[038]s))\d+$
|
||||||
|
providerIpPrefixes: 10.100.100.0/24
|
||||||
|
maxExpirationSeconds: 86400
|
||||||
|
bypassDnsResolution: false
|
||||||
|
interval: 1m
|
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: kubelet-csr-approver
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
url: https://postfinance.github.io/kubelet-csr-approver
|
@@ -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
|
||||||
|
@@ -16,7 +16,3 @@ spec:
|
|||||||
install:
|
install:
|
||||||
remediation:
|
remediation:
|
||||||
retries: 3
|
retries: 3
|
||||||
values:
|
|
||||||
ingressClass:
|
|
||||||
enabled: true
|
|
||||||
isDefaultClass: false
|
|
||||||
|
Reference in New Issue
Block a user