Skip to content

Commit

Permalink
fix: Make it working in k3d
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Aug 9, 2024
1 parent 1a46936 commit 906b549
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions helm/gorge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: GORGE_MODULESDIR
value: /modules
args:
- serve
- --modulesdir=/modules
- --bind=0.0.0.0
- --port=8080
- --fallback-proxy=https://forge.puppetlabs.com
- --import-proxied-releases
- --modules-scan-sec=2
ports:
- name: http
containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion helm/gorge/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.persitence.size }}
storage: {{ .Values.persistence.size }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/gorge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ resources:
# - type: "null"
# @schema
# -- Maximum cpu
cpu:
cpu: 1
# @schema
# type: "string"
# pattern: ^\d+[MTPG]i$
Expand Down

0 comments on commit 906b549

Please sign in to comment.