mirror of
https://github.com/ysoftdevs/imagepullsecret-injector.git
synced 2026-01-16 16:47:04 +01:00
Compare commits
5 Commits
main
...
release/le
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
073514be65 | ||
|
|
0189cb74e5 | ||
|
|
a678d5f149 | ||
|
|
b35f219c4b | ||
|
|
f023dc9264 |
5
.github/workflows/release-chart.yaml
vendored
5
.github/workflows/release-chart.yaml
vendored
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- release/legacy-csr
|
||||||
paths:
|
paths:
|
||||||
- 'charts/**'
|
- 'charts/**'
|
||||||
|
|
||||||
@@ -13,8 +14,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
with:
|
|
||||||
ref: main
|
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
@@ -47,6 +46,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
if: steps.helm_version_checker.outcome == 'success'
|
if: steps.helm_version_checker.outcome == 'success'
|
||||||
uses: helm/chart-releaser-action@master
|
uses: helm/chart-releaser-action@v1.2.1
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
@@ -2,22 +2,6 @@ apiVersion: v2
|
|||||||
name: imagepullsecret-injector
|
name: imagepullsecret-injector
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
|
|
||||||
# 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
|
type: application
|
||||||
|
version: 0.0.20-legacy
|
||||||
# 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: 0.0.20
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
appVersion: 0.0.11
|
appVersion: 0.0.11
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ kubectl delete csr ${csrName} 2>/dev/null || true
|
|||||||
echo "Creating new CertificateSigningRequests"
|
echo "Creating new CertificateSigningRequests"
|
||||||
# create server cert/key CSR and send to k8s API
|
# create server cert/key CSR and send to k8s API
|
||||||
cat <<EOF | kubectl create -f -
|
cat <<EOF | kubectl create -f -
|
||||||
apiVersion: certificates.k8s.io/v1
|
apiVersion: certificates.k8s.io/v1beta1
|
||||||
kind: CertificateSigningRequest
|
kind: CertificateSigningRequest
|
||||||
metadata:
|
metadata:
|
||||||
name: ${csrName}
|
name: ${csrName}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ imagepullsecretInjector:
|
|||||||
dockerconfigjsonRef:
|
dockerconfigjsonRef:
|
||||||
secretName: acr-dockerconfigjson-source
|
secretName: acr-dockerconfigjson-source
|
||||||
secretNamespace: ""
|
secretNamespace: ""
|
||||||
|
|
||||||
targetSecretName: acr-dockerconfigjson
|
targetSecretName: acr-dockerconfigjson
|
||||||
ignoreSecretCreationError: false
|
ignoreSecretCreationError: false
|
||||||
allSaNames: false
|
allSaNames: false
|
||||||
|
|||||||
Reference in New Issue
Block a user