Skip to content

Commit

Permalink
Use reloader v1.0.50
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 3, 2023
1 parent b49f495 commit e25d921
Show file tree
Hide file tree
Showing 8 changed files with 317 additions and 5 deletions.
12 changes: 12 additions & 0 deletions apis/installer/v1alpha1/reloader_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package v1alpha1

import (
core "k8s.io/api/core/v1"
networking "k8s.io/api/networking/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Expand Down Expand Up @@ -62,6 +63,7 @@ type ReloaderKubernetes struct {
}

type ReloaderDetails struct {
AutoReloadAll bool `json:"autoReloadAll"`
IsArgoRollouts bool `json:"isArgoRollouts"`
IsOpenshift bool `json:"isOpenshift"`
IgnoreSecrets bool `json:"ignoreSecrets"`
Expand All @@ -86,6 +88,8 @@ type ReloaderDetails struct {
ServiceMonitor ReloaderServiceMonitorSpec `json:"serviceMonitor"`
PodMonitor ReloaderPodMonitorSpec `json:"podMonitor"`
PodDisruptionBudget ReloaderPodDisruptionBudget `json:"podDisruptionBudget"`
Netpol ReloaderNetpol `json:"netpol"`
WebhookUrl string `json:"webhookUrl"`
}

type ReloaderLegacy struct {
Expand Down Expand Up @@ -194,6 +198,14 @@ type ReloaderPodDisruptionBudget struct {
Enabled bool `json:"enabled"`
}

type ReloaderNetpol struct {
Enabled bool `json:"enabled"`
// +optional
From []networking.NetworkPolicyPeer `json:"from"`
// +optional
To []networking.NetworkPolicyPeer `json:"to"`
}

// EnvVar represents an environment variable present in a Container.
type EnvVar struct {
// Name of the environment variable. Must be a C_IDENTIFIER.
Expand Down
2 changes: 1 addition & 1 deletion apis/installer/v1alpha1/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestDefaultValues(t *testing.T) {
sc.TestCase{Obj: v1alpha1.SmtprelaySpec{}},
sc.TestCase{Obj: v1alpha1.StashPresetsSpec{}},
sc.TestCase{Obj: v1alpha1.NatsSpec{}, File: "https://github.com/nats-io/k8s/raw/nats-0.19.17/helm/charts/nats/values.yaml"},
sc.TestCase{Obj: v1alpha1.ReloaderSpec{}, File: "https://github.com/stakater/Reloader/raw/v1.0.24/deployments/kubernetes/chart/reloader/values.yaml"},
sc.TestCase{Obj: v1alpha1.ReloaderSpec{}, File: "https://github.com/stakater/Reloader/raw/v1.0.50/deployments/kubernetes/chart/reloader/values.yaml"},
)
checker.TestAll(t)
}
30 changes: 30 additions & 0 deletions apis/installer/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion charts/ace-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The following table lists the configurable parameters of the `ace-installer` cha
| helm.releases.panopticon.version | | <code>"v2023.10.1"</code> |
| helm.releases.panopticon.values | | <code>{"monitoring":{"agent":"prometheus.io/operator","enabled":true,"serviceMonitor":{"labels":{"release":"kube-prometheus-stack"}}}}</code> |
| helm.releases.reloader.enabled | | <code>true</code> |
| helm.releases.reloader.version | | <code>"v1.0.24"</code> |
| helm.releases.reloader.version | | <code>"v1.0.50"</code> |
| helm.releases.stash.enabled | | <code>true</code> |
| helm.releases.stash.version | | <code>"v2023.10.9"</code> |
| helm.releases.stash.values | | <code>{"features":{"enterprise":true}}</code> |
Expand Down
2 changes: 1 addition & 1 deletion charts/ace-installer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ helm:
release: kube-prometheus-stack
reloader:
enabled: true
version: "v1.0.24"
version: "v1.0.50"
stash:
enabled: true
version: "v2023.10.9"
Expand Down
2 changes: 1 addition & 1 deletion charts/opscenter-features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +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.reloader.version | | <code>"v1.0.50"</code> |
| helm.releases.voyager.version | | <code>"v2023.9.18"</code> |
| clusterManagers | | <code>[]</code> |
| capi.provider | | <code>""</code> |
Expand Down
2 changes: 1 addition & 1 deletion charts/opscenter-features/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ helm:
supervisor:
version: "v2023.10.1"
reloader:
version: "v1.0.24"
version: "v1.0.50"
voyager:
version: "v2023.9.18"

Expand Down
Loading

0 comments on commit e25d921

Please sign in to comment.