Skip to content

Commit

Permalink
change templates to include namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Dec 2, 2024
1 parent d8a29e3 commit d93a5d2
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 3 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.74.0
version: 0.75.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
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-hub/hub-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: hub-api-svc
namespace: {{ include "common.names.namespace" . | quote }}
labels:
app: hub-api-svc
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-hub/hub-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: hub-cleanup
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: 1
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-hub/hub-frontend-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: hub-frontend-demo-svc
namespace: {{ include "common.names.namespace" . | quote }}
labels:
app: hub-frontend-demo-svc
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-hub/hub-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: hub-frontend-svc
namespace: {{ include "common.names.namespace" . | quote }}
labels:
app: hub-frontend-svc
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-hub/hub-monitor-device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: hub-monitor-device
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: 1
selector:
Expand Down
4 changes: 2 additions & 2 deletions charts/hub/templates/kerberos-hub/hub-oauth2-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
k8s-app: oauth2-proxy
name: oauth2-proxy
namespace: kube-system
labels:
k8s-app: oauth2-proxy
spec:
replicas: 1
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: hub-reactivate-subscription
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: 1
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-analysis
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.analysis.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-counting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-counting
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.counting.replicas }}
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-dominantcolor
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.dominantColor.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-event
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.event.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-export
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.export.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-monitor
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.monitor.replicas }}
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-notify-test
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.notifyTest.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-notify
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.notify.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-sequence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-sequence
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.sequence.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-sprite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-sprite
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.sprite.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-throttler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-throttler
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.throttler.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/pipe-thumbnail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pipe-thumbnail
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: {{ .Values.kerberospipeline.thumbnail.replicas }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-pipeline/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: hub-metrics-servicemonitor
namespace: {{ include "common.names.namespace" . | quote }}
labels:
service: pipe
release: prometheus
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-vault/vault-forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: vault-forwarder
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: 1
selector:
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 @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: vault-proxy
namespace: {{ include "common.names.namespace" . | quote }}
spec:
replicas: 3
selector:
Expand Down

0 comments on commit d93a5d2

Please sign in to comment.