Compare commits
7 Commits
fix_statef
...
4d6bd42402
Author | SHA1 | Date | |
---|---|---|---|
4d6bd42402 | |||
770ad32c08 | |||
b74e67f3ca | |||
|
9bd4849df7 | ||
6885f46027 | |||
|
0d9a47f208 | ||
e211d43dc7 |
@@ -12,6 +12,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
name: Check out code
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@v4.2.0
|
||||
with:
|
||||
version: v3.14.4
|
||||
|
||||
- name: Get package name
|
||||
id: chart_name
|
||||
uses: mikefarah/yq@master
|
||||
@@ -27,11 +32,12 @@ jobs:
|
||||
- name: build helm package
|
||||
shell: bash
|
||||
env:
|
||||
PACKAGE_TOKEN: ${{ secrets.REPO_HOST }}
|
||||
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
CHART_NAME: ${{ steps.chart_name.outputs.result }}
|
||||
CHART_VERSION: ${{ steps.chart_version.outputs.result }}
|
||||
run: |
|
||||
REPO_PATH=$(git rev-parse --show-toplevel)
|
||||
mkdir /tmp/build
|
||||
cd /tmp/build
|
||||
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file $CHART_NAME-$CHART_VERSION.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts
|
||||
helm package $REPO_PATH
|
||||
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts
|
||||
|
@@ -3,7 +3,7 @@ apiVersion: v2
|
||||
name: lib
|
||||
description: Common functions for my helm charts at home
|
||||
type: library
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
kubeVersion: ">=1.27.0"
|
||||
home: git.rre.nu
|
||||
sources:
|
||||
|
@@ -36,6 +36,10 @@ spec:
|
||||
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
{{- include "lib.parts.container" . | nindent 8 -}}
|
||||
{{- with .Values.volumes }}
|
||||
volumes:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
Reference in New Issue
Block a user