diff --git a/bitnami/php-fpm/5.6/docker-compose.yml b/bitnami/php-fpm/5.6/docker-compose.yml index b7b7651257a9..7788e810ddfd 100644 --- a/bitnami/php-fpm/5.6/docker-compose.yml +++ b/bitnami/php-fpm/5.6/docker-compose.yml @@ -3,7 +3,9 @@ version: '2' services: php: tty: true # Enables debugging capabilities when attached to this container. - image: bitnami/php-fpm:5.6 + image: 'bitnami/php-fpm:5.6' + labels: + kompose.service.type: nodeport ports: - 9000:9000 volumes: diff --git a/bitnami/php-fpm/7.0/docker-compose.yml b/bitnami/php-fpm/7.0/docker-compose.yml index 3965a653db73..6f18c9ce7233 100644 --- a/bitnami/php-fpm/7.0/docker-compose.yml +++ b/bitnami/php-fpm/7.0/docker-compose.yml @@ -3,7 +3,9 @@ version: '2' services: php: tty: true # Enables debugging capabilities when attached to this container. - image: bitnami/php-fpm:7.0 + image: 'bitnami/php-fpm:7.0' + labels: + kompose.service.type: nodeport ports: - 9000:9000 volumes: diff --git a/bitnami/php-fpm/7.1/docker-compose.yml b/bitnami/php-fpm/7.1/docker-compose.yml index 1461d8a94fe1..796fe1d4f65c 100644 --- a/bitnami/php-fpm/7.1/docker-compose.yml +++ b/bitnami/php-fpm/7.1/docker-compose.yml @@ -3,7 +3,9 @@ version: '2' services: php: tty: true # Enables debugging capabilities when attached to this container. - image: bitnami/php-fpm:7.1 + image: 'bitnami/php-fpm:7.1' + labels: + kompose.service.type: nodeport ports: - 9000:9000 volumes: diff --git a/bitnami/php-fpm/docker-compose.yml b/bitnami/php-fpm/docker-compose.yml index 47c195ee9811..9a020ed00270 100644 --- a/bitnami/php-fpm/docker-compose.yml +++ b/bitnami/php-fpm/docker-compose.yml @@ -3,7 +3,9 @@ version: '2' services: php: tty: true # Enables debugging capabilities when attached to this container. - image: bitnami/php-fpm:latest + image: 'bitnami/php-fpm:latest' + labels: + kompose.service.type: nodeport ports: - 9000:9000 volumes: diff --git a/bitnami/php-fpm/kubernetes.yml b/bitnami/php-fpm/kubernetes.yml index 86b9843d5754..3483cf83bb67 100644 --- a/bitnami/php-fpm/kubernetes.yml +++ b/bitnami/php-fpm/kubernetes.yml @@ -3,6 +3,8 @@ items: - apiVersion: v1 kind: Service metadata: + annotations: + kompose.service.type: nodeport creationTimestamp: null labels: io.kompose.service: php @@ -14,11 +16,14 @@ items: targetPort: 9000 selector: io.kompose.service: php + type: NodePort status: loadBalancer: {} - apiVersion: extensions/v1beta1 kind: Deployment metadata: + annotations: + kompose.service.type: nodeport creationTimestamp: null name: php spec: