-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chart): align crd lifecycle (#542)
Signed-off-by: Oliver Bähler <[email protected]>
- Loading branch information
1 parent
206d40f
commit aa75cee
Showing
17 changed files
with
493 additions
and
94 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
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ keywords: | |
- namespace | ||
- proxy | ||
sources: | ||
- https://capsule.clastix.io/docs/general/proxy | ||
- https://projectcapsule.dev/integrations/addons/capsule-proxy/ | ||
maintainers: | ||
- name: capsule-maintainers | ||
email: [email protected] | ||
|
@@ -31,7 +31,11 @@ annotations: | |
email: [email protected] | ||
artifacthub.io/links: | | ||
- name: Documentation | ||
url: https://capsule.clastix.io/ | ||
url: https://projectcapsule.dev/ | ||
artifacthub.io/changes: | | ||
- kind: added | ||
description: crd lifecycle | ||
- kind: refactor | ||
description: crd lifecycle (aligned with main project) | ||
- kind: refactor | ||
description: job values (global key) | ||
- kind: fix | ||
description: cert-manager values corrected (should no longer trigger job) |
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
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,14 @@ | ||
crds: | ||
install: true | ||
keep: false | ||
global: | ||
jobs: | ||
certs: | ||
nodeSelector: | ||
global-field: "global-value" | ||
jobs: | ||
certs: | ||
registry: custom-registry | ||
repository: jettech/kube-webhook-certgen | ||
pullPolicy: IfNotPresent | ||
tag: "v1.5.2" |
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,28 @@ | ||
{{/* | ||
Determine the Kubernetes version to use for jobsFullyQualifiedDockerImage tag | ||
*/}} | ||
{{- define "capsule-proxy.jobsTagKubeVersion" -}} | ||
{{- if contains "-eks-" .Capabilities.KubeVersion.GitVersion }} | ||
{{- print "v" .Capabilities.KubeVersion.Major "." (.Capabilities.KubeVersion.Minor | replace "+" "") -}} | ||
{{- else }} | ||
{{- print "v" .Capabilities.KubeVersion.Major "." .Capabilities.KubeVersion.Minor -}} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the jobs fully-qualified Docker image to use | ||
*/}} | ||
{{- define "capsule-proxy.kubectlFullyQualifiedDockerImage" -}} | ||
{{- if .Values.global.jobs.kubectl.image.tag }} | ||
{{- printf "%s/%s:%s" .Values.global.jobs.kubectl.image.registry .Values.global.jobs.kubectl.image.repository .Values.global.jobs.kubectl.image.tag -}} | ||
{{- else }} | ||
{{- printf "%s/%s:%s" .Values.global.jobs.kubectl.image.registry .Values.global.jobs.kubectl.image.repository (include "capsule-proxy.jobsTagKubeVersion" .) -}} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the certs jobs fully-qualified Docker image to use | ||
*/}} | ||
{{- define "capsule.jobs.certsFullyQualifiedDockerImage" -}} | ||
{{- printf "%s/%s:%s" (default $.Values.global.jobs.certs.image.registry $.Values.jobs.certs.registry) (default $.Values.global.jobs.certs.image.repository $.Values.jobs.certs.repository) (default $.Values.global.jobs.certs.image.tag $.Values.jobs.certs.tag) -}} | ||
{{- 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
Oops, something went wrong.