cert dosc

This commit is contained in:
Stavros kois
2023-02-11 19:47:01 +02:00
parent ea81ed1dc1
commit 1ecce240c0
3 changed files with 35 additions and 2 deletions
+1
View File
@@ -17,6 +17,7 @@
- Containers: `$ContainerName`
- ConfigMap: `$FullName-$ConfigMapName`
- Secret: `$FullName-$SecretName`
- Scale Certificate: `$FullName-$CertName`
- Scale External Interface: `ix-$ReleaseName-$index`
> Full name -> `$ReleaseName-$ChartName`
@@ -0,0 +1,34 @@
# Scale Certificate
| Key | Type | Required | Helm Template | Default | Description |
| :--------------------------------------- | :-------: | :------: | :----------------: | :-----: | :-------------------------------------------- |
| scaleCertificate | `list` | ❌ | ❌ | `{}` | Define the certificate as dicts |
| scaleCertificate.[cert-name].enabled | `boolean` | ✅ | ❌ | `false` | Enables the certificate (The secret creation) |
| scaleCertificate.[cert-name].labels | `dict` | ❌ | ✅ (On value only) | `{}` | Additional labels for secret |
| scaleCertificate.[cert-name].annotations | `dict` | ❌ | ✅ (On value only) | `{}` | Additional annotations for secret |
| scaleCertificate.[cert-name].id | `string` | ✅ | ❌ | `""` | ID of the certificate in ixCertificates |
---
Appears in:
- `.Values.scaleCertificate`
---
Naming scheme:
- `$FullName-$CertName` (release-name-chart-name-CertName)
---
Examples:
```yaml
scaleCertificate:
cert-name:
enabled: false
labels: {}
annotations: {}
id: 1
```
@@ -22,8 +22,6 @@
{{- $data := fromJson (include "ix.v1.common.lib.certificate.getData" (dict "rootCtx" $ "objectData" $objectData)) -}}
{{- $_ := set $objectData "data" $data -}}
{{/* TODO: Create persistence if defined */}}
{{/* Set the type to certificate */}}
{{- $_ := set $objectData "type" "certificate" -}}