Merge branch 'main' into upgrade-argorollouts-1.5.0
This commit is contained in:
commit
43b7e0dbdb
4 changed files with 27 additions and 3 deletions
8
.github/configs/cr.yaml
vendored
8
.github/configs/cr.yaml
vendored
|
@ -1,2 +1,8 @@
|
||||||
## Reference: https://github.com/helm/chart-releaser
|
## Reference: https://github.com/helm/chart-releaser
|
||||||
index-path: "./index.yaml"
|
index-path: "./index.yaml"
|
||||||
|
|
||||||
|
# PGP signing
|
||||||
|
sign: true
|
||||||
|
key: Argo Helm maintainers
|
||||||
|
# keyring: # Set via env variable CR_KEYRING
|
||||||
|
# passphrase-file: # Set via env variable CR_PASSPHRASE_FILE
|
||||||
|
|
16
.github/workflows/publish.yml
vendored
16
.github/workflows/publish.yml
vendored
|
@ -38,6 +38,22 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git checkout origin/gh-pages index.yaml
|
git checkout origin/gh-pages index.yaml
|
||||||
|
|
||||||
|
# The GitHub repository secret `PGP_PRIVATE_KEY` contains the private key
|
||||||
|
# in ASCII-armored format. To export a (new) key, run this command:
|
||||||
|
# `gpg --armor --export-secret-key <my key>`
|
||||||
|
- name: Prepare PGP key
|
||||||
|
run: |
|
||||||
|
IFS=""
|
||||||
|
echo "$PGP_PRIVATE_KEY" | gpg --dearmor > $HOME/secring.gpg
|
||||||
|
echo "$PGP_PASSPHRASE" > $HOME/passphrase.txt
|
||||||
|
|
||||||
|
# Tell chart-releaser-action where to find the key and its passphrase
|
||||||
|
echo "CR_KEYRING=$HOME/secring.gpg" >> "$GITHUB_ENV"
|
||||||
|
echo "CR_PASSPHRASE_FILE=$HOME/passphrase.txt" >> "$GITHUB_ENV"
|
||||||
|
env:
|
||||||
|
PGP_PRIVATE_KEY: "${{ secrets.PGP_PRIVATE_KEY }}"
|
||||||
|
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}"
|
||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0
|
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -3,7 +3,7 @@ appVersion: v3.4.7
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.26.3
|
version: 0.26.4
|
||||||
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -14,4 +14,4 @@ maintainers:
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: fixed
|
||||||
description: Fix Helm chart to correctly reference Kubernetes version in conditional check for HPA apiVersion
|
description: Create clusterWorkflowTemplates CRD only when enabled in Helm values.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{- if .Values.crds.install }}
|
{{- if .Values.crds.install }}
|
||||||
|
{{- if or (.Values.server.clusterWorkflowTemplates.enabled) (.Values.controller.clusterWorkflowTemplates.enabled) }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -43,3 +44,4 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue