Skip to content
Merged
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
10 changes: 8 additions & 2 deletions .github/workflows/release-pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,23 @@ jobs:
echo APP_VERSION:${{steps.app_version.outputs.tag}}
echo CHART_VERSION:${{steps.chart_version.outputs.tag}}

- name: Replace Version in Chart.yaml
- name: Replace CHART_VERSION in chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ steps.chart_version.outputs.tag }}/g' ./chart/Chart.yaml

- name: Replace CHART_VERSION in crd-chart/Chart.yaml
run: sed -i 's/CHART_VERSION/${{ steps.chart_version.outputs.tag }}/g' ./crd-chart/Chart.yaml

- name: Print latest App Version
run: echo ${{ steps.app_version.outputs.tag }}

- name: Replace App Version in Chart.yaml
- name: Replace APP_VERSION in Chart.yaml
run: sed -i 's/APP_VERSION/${{ steps.app_version.outputs.tag }}/g' ./chart/Chart.yaml

- name: Set up Helm
uses: azure/setup-helm@v4.1.0

- name: Helm Dependency Update
run: helm dependency update ./chart

- name: Helm lint
run: helm lint ./chart
4 changes: 0 additions & 4 deletions chart/.helmignore

This file was deleted.

29 changes: 28 additions & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,35 @@
apiVersion: v2
name: git-provider
description: Krateo PlatformOps Git Provider

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
icon: "https://github.com/projectkerberus/kerberus-dashboard/blob/main/docs/media/square_black_logo.png"

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: CHART_VERSION

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: APP_VERSION

home: https://krateo.io
icon: "https://github.com/krateoplatformops/krateo/blob/main/docs/media/logo.svg"

sources:
- https://github.com/krateoplatformops/git-provider-chart

dependencies:
- name: git-provider-crd
version: CHART_VERSION
repository: file://../crd-chart
25 changes: 0 additions & 25 deletions chart/samples/claim.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions chart/samples/issue-1-branch-ignored.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions chart/samples/issue-refs-not-found.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions chart/samples/repo-gitcookies.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions chart/samples/repo.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions chart/samples/template-microservice.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions chart/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
labels:
{{- include "git-provider.labels" . | nindent 4 }}
data:
GIT_PROVIDER_DEBUG: "{{ .Values.env.GIT_PROVIDER_DEBUG }}"
GIT_PROVIDER_POLL_INTERVAL: "{{ .Values.env.GIT_PROVIDER_POLL_INTERVAL }}"
GIT_PROVIDER_SERVICE_PORT_HACK: "{{ .Values.env.GIT_PROVIDER_SERVICE_PORT_HACK }}"
{{- range $key, $value := .Values.env }}
{{ $key }}: {{ $value | quote }}
{{- end }}
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,4 @@ env:
GIT_PROVIDER_DEBUG: "false"
GIT_PROVIDER_POLL_INTERVAL: "3m"
GIT_PROVIDER_SERVICE_PORT_HACK: "false"
HOME: "/tmp"
24 changes: 24 additions & 0 deletions crd-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2
name: git-provider-crd
description: Krateo PlatformOps Git Provider CRDs

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: CHART_VERSION

home: https://krateo.io
icon: "https://github.com/krateoplatformops/krateo/blob/main/docs/media/logo.svg"

sources:
- https://github.com/krateoplatformops/git-provider-chart
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,4 @@ spec:
served: true
storage: true
subresources:
status: {}
status: {}
3 changes: 3 additions & 0 deletions crd-chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Default values for crd-chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.