mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
cert dosc
This commit is contained in:
@@ -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" -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user