Skip to content

Commit

Permalink
first bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Foysal Iqbal committed May 11, 2020
1 parent 4a3fb36 commit 02499d5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

namespace: default
resources:
- resources
vars:
Expand All @@ -16,5 +16,12 @@ vars:
name: nfs-provisioner-client-info
fieldref:
fieldpath: data.nfsPath
- name: NAMESPACE
objref:
apiVersion: v1
kind: ConfigMap
name: nfs-provisioner-client-info
fieldref:
fieldpath: metadata.namespace
configurations:
- varreference.yaml
2 changes: 1 addition & 1 deletion resources/cluster-role-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: nfs-client-provisioner
namespace: coffee
namespace: $(NAMESPACE)
roleRef:
kind: ClusterRole
name: nfs-client-provisioner
Expand Down
4 changes: 3 additions & 1 deletion varreference.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
varReference:
- path: spec/template/spec/volumes/nfs/path
kind: Deployment
kind: Deployment
- path: subjects/namespace
kind: ClusterRoleBinding

0 comments on commit 02499d5

Please sign in to comment.