Skip to content

Commit

Permalink
Merge pull request #25 from kerberos-io/feature/inject-namespace-requ…
Browse files Browse the repository at this point in the history
…ired-for-kustomize

Improvement / Missed some namespaces on several resources
  • Loading branch information
cedricve authored Dec 2, 2024
2 parents 4a77442 + 054d3d6 commit df4d848
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.75.0
version: 0.76.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/hub/templates/kerberos-hub/hub-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hub-api-ingress
namespace: {{ .Release.Namespace }}
annotations:
{{- if eq .Values.ingress "nginx" }}
kubernetes.io/tls-acme: "true"
Expand Down Expand Up @@ -100,6 +101,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: hub-api
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.kerberoshub.api.replicas }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/hub/templates/kerberos-hub/hub-frontend-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hub-frontend-demo-ingress
namespace: {{ .Release.Namespace }}
annotations:
{{- if eq .Values.ingress "nginx" }}
kubernetes.io/tls-acme: "true"
Expand Down Expand Up @@ -63,6 +64,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: hub-frontend-demo
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.kerberoshub.frontend.replicas }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/hub/templates/kerberos-hub/hub-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hub-frontend-ingress
namespace: {{ .Release.Namespace }}
annotations:
{{- if eq .Values.kerberoshub.oauth2Proxy.enabled true }}
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
Expand Down Expand Up @@ -142,6 +143,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: hub-frontend
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.kerberoshub.frontend.replicas }}
selector:
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-analysis
namespace: {{ .Release.Namespace }}
labels:
app: pipe-analysis
service: pipe
name: pipe-analysis
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-counting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-counting
namespace: {{ .Release.Namespace }}
labels:
app: pipe-counting
service: pipe
name: pipe-counting
spec:
ports:
- name: hub-metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-dominantcolor
namespace: {{ .Release.Namespace }}
labels:
app: pipe-dominantcolor
service: pipe
name: pipe-dominantcolor
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-event
namespace: {{ .Release.Namespace }}
labels:
app: pipe-event
service: pipe
name: pipe-event
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-export
namespace: {{ .Release.Namespace }}
labels:
app: pipe-export
service: pipe
name: pipe-export
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-monitor
namespace: {{ .Release.Namespace }}
labels:
app: pipe-monitor
service: pipe
name: pipe-monitor
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-notify-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-notify-test
namespace: {{ .Release.Namespace }}
labels:
app: pipe-notify-test
service: pipe
name: pipe-notify-test
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-notify
namespace: {{ .Release.Namespace }}
labels:
app: pipe-notify
service: pipe
name: pipe-notify
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-sequence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-sequence
namespace: {{ .Release.Namespace }}
labels:
app: pipe-sequence
service: pipe
name: pipe-sequence
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-sprite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-sprite
namespace: {{ .Release.Namespace }}
labels:
app: pipe-sprite
service: pipe
name: pipe-sprite
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-throttler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-throttler
namespace: {{ .Release.Namespace }}
labels:
app: pipe-throttler
service: pipe
name: pipe-throttler
spec:
ports:
- name: hub-metrics
Expand Down
3 changes: 2 additions & 1 deletion charts/hub/templates/kerberos-pipeline/pipe-thumbnail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: pipe-thumbnail
namespace: {{ .Release.Namespace }}
labels:
app: pipe-thumbnail
service: pipe
name: pipe-thumbnail
spec:
ports:
- name: hub-metrics
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-vault/vault-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ apiVersion: v1
kind: Service
metadata:
name: vault-proxy-svc
namespace: {{ .Release.Namespace }}
labels:
app: vault-proxy-svc
spec:
Expand Down

0 comments on commit df4d848

Please sign in to comment.