Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding cert manager, moving ingress-nginx to networking #26

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cluster/apps/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress-nginx
- networking
23 changes: 23 additions & 0 deletions cluster/apps/networking/cert-manager/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: cert-manager
namespace: networking
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.jetstack.io/
chart: cert-manager
version: v1.13.0
sourceRef:
kind: HelmRepository
name: jetstack-charts
namespace: flux-system
values:
installCRDs: true
webhook:
enabled: true
replicaCount: 1
podDnsPolicy: "None"
5 changes: 5 additions & 0 deletions cluster/apps/networking/cert-manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- vault-issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
value: "${TIMEZONE}"
service:
annotations:
metallb.universe.tf/loadBalancerIPs: "${INGRESS_NGINX_ADDRESS}"
io.cilium/lb-ipam-ips: ["${INGRESS_NGINX_ADDRESS}"]
externalTrafficPolicy: Cluster
publishService:
enabled: true
Expand Down
6 changes: 6 additions & 0 deletions cluster/apps/networking/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress-nginx
- cert-manager
10 changes: 10 additions & 0 deletions cluster/base/charts/helm/jetstack-charts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: jetstack-charts
namespace: flux-system
spec:
interval: 15m
url: https://charts.jetstack.io/
timeout: 3m
1 change: 1 addition & 0 deletions cluster/base/charts/helm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- grafana-charts.yaml
- influxdata-charts.yaml
- ingress-nginx-charts.yaml
- jetstack-charts.yaml
- k8s-gateway.yaml
- metallb-charts.yaml
- metrics-server-charts.yaml
Expand Down
2 changes: 0 additions & 2 deletions cluster/base/cluster-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ metadata:
namespace: flux-system
data:
TIMEZONE: "America/Detroit"
METALLB_BGP_RANGE: "10.10.100.0/24"
METALLB_BGP_ASN: "64512"
BGP_ROUTER_ADDR: "10.4.1.1"
BGP_ROUTER_ASN: "65551"
INGRESS_NGINX_ADDRESS: "10.10.100.101"