This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: Update images for conductor, composer (#114) fix(just): just commands didn't work after chart reorg (#113) init lint, set base maintainer (#111) fix ingress host tpl (#112) set entire ingress spec to configurable var (#109)
- Loading branch information
Showing
59 changed files
with
532 additions
and
88 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Lint and Test Charts | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.12.1 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
check-latest: true | ||
|
||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@v2.4.0 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
if [[ -n "$changed" ]]; then | ||
echo "changed=true" >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Run chart-testing (lint) | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct lint --target-branch ${{ github.event.repository.default_branch }} |
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,5 +43,3 @@ ports: | |
celestiaTokenService: 5353 | ||
bridgeRPC: 26658 | ||
bridgeHTTP: 26659 | ||
|
||
|
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{/* | ||
Return if ingress is stable. | ||
*/}} | ||
{{- define "rollup.ingress.isStable" -}} | ||
{{- eq (include "rollup.ingress.apiVersion" .) "networking.k8s.io/v1" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Return if ingress supports ingressClassName. | ||
*/}} | ||
{{- define "rollup.ingress.supportsIngressClassName" -}} | ||
{{- or (eq (include "rollup.ingress.isStable" .) "true") (and (eq (include "rollup.ingress.apiVersion" .) "networking.k8s.io/v1beta1") (semverCompare ">= 1.18-0" .Capabilities.KubeVersion.Version)) }} | ||
{{- end }} | ||
|
||
{{/* | ||
Return if ingress supports pathType. | ||
*/}} | ||
{{- define "rollup.ingress.supportsPathType" -}} | ||
{{- or (eq (include "rollup.ingress.isStable" .) "true") (and (eq (include "rollup.ingress.apiVersion" .) "networking.k8s.io/v1beta1") (semverCompare ">= 1.18-0" .Capabilities.KubeVersion.Version)) }} | ||
{{- end }} | ||
|
||
Return the appropriate apiVersion for ingress. | ||
*/}} | ||
{{- define "rollup.ingress.apiVersion" -}} | ||
{{- if and ($.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= 1.19-0" .Capabilities.KubeVersion.Version) }} | ||
{{- print "networking.k8s.io/v1" }} | ||
{{- else if $.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }} | ||
{{- print "networking.k8s.io/v1beta1" }} | ||
{{- else }} | ||
{{- print "extensions/v1beta1" }} | ||
{{- end }} | ||
{{- end }} |
This file contains 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
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{/* | ||
Return if ingress is stable. | ||
*/}} | ||
{{- define "sequencer.ingress.isStable" -}} | ||
{{- eq (include "sequencer.ingress.apiVersion" .) "networking.k8s.io/v1" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Return if ingress supports ingressClassName. | ||
*/}} | ||
{{- define "sequencer.ingress.supportsIngressClassName" -}} | ||
{{- or (eq (include "sequencer.ingress.isStable" .) "true") (and (eq (include "sequencer.ingress.apiVersion" .) "networking.k8s.io/v1beta1") (semverCompare ">= 1.18-0" .Capabilities.KubeVersion.Version)) }} | ||
{{- end }} | ||
|
||
{{/* | ||
Return if ingress supports pathType. | ||
*/}} | ||
{{- define "sequencer.ingress.supportsPathType" -}} | ||
{{- or (eq (include "sequencer.ingress.isStable" .) "true") (and (eq (include "sequencer.ingress.apiVersion" .) "networking.k8s.io/v1beta1") (semverCompare ">= 1.18-0" .Capabilities.KubeVersion.Version)) }} | ||
{{- end }} | ||
|
||
Return the appropriate apiVersion for ingress. | ||
*/}} | ||
{{- define "sequencer.ingress.apiVersion" -}} | ||
{{- if and ($.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= 1.19-0" .Capabilities.KubeVersion.Version) }} | ||
{{- print "networking.k8s.io/v1" }} | ||
{{- else if $.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }} | ||
{{- print "networking.k8s.io/v1beta1" }} | ||
{{- else }} | ||
{{- print "extensions/v1beta1" }} | ||
{{- end }} | ||
{{- end }} |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.