change to operator

This commit is contained in:
2025-08-02 18:44:39 -05:00
parent 1eb12c2582
commit 01bc13e0a2
3 changed files with 12 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ spec:
namespace: ingress-nginx namespace: ingress-nginx
project: default project: default
source: source:
path: cluster/ingress-nginx path: cluster/ingress-nginx/overlays/{{.cluster}}
repoURL: https://github.com/rblundon/homelab.git repoURL: https://github.com/rblundon/homelab.git
targetRevision: HEAD targetRevision: HEAD
helm: helm:

View File

@@ -2,20 +2,20 @@
kind: NginxIngress kind: NginxIngress
apiVersion: charts.nginx.org/v1alpha1 apiVersion: charts.nginx.org/v1alpha1
metadata: metadata:
name: nginxingress-internal name: nginx
namespace: nginx-ingress-internal namespace: nginx-ingress
spec: spec:
routeSelector: routeSelector:
matchLabels: matchLabels:
type: internal-ingress type: nginx
controller: controller:
affinity: affinity:
podAntiAffinity: podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - labelSelector:
matchLabels: matchLabels:
app.kubernetes.io/instance: nginx-internal app.kubernetes.io/instance: nginx
app.kubernetes.io/name: nginx-internal app.kubernetes.io/name: nginx
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
config: config:
entries: entries:
@@ -71,7 +71,7 @@ spec:
tag: 3.7.0-ubi tag: 3.7.0-ubi
ingressClass: ingressClass:
create: true create: true
name: nginx-internal name: nginx
setAsDefaultIngress: false setAsDefaultIngress: false
replicaCount: 2 replicaCount: 2
reportIngressStatus: reportIngressStatus:
@@ -79,10 +79,10 @@ spec:
enable: true enable: true
enableLeaderElection: true enableLeaderElection: true
ingressLink: '' ingressLink: ''
leaderElectionLockName: internal-ingress-leader leaderElectionLockName: ingress-leader
service: service:
externalTrafficPolicy: Local externalTrafficPolicy: Local
loadBalancerIP: 10.1.82.2 # loadBalancerIP: 10.1.82.2
prometheus: prometheus:
create: true create: true
serviceMonitor: serviceMonitor:
@@ -90,7 +90,7 @@ spec:
volumes: volumes:
- name: nginx-cache - name: nginx-cache
persistentVolumeClaim: persistentVolumeClaim:
claimName: nginx-cache-internal claimName: nginx-cache
volumeMounts: volumeMounts:
- name: nginx-cache - name: nginx-cache
mountPath: /var/cache/nginx mountPath: /var/cache/nginx

View File

@@ -6,3 +6,4 @@ commonAnnotations:
resources: resources:
- ../../base - ../../base
- ingresscontroller.yaml