diff --git a/UPGRADE.md b/UPGRADE.md index fca79ba..3340929 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -10,6 +10,11 @@ 2. Run `composer update shopsys/deployment` 3. Check files in mentioned pull requests and if you have any of them extended in your project, apply changes manually +## Upgrade from v3.2.7 to v3.2.9 + +- Added routes to Nginx ([Commit](https://github.com/shopsys/deployment/commit/5b378a3ee1131fed8ac2821158f03f667db19dcb)) +- `RunAsUser` was removed from Kubernetes manifests ([#30](https://github.com/shopsys/deployment/pull/30)) + ## Upgrade from v3.2.6 to v3.2.7 - upgraded PHP-FPM and Nginx configuration ([#29](https://github.com/shopsys/deployment/pull/29)) diff --git a/kubernetes/deployments/webserver-php-fpm.yaml b/kubernetes/deployments/webserver-php-fpm.yaml index 804a313..1a683e8 100644 --- a/kubernetes/deployments/webserver-php-fpm.yaml +++ b/kubernetes/deployments/webserver-php-fpm.yaml @@ -71,8 +71,6 @@ spec: initContainers: - name: copy-source-codes-to-volume image: "{{TAG}}" - securityContext: - runAsUser: 33 command: ["sh", "-c", "cp -r -n /var/www/html/. /tmp/source-codes"] volumeMounts: - name: source-codes @@ -83,8 +81,6 @@ spec: containers: - image: "{{TAG}}" name: php-fpm - securityContext: - runAsUser: 33 imagePullPolicy: Always workingDir: /var/www/html lifecycle: diff --git a/kubernetes/kustomize/migrate-application/continuous-deploy/migrate-application.yaml b/kubernetes/kustomize/migrate-application/continuous-deploy/migrate-application.yaml index 2ce9d1a..88e1160 100644 --- a/kubernetes/kustomize/migrate-application/continuous-deploy/migrate-application.yaml +++ b/kubernetes/kustomize/migrate-application/continuous-deploy/migrate-application.yaml @@ -13,8 +13,6 @@ spec: - name: migrate-application image: "{{TAG}}" command: ["sh", "-c", "cd /var/www/html && ./phing -verbose db-migrations-count-with-maintenance build-deploy-part-2-db-dependent"] - securityContext: - runAsUser: 33 volumeMounts: - name: domains-urls mountPath: /var/www/html/{{DOMAINS_URLS_FILEPATH}} diff --git a/kubernetes/kustomize/migrate-application/first-deploy-with-demo-data/migrate-application.yaml b/kubernetes/kustomize/migrate-application/first-deploy-with-demo-data/migrate-application.yaml index 9ab0f84..3f89e3c 100644 --- a/kubernetes/kustomize/migrate-application/first-deploy-with-demo-data/migrate-application.yaml +++ b/kubernetes/kustomize/migrate-application/first-deploy-with-demo-data/migrate-application.yaml @@ -23,8 +23,6 @@ spec: friendly-urls-generate domains-urls-replace elasticsearch-export - securityContext: - runAsUser: 33 volumeMounts: - name: domains-urls mountPath: /var/www/html/{{DOMAINS_URLS_FILEPATH}} diff --git a/kubernetes/kustomize/migrate-application/first-deploy/migrate-application.yaml b/kubernetes/kustomize/migrate-application/first-deploy/migrate-application.yaml index 90d6477..0d45947 100644 --- a/kubernetes/kustomize/migrate-application/first-deploy/migrate-application.yaml +++ b/kubernetes/kustomize/migrate-application/first-deploy/migrate-application.yaml @@ -13,8 +13,6 @@ spec: - name: migrate-application image: "{{TAG}}" command: ["sh", "-c", "cd /var/www/html && ./phing cluster-first-deploy"] - securityContext: - runAsUser: 33 volumeMounts: - name: domains-urls mountPath: /var/www/html/{{DOMAINS_URLS_FILEPATH}} diff --git a/kubernetes/manifest-templates/consumer.template.yaml b/kubernetes/manifest-templates/consumer.template.yaml index d3a681a..b59d967 100644 --- a/kubernetes/manifest-templates/consumer.template.yaml +++ b/kubernetes/manifest-templates/consumer.template.yaml @@ -32,8 +32,6 @@ spec: containers: - image: "{{TAG}}" name: consumer-{{NAME}} - securityContext: - runAsUser: 33 imagePullPolicy: Always workingDir: /var/www/html command: