Skip to content

Commit 90a7245

Browse files
committed
Add existingSecretName value
1 parent 75caa19 commit 90a7245

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

charts/scaleway-webhook/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "v0.0.1"
33
description: Cert-Manager webhook for Scaleway
44
name: scaleway-webhook
5-
version: 0.0.1
5+
version: 0.0.2
66
maintainers:
77
- name: suda
88

charts/scaleway-webhook/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# scaleway-webhook
22

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

55
Cert-Manager webhook for Scaleway
66

@@ -28,6 +28,7 @@ Cert-Manager webhook for Scaleway
2828
| pki.servingCertificateDuration | string | `"8760h"` | |
2929
| resources | object | `{}` | |
3030
| secret.accessKey | string | `""` | |
31+
| secret.existingSecretName | string | `""` | |
3132
| secret.name | string | `"scaleway-webhook-secret"` | |
3233
| secret.secretKey | string | `""` | |
3334
| service.port | int | `443` | |

charts/scaleway-webhook/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ spec:
3939
- secretRef:
4040
name: {{ .Values.secret.name }}
4141
{{ end }}
42+
{{ if .Values.secret.existingSecretName }}
43+
envFrom:
44+
- secretRef:
45+
name: {{ .Values.secret.existingSecretName }}
46+
{{ end }}
4247
ports:
4348
- name: https
4449
containerPort: 443

charts/scaleway-webhook/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ secret:
2020
accessKey: ""
2121
secretKey: ""
2222
name: scaleway-webhook-secret
23+
existingSecretName: ""
2324

2425
service:
2526
type: ClusterIP

0 commit comments

Comments
 (0)