Skip to content

Commit

Permalink
Merge pull request #36 from curie-data-factory/gitlabmonitor
Browse files Browse the repository at this point in the history
bump to be k8s v1.22+ compliant
  • Loading branch information
armandleopold authored Mar 21, 2022
2 parents b15fe37 + efe8210 commit af9c12b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/gitlabmonitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: gitlab-monitor
description: A web-based monitor dashboard for GitLab CI
appVersion: "1.7"
version: 1.2.10
version: 1.3.0
home: https://github.com/timoschwarzer/gitlab-monitor
icon: https://i.ibb.co/vVys3Yt/logo.png
sources:
Expand All @@ -19,4 +19,4 @@ keywords:
annotations:
artifacthub.io/images: |
- name: gitlab-monitor
image: timoschwarzer/gitlab-monitor:latest
image: ghcr.io/timoschwarzer/gitlab-monitor:latest
9 changes: 6 additions & 3 deletions charts/gitlabmonitor/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $serviceName := print .Release.Name "-" .Values.image.name }}
{{- $servicePort := print .Values.service.targetPort .Values.service.protocol | lower -}}

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Values.image.name }}
Expand All @@ -26,8 +26,11 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
service:
name: {{ $serviceName }}
port:
name: {{ $servicePort }}
{{- end }}
{{- end -}}
2 changes: 1 addition & 1 deletion charts/gitlabmonitor/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
replicaCount: 1
pullPolicy: IfNotPresent
repository: timoschwarzer/gitlab-monitor
repository: ghcr.io/timoschwarzer/gitlab-monitor
name: gitlabmonitor
tag: "latest"
deployRegistry: false
Expand Down

0 comments on commit af9c12b

Please sign in to comment.