feat: move helmchart to this repo#750
Open
RuTHlessBEat200 wants to merge 2 commits into
Open
Conversation
|
Are you open to adding gateway api/httproute support? {{- if .Values.route.enabled }}
{{- $root := . }}
apiVersion: {{ .Values.route.group }}/{{ .Values.route.version }}
kind: {{ .Values.route.kind }}
metadata:
name: {{ include "patchmon.fullname" . }}-route
namespace: {{ .Release.Namespace }}
{{- with .Values.route.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- with .Values.route.hostnames }}
hostnames:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.route.parentRefs }}
parentRefs:
{{- toYaml . | nindent 4 }}
{{- end }}
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: {{ include "patchmon.fullname" $root }}-server
kind: Service
namespace: {{ $root.Release.Namespace }}
port: {{ $root.Values.server.service.port }}
weight: {{ $root.Values.route.weight | default 100 }}
{{- end }}
...
route:
enabled: false
kind: HTTPRoute
group: gateway.networking.k8s.io
version: v1
annotations: []
hostnames:
- patchmon.example.com
parentRefs:
- name: gateway
kind: Gateway
namespace: kube-system
sectionName: websecure
...It could be adjusted to support cases where someone wants to host it from |
Contributor
Author
|
@tylerobara I'll add that tomorrow. I originally intended to do it today, but I haven't gotten around to it yet |
198ecee to
a2c8cfb
Compare
Contributor
Author
|
@tylerobara Your suggestion has been added |
740822f to
aa4e6d7
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Helm chart https://github.com/RuTHlessBEat200/PatchMon-helm has been added to the repo
Please check the workflow
The chart version and server image tag are automatically set to the tag via CI/CD