Skip to content

Commit

Permalink
Refactor laravel-api container
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Muir committed Jan 19, 2023
1 parent 4f2ed4b commit da965df
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 97 deletions.
2 changes: 1 addition & 1 deletion charts/laravel/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: laravel
description: A generated Helm Chart for docker-compose from Skippbox Kompose
version: 0.0.1
version: 0.0.2
apiVersion: v1
keywords:
- laravel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
io.kompose.service: laravel-test
name: laravel-test
spec:
replicas: 1
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
io.kompose.service: laravel-test
Expand All @@ -23,7 +23,7 @@ spec:
creationTimestamp: null
labels:
io.kompose.network/sail: "true"
io.kompose.service: laravel-test
io.kompose.service: {{ .Release.Name }}-laravel-api
spec:
containers:
- env:
Expand All @@ -34,17 +34,10 @@ spec:
value: client_host=host.docker.internal
- name: XDEBUG_MODE
value: "off"
image: sail-8.1/app
name: laravel.test
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
name: laravel-api
ports:
- containerPort: 80
resources: {}
volumeMounts:
- mountPath: /var/www/html
name: laravel-test-claim0
restartPolicy: Always
volumes:
- name: laravel-test-claim0
persistentVolumeClaim:
claimName: laravel-test-claim0
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.26.1 (HEAD)
creationTimestamp: null
labels:
io.kompose.service: laravel-test
name: laravel.test
io.kompose.service: {{ .Release.Name }}-laravel-api
name: laravel
spec:
ports:
- name: "80"
port: 80
targetPort: 80
selector:
io.kompose.service: laravel-test
io.kompose.service: {{ .Release.Name }}-laravel-api
status:
loadBalancer: {}

This file was deleted.

This file was deleted.

54 changes: 0 additions & 54 deletions charts/laravel/templates/laravel-yarn-deployment.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions charts/laravel/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

image:
name: ghcr.io/monogramm/docker-laravel
tag: 8.1
pullPolicy: Always
pullSecrets: []

replicaCount: 1

0 comments on commit da965df

Please sign in to comment.