Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #368 from lpabon/heketi_template
Browse files Browse the repository at this point in the history
Update templates
  • Loading branch information
Luis Pabón committed Jun 2, 2016
2 parents 2e3e5c1 + a5ba076 commit 01b1da2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
12 changes: 6 additions & 6 deletions extras/openshift/template/glusterfs-template.json
Expand Up @@ -16,7 +16,7 @@
"kind": "DeploymentConfig",
"apiVersion": "v1",
"metadata": {
"name": "glusterfs-${NODE_LABEL}",
"name": "glusterfs-${NODE_GLUSTERFSID}",
"annotations": {
"description": "Deploys the GlusterFS container"
}
Expand All @@ -31,7 +31,7 @@
"name": "glusterfs",
"labels": {
"name": "glusterfs",
"glusterfsid": "${NODE_LABEL}"
"glusterfsid": "${NODE_GLUSTERFSID}"
}
},
"triggers": [
Expand All @@ -44,7 +44,7 @@
},
"spec": {
"nodeSelector": {
"name": "${NODE_LABEL}"
"glusterfsid": "${NODE_GLUSTERFSID}"
},
"hostNetwork": true,
"containers": [
Expand Down Expand Up @@ -152,9 +152,9 @@
],
"parameters": [
{
"name": "NODE_LABEL",
"displayName": "Node label",
"description": "Label of storage node which will run the container",
"name": "NODE_GLUSTERFSID",
"displayName": "Node tag for label glusterfsid",
"description": "Tag of storage node for label glusterfsid which will run the container",
"required": true
}
]
Expand Down
12 changes: 9 additions & 3 deletions extras/openshift/template/heketi-template.json
Expand Up @@ -162,31 +162,37 @@
},
{
"name": "HEKETI_KUBE_CERTFILE",
"description": "SSL certificate file accessiable from the container"
"displayName": "Certificate file",
"description": "Container path to Kubernetes certificate file"
},
{
"name": "HEKETI_KUBE_INSECURE",
"displayName": "Insecure access",
"description": "Allow insecure SSL/HTTPS access",
"value": "n"
},
{
"name": "HEKETI_KUBE_USER",
"description": "OpenShift username to access Kubernetes API",
"displayName": "User",
"description": "OpenShift/Kubernetes username to access Kubernetes API",
"required": true
},
{
"name": "HEKETI_KUBE_PASSWORD",
"displayName": "Password",
"description": "Password for OpenShift user",
"required": true
},
{
"name": "HEKETI_KUBE_NAMESPACE",
"displayName": "Project/Namespace",
"description": "OpenShift project or Kubernetes namespace containing GlusterFS",
"required": true
},
{
"name": "HEKETI_KUBE_APIHOST",
"description": "Kubernetes API host",
"displayName": "API Host Address",
"description": "Kubernetes API host, for example: https://ip:port",
"required": true
}
]
Expand Down

0 comments on commit 01b1da2

Please sign in to comment.