Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/httpbingo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: httpbingo
description: A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.
type: application
version: 0.1.1
version: 0.2.0
appVersion: "v2.2.2"
home: https://github.com/estahn/charts/tree/main/charts/httpbingo
keywords:
Expand All @@ -13,7 +13,7 @@ maintainers:
name: estahn
annotations:
artifacthub.io/changes: |
- "Update README.md"
- "feat: prefix for deploying in subpath"
artifacthub.io/images: |
- name: go-httpbin
image: mccutchen/go-httpbin:v2.2.2
5 changes: 3 additions & 2 deletions charts/httpbingo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# httpbingo

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.2.2](https://img.shields.io/badge/AppVersion-v2.2.2-informational?style=flat-square)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.2.2](https://img.shields.io/badge/AppVersion-v2.2.2-informational?style=flat-square)

A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.

Expand All @@ -17,6 +17,7 @@ A reasonably complete and well-tested golang port of httpbin, with zero dependen
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| appConfig.prefix | string | `"/"` | |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
Expand Down Expand Up @@ -48,4 +49,4 @@ A reasonably complete and well-tested golang port of httpbin, with zero dependen
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
11 changes: 9 additions & 2 deletions charts/httpbingo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,25 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{- if ne .Values.appConfig.prefix "/" }}
- name: PREFIX
value: {{ .Values.appConfig.prefix }}
{{- end }}
ports:
- name: http
containerPort: 8080
protocol: TCP
livenessProbe:
httpGet:
path: /
path: {{ .Values.appConfig.prefix }}{{ if ne .Values.appConfig.prefix "/" }}/{{ end }}
port: http
readinessProbe:
httpGet:
path: /
path: {{ .Values.appConfig.prefix }}{{ if ne .Values.appConfig.prefix "/" }}/{{ end }}
port: http
{{- if false }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
3 changes: 3 additions & 0 deletions charts/httpbingo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

appConfig:
prefix: /

service:
type: ClusterIP
port: 80
Expand Down
Loading