Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: convert to a very basic Helm chart #108

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions staging/volumes/nfs/chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: nfs
description: A basic NFS client-server example
version: 0.1.0
keywords:
- nfs
- pv
- pvc
- storage
home: https://github.com/kingdonb/examples-volumes-nfs
sources:
- https://hub.docker.com/kingdonb/nfs-data
maintainers:
- name: kingdonb
email: [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ spec:
accessModes:
- ReadWriteMany
nfs:
# FIXME: use the right IP
server: 10.244.1.4
server: "{{ .Values.service.clusterIP }}"
path: "/"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
metadata:
name: nfs-server
spec:
clusterIP: "{{ .Values.service.clusterIP }}"
ports:
- name: nfs
port: 2049
Expand Down
2 changes: 2 additions & 0 deletions staging/volumes/nfs/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service:
clusterIP: 10.0.0.99