Skip to content

Commit 1e02de5

Browse files
committed
Merge 2.5 into 2.6
2 parents 3339e29 + 352a8f0 commit 1e02de5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deployment/kubernetes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ docker build -t gcr.io/test-api-platform/pwa:0.1.0 -t gcr.io/test-api-platform/p
4646

4747
#### 2. Push your images to your Docker registry
4848

49-
```
49+
```console
5050
gcloud auth configure-docker
5151
docker push gcr.io/test-api-platform/php
5252
docker push gcr.io/test-api-platform/caddy
@@ -168,6 +168,9 @@ You can upgrade with the same command from the installation and pass all paramet
168168
Infos about [best practices for tagging images for kubernetes](https://kubernetes.io/docs/concepts/containers/images/)
169169
You have to use the *.image.pullPolicy=Always see the last 3 parameters.
170170

171+
```console
172+
PHP_POD=$(kubectl --namespace=bar get pods -l app=php -o jsonpath="{.items[0].metadata.name}")
173+
kubectl --namespace=bar exec -it $PHP_POD -- bin/console doctrine:schema:create
171174
```
172175
helm upgrade api-platform ./helm/api-platform --namespace=default \
173176
--set "php.image.repository=gcr.io/test-api-platform/php" \

0 commit comments

Comments
 (0)