Skip to content

Commit

Permalink
Merge pull request #26 from lambchop4prez/add-cert-manager
Browse files Browse the repository at this point in the history
Adding cert manager, moving ingress-nginx to networking
  • Loading branch information
lambchop4prez authored Sep 26, 2023
2 parents 5287d30 + e1cb78e commit 7aee55d
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 4 deletions.
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"

0 comments on commit 7aee55d

Please sign in to comment.