Skip to content

Commit

Permalink
fix: Update namespace in the helm chart (#337)
Browse files Browse the repository at this point in the history
**Reason for Change**:
- Update the namespace to use the release namespace.

**Requirements**

- [ ] added unit tests and e2e tests (if applicable).

**Issue Fixed**:
Fixes #336 
**Notes for Reviewers**:

---------

Signed-off-by: Heba <[email protected]>
Co-authored-by: ishaansehgal99 <[email protected]>
  • Loading branch information
helayoty and ishaansehgal99 authored Apr 4, 2024
1 parent 77aa95b commit fde6369
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kaito/workspace/templates/clusterrole_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ include "kaito.fullname" . }}-sa
namespace: {{ include "kaito.fullname" . }}
namespace: {{ .Release.Namespace }}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: high-priority-nonpreempting
namespace: {{ include "kaito.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "kaito.labels" . | nindent 4 }}
value: 1000000
Expand Down
2 changes: 1 addition & 1 deletion charts/kaito/workspace/templates/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ include "kaito.fullname" . }}-sa
namespace: {{ include "kaito.fullname" . }}
namespace: {{ .Release.Namespace }}
2 changes: 1 addition & 1 deletion charts/kaito/workspace/templates/webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ webhooks:
clientConfig:
service:
name: {{ include "kaito.fullname" . }}
namespace: {{ include "kaito.fullname" . }}
namespace: {{ .Release.Namespace }}
port: {{ .Values.webhook.port }}
failurePolicy: Fail
sideEffects: None
Expand Down

0 comments on commit fde6369

Please sign in to comment.