diff --git a/php/Chart.yaml b/php/Chart.yaml index 1daa29ed..1736009b 100644 --- a/php/Chart.yaml +++ b/php/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.4.2 +version: 1.4.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/php/README.md b/php/README.md index 8412b355..bd1e52f7 100644 --- a/php/README.md +++ b/php/README.md @@ -96,6 +96,8 @@ The following table lists the configurable parameters of the PHP chart and their | `serviceAccount.labels` | Labels for the created service account | `{}` | | `serviceAccount.name` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | `` | | `test.enabled` | Enables helm test | `true` | +| `test.image` | Image used for helm test pod | `curlimages/curl` | +| `test.tag` | Tag for helm test image | `latest` | ### Init containers @@ -276,4 +278,4 @@ $ kc logs -c php-fpm php-669bc99b68-t958q --timestamps -f 2020-02-12T06:29:41.990008076Z thrown in /var/www/html/index.php on line 1 ``` -Since the log cannot be combined into one line in the PHP setting, use [set_error_handler](https://www.php.net/manual/ja/function.set-error-handler.php) or [set_execption_handler](https://www.php.net/manual/ja/function.set-exception-handler.php) to solve the problem with the application. \ No newline at end of file +Since the log cannot be combined into one line in the PHP setting, use [set_error_handler](https://www.php.net/manual/ja/function.set-error-handler.php) or [set_execption_handler](https://www.php.net/manual/ja/function.set-exception-handler.php) to solve the problem with the application. diff --git a/php/templates/test/test-pod.yaml b/php/templates/test/test-pod.yaml index 7f97cef7..4a6cc40a 100644 --- a/php/templates/test/test-pod.yaml +++ b/php/templates/test/test-pod.yaml @@ -11,7 +11,7 @@ metadata: spec: containers: - name: {{ template "php.fullname" . }}-test - image: appropriate/curl + image: "{{ default "curlimages/curl" .Values.test.image }}:{{ default "latest" .Values.test.tag }}" command: - /bin/sh - -c @@ -24,4 +24,4 @@ spec: {{- toYaml . | nindent 4}} {{- end }} restartPolicy: Never -{{- end }} \ No newline at end of file +{{- end }} diff --git a/php/values.yaml b/php/values.yaml index 6c672c51..50f02b43 100644 --- a/php/values.yaml +++ b/php/values.yaml @@ -464,6 +464,8 @@ fpm: # TEST test: enabled: true + image: curlimages/curl + tag: latest # Rollout configurations rollout: