Skip to content

Commit

Permalink
Make sure nfs is included in k8s resource names
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Sep 18, 2024
1 parent 2cc00ea commit 880de1a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion helm/jupyter-home-nfs/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Using dynamic provisioning.
{{- end }}

Your NFS server is now available inside the cluster at the following address:
{{ .Release.Name }}-service.{{ .Release.Namespace }}.svc.cluster.local
{{ .Release.Name }}-nfs-service.{{ .Release.Namespace }}.svc.cluster.local
4 changes: 2 additions & 2 deletions helm/jupyter-home-nfs/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-deployment
name: {{ .Release.Name }}-nfs-deployment
spec:
replicas: 1
selector:
Expand Down Expand Up @@ -38,4 +38,4 @@ spec:
volumes:
- name: home-directories
persistentVolumeClaim:
claimName: {{ .Release.Name }}-home-directories-claim
claimName: {{ .Release.Name }}-nfs-home-directories-claim
4 changes: 2 additions & 2 deletions helm/jupyter-home-nfs/templates/persistent-volume-claim.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .Release.Name }}-home-directories-claim
name: {{ .Release.Name }}-nfs-home-directories-claim
spec:
accessModes:
{{- toYaml .Values.persistentVolume.accessModes | nindent 4 }}
Expand All @@ -11,5 +11,5 @@ spec:
storage: {{ .Values.persistentVolume.size }}
storageClassName: ""
{{- if or .Values.eks.enabled .Values.gke.enabled }}
volumeName: {{ .Release.Name }}-home-directories-volume
volumeName: {{ .Release.Name }}-nfs-home-directories-volume
{{- end }}
2 changes: 1 addition & 1 deletion helm/jupyter-home-nfs/templates/persistent-volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: {{ .Release.Name }}-home-directories-volume
name: {{ .Release.Name }}-nfs-home-directories-volume
spec:
capacity:
storage: {{ .Values.persistentVolume.size }}
Expand Down
2 changes: 1 addition & 1 deletion helm/jupyter-home-nfs/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-service
name: {{ .Release.Name }}-nfs-service
spec:
type: {{ .Values.service.type }}
ports:
Expand Down

0 comments on commit 880de1a

Please sign in to comment.