6.2.3-0.1.0 • Published 6 years ago

@helm-charts/bitnami-parse v6.2.3-0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

@helm-charts/bitnami-parse

Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more.

FieldValue
Repository Namebitnami
Chart Nameparse
Chart Version6.2.3
NPM Package Version0.1.0
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
##
# global:
#   imageRegistry: myRegistryName
#   imagePullSecrets:
#     - myRegistryKeySecretName

## Kubernetes serviceType for Parse Deployment
## ref: http://kubernetes.io/docs/user-guide/services/#publishing-services---service-types
##
service:
  type: LoadBalancer
  # Parse dashboard HTTP Port
  port: 80
  ## loadBalancerIP:
  ##
  ## nodePorts:
  ##   http: <to set explicitly, choose port between 30000-32767>
  nodePorts:
    http: ''
  ## Enable client source IP preservation
  ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
  ##
  externalTrafficPolicy: Cluster

## loadBalancerIP for the Parse Service (optional, cloud specific)
## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer
##
#
server:
  ## Bitnami Parse image version
  ## ref: https://hub.docker.com/r/bitnami/parse/tags/
  ##
  image:
    registry: docker.io
    repository: bitnami/parse
    tag: 3.2.3
    ## Specify a imagePullPolicy
    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    ##
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ##
    # pullSecrets:
    #   - myRegistryKeySecretName

  ## Parse Server Pod Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  ##
  securityContext:
    enabled: true
    fsGroup: 1001
    runAsUser: 1001

  ## Parse Server Port
  ## ref: https://github.com/bitnami/bitnami-docker-parse#configuration
  ##
  port: 1337

  ## Parse API mount path
  ## ref: https://github.com/bitnami/bitnami-docker-parse#configuration
  ##
  mountPath: /parse

  ## Parse Server App ID
  ## ref: https://github.com/bitnami/bitnami-docker-parse#configuration
  ##
  appId: myappID

  ## Parse Server Master Key
  ## ref: https://github.com/bitnami/bitnami-docker-parse#configuration
  ##
  # masterKey:

  ## Configure resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ##
  resources:
    # requests:
    #   memory: 512Mi
    #   cpu: 300m

dashboard:
  ## Enable deployment of Parse Dashboard
  ##
  enabled: true

  ## Bitnami Parse Dashboard image version
  ## ref: https://hub.docker.com/r/bitnami/parse-dashboard/tags/
  ##
  image:
    registry: docker.io
    repository: bitnami/parse-dashboard
    tag: 1.2.0
    ## Specify a imagePullPolicy
    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    ##
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ##
    # pullSecrets:
    #   - myRegistryKeySecretName

  ## Parse Dashboard Pod Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
  ##
  securityContext:
    enabled: true
    fsGroup: 1001
    runAsUser: 1001

  ## Parse Dashboard application username
  ## ref: https://github.com/bitnami/bitnami-docker-parse-dashboard#configuration
  ##
  username: user

  ## Parse Dashboard application password
  ## Defaults to a random 10-character alphanumeric string if not set
  ## ref: https://github.com/bitnami/bitnami-docker-parse-dashboard#configuration
  ##
  # password:

  ## Parse Dashboard application name
  ## ref: https://github.com/bitnami/bitnami-docker-parse-dashboard#configuration
  ##
  appName: MyDashboard

  ## Configure resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ##
  resources:
    {}
    # requests:
    #   memory: 512Mi
    #   cpu: 300m

## Configure the ingress resource that allows you to access the
## Parse installation. Set up the URL
## ref: http://kubernetes.io/docs/user-guide/ingress/
##
ingress:
  ## Set to true to enable ingress record generation
  enabled: false

  ## Set this to true in order to add the corresponding annotations for cert-manager
  certManager: false

  ## Ingress annotations done as key:value pairs
  ## For a full list of possible ingress annotations, please see
  ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
  ##
  ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
  ## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
  annotations:
  #  kubernetes.io/ingress.class: nginx

  dashboard:
    ## The list of hostnames to be covered with this ingress record.
    ## Most likely this will be just one host, but in the event more hosts are needed, this is an array
    hosts:
      - name: parse.local
        path: /

        ## Set this to true in order to enable TLS on the ingress record
        tls: false

        ## Optionally specify the TLS hosts for the ingress record
        ## Useful when the Ingress controller supports www-redirection
        ## If not specified, the above host name will be used
        # tlsHosts:
        # - www.parse.local
        # - parse.local

        ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
        tlsSecret: parse.local-tls

  server:
    ## The list of hostnames to be covered with this ingress record.
    ## Most likely this will be just one host, but in the event more hosts are needed, this is an array
    hosts:
      - name: parse-server.local
        path: /

        ## Set this to true in order to enable TLS on the ingress record
        tls: false

        ## Optionally specify the TLS hosts for the ingress record
        ## Useful when the Ingress controller supports www-redirection
        ## If not specified, the above host name will be used
        # tlsHosts:
        # - www.parse.local
        # - parse.local

        ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
        tlsSecret: parse.local-tls

  secrets:
  ## If you're providing your own certificates, please use this to add the certificates as secrets
  ## key and certificate should start with -----BEGIN CERTIFICATE----- or
  ## -----BEGIN RSA PRIVATE KEY-----
  ##
  ## name should line up with a tlsSecret set further up
  ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
  ##
  ## It is also possible to create and manage the certificates outside of this helm chart
  ## Please see README.md for more information
  # - name: parse.local-tls
  #   key:
  #   certificate:

## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence:
  enabled: true
  ## parse data Persistent Volume Storage Class
  ## If defined, storageClassName: <storageClass>
  ## If set to "-", storageClassName: "", which disables dynamic provisioning
  ## If undefined (the default) or set to null, no storageClassName spec is
  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
  ##   GKE, AWS & OpenStack)
  ##
  # storageClass: "-"
  accessMode: ReadWriteOnce
  size: 8Gi

##
## MongoDB chart configuration
##
## https://github.com/helm/charts/blob/master/stable/mongodb/values.yaml
##
mongodb:
  ## MongoDB Password authentication
  usePassword: true
  ## If the password is not specified, MongoDB will generate a random password
  ##
  # mongodbRootPassword:
  ## Enable persistence using Persistent Volume Claims
  ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
  ##
  persistence:
    enabled: true
    ## mongodb data Persistent Volume Storage Class
    ## If defined, storageClassName: <storageClass>
    ## If set to "-", storageClassName: "", which disables dynamic provisioning
    ## If undefined (the default) or set to null, no storageClassName spec is
    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
    ##   GKE, AWS & OpenStack)
    ##
    # storageClass: "-"
    accessMode: ReadWriteOnce
    size: 8Gi

Parse

Parse is an open source version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

TL;DR;

$ helm install stable/parse

Introduction

This chart bootstraps a Parse deployment on a Kubernetes cluster using the Helm package manager.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.

Prerequisites

  • Kubernetes 1.4+ with Beta APIs enabled
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release stable/parse

The command deploys Parse on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Parse chart and their default values.

ParameterDescriptionDefault
global.imageRegistryGlobal Docker image registrynil
global.imagePullSecretsGlobal Docker registry secret names as an array[] (does not add image pull secrets to deployed pods)
service.typeKubernetes Service typeLoadBalancer
service.portService HTTP port (Dashboard)80
service.loadBalancerIPloadBalancerIP for the Parse Servicenil
service.externalTrafficPolicyEnable client source IP preservationCluster
service.nodePorts.httpKubernetes http node port""
server.image.registryParse image registrydocker.io
server.image.repositoryParse image namebitnami/parse
server.image.tagParse image tag{VERSION}
server.image.pullPolicyImage pull policyAlways if imageTag is latest, else IfNotPresent
server.image.pullSecretsSpecify docker-registry secret names as an array[] (does not add image pull secrets to deployed pods)
server.securityContext.enabledEnable security context for Parse Servertrue
server.securityContext.fsGroupGroup ID for Parse Server container1001
server.securityContext.runAsUserUser ID for Parse Server container1001
server.portParse server server port1337
server.mountPathParse server API mount path/parse
server.appIdParse server App IdmyappID
server.masterKeyParse server Master Keyrandom 10 character alphanumeric string
server.resourcesCPU/Memory resource requests/limitsMemory: 512Mi, CPU: 300m
dashboard.enabledEnable parse dashboardtrue
dashboard.image.registryDashboard image registrydocker.io
dashboard.image.repositoryDashboard image namebitnami/parse-dashboard
dashboard.image.tagDashboard image tag{VERSION}
dashboard.image.pullPolicyImage pull policyAlways if imageTag is latest, else IfNotPresent
dashboard.securityContext.enabledEnable security context for Dashboardtrue
dashboard.securityContext.fsGroupGroup ID for Dashboard container1001
dashboard.securityContext.runAsUserUser ID for Dashboard container1001
dashboard.image.pullSecretsSpecify docker-registry secret names as an array[] (does not add image pull secrets to deployed pods)
dashboard.usernameDashboard usernameuser
dashboard.passwordDashboard user passwordrandom 10 character alphanumeric string
dashboard.appNameDashboard application nameMyDashboard
dashboard.resourcesCPU/Memory resource requests/limitsMemory: 512Mi, CPU: 300m
persistence.enabledEnable Parse persistence using PVCtrue
persistence.storageClassPVC Storage Class for Parse volumenil (uses alpha storage class annotation)
persistence.accessModePVC Access Mode for Parse volumeReadWriteOnce
persistence.sizePVC Storage Request for Parse volume8Gi
ingress.enabledEnable ingress controller resourcefalse
ingress.annotationsIngress annotations[]
ingress.certManagerAdd annotations for cert-managerfalse
ingress.dashboard.hosts[0].nameHostname to your Parse Dashboard installationghost.local
ingress.dashboard.hosts[0].pathPath within the url structure/
ingress.dashboard.hosts[0].tlsUtilize TLS backend in ingressfalse
ingress.dashboard.hosts[0].tlsHostsArray of TLS hosts for ingress record (defaults to ingress.hosts[0].name if nil)nil
ingress.dashboard.hosts[0].tlsSecretTLS Secret (certificates)ghost.local-tls-secret
ingress.server.hosts[0].nameHostname to your Parse Server installationghost.local
ingress.server.hosts[0].pathPath within the url structure/
ingress.server.hosts[0].tlsUtilize TLS backend in ingressfalse
ingress.server.hosts[0].tlsHostsArray of TLS hosts for ingress record (defaults to ingress.hosts[0].name if nil)nil
ingress.server.hosts[0].tlsSecretTLS Secret (certificates)ghost.local-tls-secret
ingress.secrets[0].nameTLS Secret Namenil
ingress.secrets[0].certificateTLS Secret Certificatenil
ingress.secrets[0].keyTLS Secret Keynil
mongodb.usePasswordEnable MongoDB password authenticationtrue
mongodb.passwordMongoDB admin passwordnil
mongodb.persistence.enabledEnable MongoDB persistence using PVCtrue
mongodb.persistence.storageClassPVC Storage Class for MongoDB volumenil (uses alpha storage class annotation)
mongodb.persistence.accessModePVC Access Mode for MongoDB volumeReadWriteOnce
mongodb.persistence.sizePVC Storage Request for MongoDB volume8Gi

The above parameters map to the env variables defined in bitnami/parse. For more information please refer to the bitnami/parse image documentation.

Note:

For the Parse application function correctly, you should specify the parseHost parameter to specify the FQDN (recommended) or the public IP address of the Parse service.

Optionally, you can specify the loadBalancerIP parameter to assign a reserved IP address to the Parse service of the chart. However please note that this feature is only available on a few cloud providers (f.e. GKE).

To reserve a public IP address on GKE:

$ gcloud compute addresses create parse-public-ip

The reserved IP address can be associated to the Parse service by specifying it as the value of the loadBalancerIP parameter while installing the chart.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set dashboard.username=admin,dashboard.password=password \
    stable/parse

The above command sets the Parse administrator account username and password to admin and password respectively.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml stable/parse

Tip: You can use the default values.yaml

Persistence

The Bitnami Parse image stores the Parse data and configurations at the /bitnami/parse path of the container.

Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube. See the Configuration section to configure the PVC or to disable persistence.

Upgrading

To 5.1.0

Parse & Parse Dashboard containers were moved to a non-root approach. There shouldn't be any issue when upgrading since the corresponding securityContext is enabled by default. Both container images and chart can be upgraded by running the command below:

$ helm upgrade my-release stable/parse

If you use a previous container image (previous to 3.1.2-r14 for Parse or 1.2.0-r69 for Parse Dashboard), disable the securityContext by running the command below:

$ helm upgrade my-release stable/parse --set server.securityContext.enabled=fase,dashboard.securityContext.enabled=fase,server.image.tag=XXX,dashboard.image.tag=YYY

To 3.0.0

Backwards compatibility is not guaranteed unless you modify the labels used on the chart's deployments. Use the workaround below to upgrade from versions previous to 3.0.0. The following example assumes that the release name is parse:

$ kubectl patch deployment parse-parse-dashboard --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]'
$ kubectl patch deployment parse-parse-server --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]'
$ kubectl patch deployment parse-mongodb --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]'
6.2.3-0.1.0

6 years ago

6.2.2-0.1.0

6 years ago

6.2.1-0.1.0

6 years ago

6.2.0-0.1.0

6 years ago

6.1.2-0.1.0

6 years ago

6.1.1-0.1.0

6 years ago

6.1.0-0.1.0

6 years ago

6.0.3-0.1.0

6 years ago

6.0.2-0.1.0

6 years ago

5.1.2-0.1.0

6 years ago

5.1.1-0.1.0

6 years ago

5.0.2-0.1.0

6 years ago

5.0.1-0.1.0

6 years ago

5.0.0-0.1.0

6 years ago

4.0.0-0.1.0

6 years ago

3.1.3-0.1.0

6 years ago

3.1.2-0.1.0

6 years ago

3.1.1-0.1.0

6 years ago

3.1.0-0.1.0

6 years ago

3.0.2-0.1.0

6 years ago

3.0.1-0.1.0

6 years ago

3.0.0-0.1.0

6 years ago

2.0.6-0.1.0

6 years ago

2.0.5-0.1.0

6 years ago

2.0.4-0.1.0

6 years ago

2.0.3-0.1.0

6 years ago

2.0.2-0.1.0

6 years ago

2.0.1-0.1.0

6 years ago

2.0.0-0.1.0

6 years ago

1.0.6-0.1.0

6 years ago

1.0.5-0.1.0

6 years ago

1.0.4-0.1.0

6 years ago

1.0.3-0.1.0

6 years ago

1.0.2-0.1.0

6 years ago

0.3.9-0.1.0

6 years ago

0.3.8-0.1.0

6 years ago

0.3.7-0.1.0

6 years ago

0.3.6-0.1.0

6 years ago

0.3.5-0.1.0

6 years ago

0.3.4-0.1.0

6 years ago

0.3.3-0.1.0

6 years ago