Skip to content

Commit

Permalink
feat: add extraObjects to deploy extra k8s manifests
Browse files Browse the repository at this point in the history
Signed-off-by: rufusnufus <[email protected]>
  • Loading branch information
rufusnufus committed Jan 30, 2025
1 parent 6c342ac commit 440ee99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ The following table lists the configurable parameters of the Harbor chart and th
| **Cache** | | |
| `cache.enabled` | Enable cache layer or not | `false` |
| `cache.expireHours` | The expire hours of cache layer | `24` |
|**Extra** | | |
| `extraObjects` | Extra K8s manifests to deploy | `[]` |

[resources]: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
[trivy]: https://github.com/aquasecurity/trivy
Expand Down
4 changes: 4 additions & 0 deletions templates/extra-manifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraObjects }}
---
{{ tpl (toYaml .) $ }}
{{ end }}
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1058,3 +1058,6 @@ exporter:
# whenUnsatisfiable: DoNotSchedule
cacheDuration: 23
cacheCleanInterval: 14400

# Extra K8s manifests to deploy
extraObjects: []

0 comments on commit 440ee99

Please sign in to comment.