Skip to content

Commit

Permalink
Add Reloader feature
Browse files Browse the repository at this point in the history
Signed-off-by: Rokibul Hasan <[email protected]>
  • Loading branch information
RokibulHasan7 authored and tamalsaha committed Nov 3, 2023
1 parent 0b6216c commit 6a6beff
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/opscenter-features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ The following table lists the configurable parameters of the `opscenter-features
| helm.releases.stash-opscenter.version | | <code>"v2023.10.9"</code> |
| helm.releases.stash-presets.version | | <code>"v2023.10.18"</code> |
| helm.releases.supervisor.version | | <code>"v2023.10.1"</code> |
| helm.releases.reloader.version | | <code>"v1.0.24"</code> |
| helm.releases.voyager.version | | <code>"v2023.9.18"</code> |
| clusterManagers | | <code>[]</code> |
| capi.provider | | <code>""</code> |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ spec:
version: v1
kind: Deployment
selector:
app: reloader-reloader
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: license-proxyserver
chart:
name: license-proxyserver
namespace: kubeops
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{{ $overridesVal := printf `
reloader:
deployment:
image:
name: %s
` (include "image.ghcr" (merge (dict "_repo" "stakater/reloader") $)) | fromYaml }}
{{ $vals := dict }}
{{ $vals = mergeOverwrite $vals $overridesVal }}
apiVersion: ui.k8s.appscode.com/v1alpha1
kind: Feature
metadata:
name: reloader
labels:
ace.appscode.com/feature-set: opscenter-tools
spec:
title: Reloader
description: |
K8s controller for rolling upgrades based on ConfigMap and Secret changes.
icons:
- src: https://cdn.appscode.com/k8s/icons/menu/cluster.svg
type: image/svg+xml
featureSet: opscenter-tools
featureBlock: reloader
recommended: false
readinessChecks:
workloads:
- group: apps
version: v1
kind: Deployment
selector:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: reloader
chart:
name: reloader
namespace: kubeops
version: {{ dig "reloader" "version" "" $.Values.helm.releases }}
sourceRef:
kind: HelmRepository
name: appscode-charts-oci
namespace: {{ .Release.Namespace }}
{{- with $vals }}
{{- dict "values" . | toYaml | nindent 2 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/opscenter-features/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ helm:
version: "v2023.10.18"
supervisor:
version: "v2023.10.1"
reloader:
version: "v1.0.24"
voyager:
version: "v2023.9.18"

Expand Down

0 comments on commit 6a6beff

Please sign in to comment.