Skip to content

Commit

Permalink
Merge pull request #126 from WSMathias/update-charts
Browse files Browse the repository at this point in the history
Update charts
  • Loading branch information
AshishThakur committed Jul 24, 2020
2 parents 9e3328e + eb9c123 commit 5035ff2
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 92 deletions.
19 changes: 9 additions & 10 deletions starterkits/drupal8-php-fpm-apache/charts/drupal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ It deploys a drupal application. Optionally, you can set up an Ingress resource
- Kubernetes 1.12+
- Helm 2.11+ or Helm 3.0-beta3+

## Installing the Chart
## Installing the Chart (Helm3)

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

```console
$ git clone https://github.com/srijanone/helm-chart
$ helm install --name my-release ./helm-chart/stable/drupal
$ helm install my-release ./charts/drupal
```

These commands deploy drupal on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation. Also includes support for MariaDB chart out of the box.
Expand All @@ -31,7 +30,7 @@ Due that the Helm Chart clones the application on the /app volume while the cont
To uninstall/delete the `my-release` deployment:

```console
$ helm delete my-release
$ helm uninstall my-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -44,7 +43,7 @@ The following table lists the configurable parameters of the drupal chart and th
| --------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------- |
| `global.imageRegistry` | Global Docker image registry | `docker.io` |
| `phpfpm.registry` | PHP-FPM image registry | `nil` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:8` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:demo` |
| `phpfpm.pullPolicy` | PHP-FPM image pull policy | `IfNotPresent` |
| `phpfpm.extraEnv` | PHP-FPM container environment variables | `nill` |
| `phpfpm.command` | PHP-FPM container entry point | from image |
Expand Down Expand Up @@ -89,17 +88,17 @@ The following table lists the configurable parameters of the drupal chart and th
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```console
$ helm install --name my-release \
$ helm install my-release \
--set replicas=2 \
./helm-chart/stable/drupal
./charts/drupal
```

The above command clones the remote git repository to the `/app/` directory of the container. Additionally it sets the number of `replicas` to `2`.

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

```console
$ helm install --name my-release -f values.yaml ./charts/drupal
$ helm install my-release -f values.yaml ./charts/drupal
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down Expand Up @@ -143,9 +142,9 @@ ingress:
- You should see a helm package named - `drupal-1.0.0.tgz`.
- Upload the `drupal-1.0.0.tgz` helm package to s3 bucket :
```
aws s3 cp drupal-1.0.0.tgz s3://s3-st-helm-dev/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
aws s3 cp drupal-1.0.0.tgz s3://s3-helm/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
```
- Upload the `values.yaml` to s3 bucket :
```
aws s3 cp values-<env>.yaml s3://s3-st-helm-dev/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
aws s3 cp values-<env>.yaml s3://s3-helm/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
```
10 changes: 2 additions & 8 deletions starterkits/drupal8-php-fpm-apache/charts/drupal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
phpfpm:
image:
# registry: docker.io
repository: srijanlabs/drupal:8
repository: srijanlabs/drupal:demo
## tag:
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -33,7 +33,7 @@ phpfpm:
## Container Command
# args: ["/start.sh"]

## Envinronment variable to be passed to phpfpm container
## Define custom environment variables to pass to the image here
extraEnv:
# - name: key
# value: value
Expand Down Expand Up @@ -146,12 +146,6 @@ applicationKind: Deployment
##
replicas: 1

## Define custom environment variables to pass to the image here
##
# extraEnv:
# - name: DRUPAL_HOST
# value: http://drupal-dev

## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
Expand Down
19 changes: 9 additions & 10 deletions starterkits/drupal8-php-fpm-nginx/charts/drupal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ It deploys a drupal application. Optionally, you can set up an Ingress resource
- Kubernetes 1.12+
- Helm 2.11+ or Helm 3.0-beta3+

## Installing the Chart
## Installing the Chart (Helm3)

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

```console
$ git clone https://github.com/srijanone/helm-chart
$ helm install --name my-release ./helm-chart/stable/drupal
$ helm install my-release ./charts/drupal
```

These commands deploy drupal on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation. Also includes support for MariaDB chart out of the box.
Expand All @@ -31,7 +30,7 @@ Due that the Helm Chart clones the application on the /app volume while the cont
To uninstall/delete the `my-release` deployment:

```console
$ helm delete my-release
$ helm uninstall my-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -44,7 +43,7 @@ The following table lists the configurable parameters of the drupal chart and th
| --------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------- |
| `global.imageRegistry` | Global Docker image registry | `docker.io` |
| `phpfpm.registry` | PHP-FPM image registry | `nil` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:8` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:demo` |
| `phpfpm.pullPolicy` | PHP-FPM image pull policy | `IfNotPresent` |
| `phpfpm.extraEnv` | PHP-FPM container environment variables | `nill` |
| `phpfpm.command` | PHP-FPM container entry point | from image |
Expand Down Expand Up @@ -89,17 +88,17 @@ The following table lists the configurable parameters of the drupal chart and th
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```console
$ helm install --name my-release \
$ helm install my-release \
--set replicas=2 \
./helm-chart/stable/drupal
./charts/drupal
```

The above command clones the remote git repository to the `/app/` directory of the container. Additionally it sets the number of `replicas` to `2`.

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

```console
$ helm install --name my-release -f values.yaml ./charts/drupal
$ helm install my-release -f values.yaml ./charts/drupal
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down Expand Up @@ -143,9 +142,9 @@ ingress:
- You should see a helm package named - `drupal-1.0.0.tgz`.
- Upload the `drupal-1.0.0.tgz` helm package to s3 bucket :
```
aws s3 cp drupal-1.0.0.tgz s3://s3-st-helm-dev/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
aws s3 cp drupal-1.0.0.tgz s3://s3-helm/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
```
- Upload the `values.yaml` to s3 bucket :
```
aws s3 cp values-<env>.yaml s3://s3-st-helm-dev/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
aws s3 cp values-<env>.yaml s3://s3-helm/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
```
10 changes: 2 additions & 8 deletions starterkits/drupal8-php-fpm-nginx/charts/drupal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
phpfpm:
image:
# registry: docker.io
repository: srijanlabs/drupal:8
repository: srijanlabs/drupal:demo
## tag:
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -33,7 +33,7 @@ phpfpm:
## Container Command
# args: ["/start.sh"]

## Envinronment variable to be passed to phpfpm container
## Define custom environment variables to pass to the image here
extraEnv:
# - name: key
# value: value
Expand Down Expand Up @@ -146,12 +146,6 @@ applicationKind: Deployment
##
replicas: 1

## Define custom environment variables to pass to the image here
##
# extraEnv:
# - name: DRUPAL_HOST
# value: http://drupal-dev

## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
Expand Down
19 changes: 9 additions & 10 deletions starterkits/drupal9-php-fpm-apache/charts/drupal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ It deploys a drupal application. Optionally, you can set up an Ingress resource
- Kubernetes 1.12+
- Helm 2.11+ or Helm 3.0-beta3+

## Installing the Chart
## Installing the Chart (Helm3)

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

```console
$ git clone https://github.com/srijanone/helm-chart
$ helm install --name my-release ./helm-chart/stable/drupal
$ helm install my-release ./charts/drupal
```

These commands deploy drupal on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation. Also includes support for MariaDB chart out of the box.
Expand All @@ -31,7 +30,7 @@ Due that the Helm Chart clones the application on the /app volume while the cont
To uninstall/delete the `my-release` deployment:

```console
$ helm delete my-release
$ helm uninstall my-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -44,7 +43,7 @@ The following table lists the configurable parameters of the drupal chart and th
| --------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------- |
| `global.imageRegistry` | Global Docker image registry | `docker.io` |
| `phpfpm.registry` | PHP-FPM image registry | `nil` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:8` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:demo` |
| `phpfpm.pullPolicy` | PHP-FPM image pull policy | `IfNotPresent` |
| `phpfpm.extraEnv` | PHP-FPM container environment variables | `nill` |
| `phpfpm.command` | PHP-FPM container entry point | from image |
Expand Down Expand Up @@ -89,17 +88,17 @@ The following table lists the configurable parameters of the drupal chart and th
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```console
$ helm install --name my-release \
$ helm install my-release \
--set replicas=2 \
./helm-chart/stable/drupal
./charts/drupal
```

The above command clones the remote git repository to the `/app/` directory of the container. Additionally it sets the number of `replicas` to `2`.

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

```console
$ helm install --name my-release -f values.yaml ./charts/drupal
$ helm install my-release -f values.yaml ./charts/drupal
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down Expand Up @@ -143,9 +142,9 @@ ingress:
- You should see a helm package named - `drupal-1.0.0.tgz`.
- Upload the `drupal-1.0.0.tgz` helm package to s3 bucket :
```
aws s3 cp drupal-1.0.0.tgz s3://s3-st-helm-dev/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
aws s3 cp drupal-1.0.0.tgz s3://s3-helm/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
```
- Upload the `values.yaml` to s3 bucket :
```
aws s3 cp values-<env>.yaml s3://s3-st-helm-dev/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
aws s3 cp values-<env>.yaml s3://s3-helm/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
```
10 changes: 2 additions & 8 deletions starterkits/drupal9-php-fpm-apache/charts/drupal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
phpfpm:
image:
# registry: docker.io
repository: srijanlabs/drupal:8
repository: srijanlabs/drupal:demo
## tag:
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -33,7 +33,7 @@ phpfpm:
## Container Command
# args: ["/start.sh"]

## Envinronment variable to be passed to phpfpm container
## Define custom environment variables to pass to the image here
extraEnv:
# - name: key
# value: value
Expand Down Expand Up @@ -146,12 +146,6 @@ applicationKind: Deployment
##
replicas: 1

## Define custom environment variables to pass to the image here
##
# extraEnv:
# - name: DRUPAL_HOST
# value: http://drupal-dev

## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
Expand Down
19 changes: 9 additions & 10 deletions starterkits/drupal9-php-fpm-nginx/charts/drupal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ It deploys a drupal application. Optionally, you can set up an Ingress resource
- Kubernetes 1.12+
- Helm 2.11+ or Helm 3.0-beta3+

## Installing the Chart
## Installing the Chart (Helm3)

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

```console
$ git clone https://github.com/srijanone/helm-chart
$ helm install --name my-release ./helm-chart/stable/drupal
$ helm install my-release ./charts/drupal
```

These commands deploy drupal on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation. Also includes support for MariaDB chart out of the box.
Expand All @@ -31,7 +30,7 @@ Due that the Helm Chart clones the application on the /app volume while the cont
To uninstall/delete the `my-release` deployment:

```console
$ helm delete my-release
$ helm uninstall my-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -44,7 +43,7 @@ The following table lists the configurable parameters of the drupal chart and th
| --------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------- |
| `global.imageRegistry` | Global Docker image registry | `docker.io` |
| `phpfpm.registry` | PHP-FPM image registry | `nil` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:8` |
| `phpfpm.repository` | PHP-FPM image name | `drupal:demo` |
| `phpfpm.pullPolicy` | PHP-FPM image pull policy | `IfNotPresent` |
| `phpfpm.extraEnv` | PHP-FPM container environment variables | `nill` |
| `phpfpm.command` | PHP-FPM container entry point | from image |
Expand Down Expand Up @@ -89,17 +88,17 @@ The following table lists the configurable parameters of the drupal chart and th
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```console
$ helm install --name my-release \
$ helm install my-release \
--set replicas=2 \
./helm-chart/stable/drupal
./charts/drupal
```

The above command clones the remote git repository to the `/app/` directory of the container. Additionally it sets the number of `replicas` to `2`.

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

```console
$ helm install --name my-release -f values.yaml ./charts/drupal
$ helm install my-release -f values.yaml ./charts/drupal
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down Expand Up @@ -143,9 +142,9 @@ ingress:
- You should see a helm package named - `drupal-1.0.0.tgz`.
- Upload the `drupal-1.0.0.tgz` helm package to s3 bucket :
```
aws s3 cp drupal-1.0.0.tgz s3://s3-st-helm-dev/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
aws s3 cp drupal-1.0.0.tgz s3://s3-helm/drupal/drupal-1.0.0.tgz --sse=AES256 --region=ap-southeast-1
```
- Upload the `values.yaml` to s3 bucket :
```
aws s3 cp values-<env>.yaml s3://s3-st-helm-dev/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
aws s3 cp values-<env>.yaml s3://s3-helm/drupal/values/st-<env>-values.yaml --sse=AES256 --region=ap-southeast-1
```
10 changes: 2 additions & 8 deletions starterkits/drupal9-php-fpm-nginx/charts/drupal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
phpfpm:
image:
# registry: docker.io
repository: srijanlabs/drupal:8
repository: srijanlabs/drupal:demo
## tag:
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -33,7 +33,7 @@ phpfpm:
## Container Command
# args: ["/start.sh"]

## Envinronment variable to be passed to phpfpm container
## Define custom environment variables to pass to the image here
extraEnv:
# - name: key
# value: value
Expand Down Expand Up @@ -146,12 +146,6 @@ applicationKind: Deployment
##
replicas: 1

## Define custom environment variables to pass to the image here
##
# extraEnv:
# - name: DRUPAL_HOST
# value: http://drupal-dev

## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
Expand Down

0 comments on commit 5035ff2

Please sign in to comment.