Skip to content

Commit 16c9bc3

Browse files
Prepare alpha 9 (#17)
alpha9
1 parent 4153580 commit 16c9bc3

File tree

6 files changed

+32
-20
lines changed

6 files changed

+32
-20
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v0.0.1
33
description: A Helm chart for Codefresh gitops runtime
44
name: gitops-runtime
5-
version: 0.2.0-alpha-8
5+
version: 0.2.0-alpha-9
66
home: https://github.com/codefresh-io/gitops-runtime-helm
77
keywords:
88
- codefresh

charts/gitops-runtime/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gitops-runtime
22

3-
![Version: 0.2.0-alpha-8](https://img.shields.io/badge/Version-0.2.0--alpha--8-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square)
3+
![Version: 0.2.0-alpha-9](https://img.shields.io/badge/Version-0.2.0--alpha--9-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square)
44

55
A Helm chart for Codefresh gitops runtime
66

@@ -31,6 +31,8 @@ A Helm chart for Codefresh gitops runtime
3131
| app-proxy.config.argoCdUsername | string | `"admin"` | |
3232
| app-proxy.config.argoWorkflowsInsecure | string | `"true"` | |
3333
| app-proxy.config.env | string | `"production"` | |
34+
| app-proxy.config.logLevel | string | `"info"` | Log Level |
35+
| app-proxy.config.skipGitPermissionValidation | string | `"false"` | Skit git permissions validation |
3436
| app-proxy.env | object | `{}` | |
3537
| app-proxy.fullnameOverride | string | `"cap-app-proxy"` | |
3638
| app-proxy.image-enrichment | object | `{"config":{"clientHeartbeatIntervalInSeconds":5,"concurrencyCmKey":"imageReportExecutor","concurrencyCmName":"workflow-synchronization-semaphores","podGcStrategy":"OnWorkflowCompletion","ttlActiveInSeconds":900,"ttlAfterCompletionInSeconds":86400},"enabled":true,"serviceAccount":{"annotations":null,"create":true,"name":"codefresh-image-enrichment-sa"}}` | Image enrichment process configuration |
@@ -48,13 +50,13 @@ A Helm chart for Codefresh gitops runtime
4850
| app-proxy.image-enrichment.serviceAccount.name | string | `"codefresh-image-enrichment-sa"` | Name of the service account to create or the name of the existing one to use |
4951
| app-proxy.image.pullPolicy | string | `"IfNotPresent"` | |
5052
| app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | |
51-
| app-proxy.image.tag | string | `"1.2142.0"` | |
53+
| app-proxy.image.tag | string | `"CR-17702-fix-runtime-name-crash"` | |
5254
| app-proxy.imagePullSecrets | list | `[]` | |
5355
| app-proxy.initContainer.command[0] | string | `"./init.sh"` | |
5456
| app-proxy.initContainer.env | object | `{}` | |
5557
| app-proxy.initContainer.image.pullPolicy | string | `"IfNotPresent"` | |
5658
| app-proxy.initContainer.image.repository | string | `"quay.io/codefresh/cap-app-proxy-init"` | |
57-
| app-proxy.initContainer.image.tag | string | `"1.2142.0"` | |
59+
| app-proxy.initContainer.image.tag | string | `"CR-17702-fix-runtime-name-crash"` | |
5860
| app-proxy.initContainer.resources.limits.cpu | string | `"1"` | |
5961
| app-proxy.initContainer.resources.limits.memory | string | `"512Mi"` | |
6062
| app-proxy.initContainer.resources.requests.cpu | string | `"0.2"` | |

charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ data:
99
argoCdUrl: {{ .Values.config.argoCdUrl }}
1010
argoCdUsername: {{ .Values.config.argoCdUsername }}
1111
argoWorkflowsInsecure: {{ .Values.config.argoWorkflowsInsecure | quote }}
12-
env: {{ .Values.config.env }}
12+
env: {{ .Values.config.env | quote}}
1313
argoWorkflowsUrl: {{ default "" .Values.config.argoWorkflowsUrl }}
14-
runtimeName: {{ .Values.global.runtime.name }}
14+
runtimeName: {{ .Values.global.runtime.name | quote}}
15+
skipGitPermissionValidation: {{ .Values.config.skipGitPermissionValidation | quote }}
16+
logLevel: {{ .Values.config.logLevel | quote }}
1517
{{- $enrichmentValues := get .Values "image-enrichment" }}
1618
{{- if $enrichmentValues.enabled }}
17-
enrichmentConcurrencyCmName: {{ $enrichmentValues.config.concurrencyCmName }}
18-
enrichmentConcurrencyCmKey: {{ $enrichmentValues.config.concurrencyCmKey }}
19-
enrichmentServiceAccountName: {{ $enrichmentValues.serviceAccount.name }}
20-
enrichmentPodGcStrategy: {{ $enrichmentValues.config.podGcStrategy }}
19+
enrichmentConcurrencyCmName: {{ $enrichmentValues.config.concurrencyCmName | quote}}
20+
enrichmentConcurrencyCmKey: {{ $enrichmentValues.config.concurrencyCmKey | quote}}
21+
enrichmentServiceAccountName: {{ $enrichmentValues.serviceAccount.name | quote}}
22+
enrichmentPodGcStrategy: {{ $enrichmentValues.config.podGcStrategy | quote}}
2123
enrichmentTtlAfterCompletionInSeconds: {{ $enrichmentValues.config.ttlAfterCompletionInSeconds | quote }}
2224
enrichmentTtlActiveInSeconds: {{ $enrichmentValues.config.ttlActiveInSeconds | quote }}
2325
enrichmentClientHeartbeatIntervalInSeconds: {{ $enrichmentValues.config.clientHeartbeatIntervalInSeconds | quote }}

charts/gitops-runtime/templates/_components/cap-app-proxy/environment-variables/_main-container.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,18 @@ STRIP_PREFIX:
103103
name: cap-app-proxy-cm
104104
key: stripPrefix
105105
optional: true
106+
SKIP_PERMISSIONS_VALIDATION:
107+
valueFrom:
108+
configMapKeyRef:
109+
name: cap-app-proxy-cm
110+
key: skipGitPermissionValidation
111+
optional: true
112+
LOG_LEVEL:
113+
valueFrom:
114+
configMapKeyRef:
115+
name: cap-app-proxy-cm
116+
key: logLevel
117+
optional: true
106118
IRW_SERVICE_ACCOUNT:
107119
valueFrom:
108120
configMapKeyRef:

charts/gitops-runtime/templates/enforce-runtime-name.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

charts/gitops-runtime/values.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,14 @@ app-proxy:
280280
image:
281281
repository: quay.io/codefresh/cap-app-proxy
282282
# Overrides the image tag whose default is the chart appVersion.
283-
tag: 1.2142.0
283+
tag: CR-17702-fix-runtime-name-crash
284284
pullPolicy: IfNotPresent
285285

286286
initContainer:
287287
image:
288288
repository: quay.io/codefresh/cap-app-proxy-init
289289
# Overrides the image tag whose default is the chart appVersion.
290-
tag: 1.2142.0
290+
tag: CR-17702-fix-runtime-name-crash
291291
pullPolicy: IfNotPresent
292292
command:
293293
- ./init.sh
@@ -310,6 +310,10 @@ app-proxy:
310310
argoCdUsername: "admin"
311311
argoWorkflowsInsecure: "true"
312312
env: "production"
313+
# -- Skit git permissions validation
314+
skipGitPermissionValidation: "false"
315+
# -- Log Level
316+
logLevel: "info"
313317

314318
env: {}
315319

0 commit comments

Comments
 (0)