This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: sf-deployment | |
labels: | |
id: sf-deployment | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ksync init | |
ksync watch -d | |
ksync create --selector=id=sf -c php $(pwd)/symfony /var/www/symfony | |
ksync create --selector=id=sf -c nginx $(pwd)/symfony/public /var/www/symfony/public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: tiller | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: tiller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: sf-deployment | |
labels: | |
id: sf-deployment | |
annotations: | |
environment: {{ .Values.environment }} | |
spec: | |
replicas: {{ .Values.replicas }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: sf-service | |
spec: | |
ports: | |
- name: "80" | |
port: 80 | |
targetPort: 80 | |
selector: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: sf-deployment-{{ .Chart.Version }} | |
labels: | |
id: sf-deployment-{{ .Chart.Version }} | |
annotations: | |
environment: {{ .Values.environment }} | |
spec: | |
replicas: {{ .Values.replicas }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: sf-deployment-{{ .Chart.Version }} | |
labels: | |
id: sf-deployment-{{ .Chart.Version }} | |
annotations: | |
environment: {{ .Values.environment }} | |
spec: | |
replicas: {{ .Values.replicas }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: {{ template "deployment.id" . }} | |
labels: | |
id: {{ template "deployment.id" . }} | |
annotations: | |
environment: {{ .Values.environment }} | |
spec: | |
replicas: {{ .Values.replicas }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.3.3-fpm-alpine3.9 | |
LABEL maintainer="Kim Wuestkamp <[email protected]>" | |
RUN apk add --update \ | |
php7-fpm \ | |
php7-apcu \ | |
php7-ctype \ | |
php7-curl \ | |
php7-dom \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.3.3-fpm-alpine3.9 | |
LABEL maintainer="Kim Wuestkamp <[email protected]>" | |
RUN apk add --update \ | |
php7-fpm \ | |
php7-apcu \ | |
php7-ctype \ | |
php7-curl \ | |
php7-dom \ |