-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cert-Manager created Co-authored-by: Aaron Frey <[email protected]> --------- Co-authored-by: Aaron Frey <[email protected]> Co-authored-by: Thomas Michael <[email protected]>
- Loading branch information
1 parent
18c1759
commit 0235ed7
Showing
17 changed files
with
617 additions
and
19 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
106 changes: 106 additions & 0 deletions
106
applications/cluster-resources/certManager-helm-values.ftl.yaml
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,106 @@ | ||
<#assign DockerImageParser=statics['com.cloudogu.gitops.utils.DockerImageParser']> | ||
<#if config.registry.createImagePullSecrets == true> | ||
global: | ||
imagePullSecrets: | ||
- name: proxy-registry | ||
</#if> | ||
|
||
<#if config.application.podResources == true> | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 400Mi | ||
requests: | ||
cpu: 30m | ||
memory: 400Mi | ||
</#if> | ||
<#if config.application.skipCrds != true> | ||
crds: | ||
enabled: true | ||
</#if> | ||
|
||
<#if config.features.certManager.helm.image?has_content> | ||
<#assign imageObject = DockerImageParser.parse(config.features.certManager.helm.image)> | ||
image: | ||
repository: ${imageObject.registryAndRepositoryAsString} | ||
tag: ${imageObject.tag} | ||
</#if> | ||
|
||
<#--webhookImage--> | ||
<#if config.application.podResources == true || config.features.certManager.helm.webhookImage?has_content> | ||
webhook: | ||
<#if config.application.podResources == true> | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 30Mi | ||
requests: | ||
cpu: 20m | ||
memory: 30Mi | ||
</#if> | ||
<#if config.features.certManager.helm.webhookImage?has_content> | ||
<#assign imageObject = DockerImageParser.parse(config.features.certManager.helm.webhookImage)> | ||
image: | ||
repository: ${imageObject.registryAndRepositoryAsString} | ||
tag: ${imageObject.tag} | ||
</#if> | ||
</#if> | ||
<#--cainjectorImage--> | ||
<#if config.application.podResources == true || config.features.certManager.helm.cainjectorImage?has_content> | ||
cainjector: | ||
<#if config.application.podResources > | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 400Mi | ||
requests: | ||
cpu: 30m | ||
memory: 400Mi | ||
</#if> | ||
<#if config.features.certManager.helm.cainjectorImage?has_content> | ||
<#assign imageObject = DockerImageParser.parse(config.features.certManager.helm.cainjectorImage)> | ||
image: | ||
repository: ${imageObject.registryAndRepositoryAsString} | ||
tag: ${imageObject.tag} | ||
</#if> | ||
</#if> | ||
|
||
<#--acmeSolverImage--> | ||
<#if config.application.podResources == true || config.features.certManager.helm.acmeSolverImage?has_content> | ||
acmesolver: | ||
<#if config.application.podResources > | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 400Mi | ||
requests: | ||
cpu: 30m | ||
memory: 400Mi | ||
</#if> | ||
<#if config.features.certManager.helm.acmeSolverImage?has_content> | ||
<#assign imageObject = DockerImageParser.parse(config.features.certManager.helm.acmeSolverImage)> | ||
image: | ||
repository: ${imageObject.registryAndRepositoryAsString} | ||
tag: ${imageObject.tag} | ||
</#if> | ||
</#if> | ||
|
||
<#--startupAPICheckImage--> | ||
<#if config.application.podResources == true || config.features.certManager.helm.startupAPICheckImage?has_content> | ||
startupapicheck: | ||
<#if config.application.podResources > | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 400Mi | ||
requests: | ||
cpu: 30m | ||
memory: 400Mi | ||
</#if> | ||
<#if config.features.certManager.helm.startupAPICheckImage?has_content> | ||
<#assign imageObject = DockerImageParser.parse(config.features.certManager.helm.startupAPICheckImage)> | ||
image: | ||
repository: ${imageObject.registryAndRepositoryAsString} | ||
tag: ${imageObject.tag} | ||
</#if> | ||
</#if> |
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
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
Oops, something went wrong.