Remove optional manifests which are outdated

This commit is contained in:
MahnoorAsghar
2023-02-24 13:48:38 +05:00
parent 8c4523db69
commit 63022fe4d0
8 changed files with 3 additions and 49 deletions

View File

@@ -38,8 +38,8 @@ rules:
resources:
- namespaces
verbs:
- get
{{- end }}
- get
{{- end }}
{{- if and (.Capabilities.APIVersions.Has "apps.openshift.io/v1") (.Values.reloader.isOpenshift) }}
- apiGroups:
- "apps.openshift.io"

View File

@@ -4,7 +4,5 @@ kind: Kustomization
resources:
- manifests/clusterrole.yaml
- manifests/clusterrolebinding.yaml
- manifests/role.yaml
- manifests/rolebinding.yaml
- manifests/serviceaccount.yaml
- manifests/deployment.yaml
- manifests/deployment.yaml

View File

@@ -1,3 +0,0 @@
---
# Source: reloader/templates/podmonitor.yaml

View File

@@ -1,4 +0,0 @@
---
# Source: reloader/templates/role.yaml

View File

@@ -1,4 +0,0 @@
---
# Source: reloader/templates/rolebinding.yaml

View File

@@ -1,4 +0,0 @@
---
# Source: reloader/templates/service.yaml

View File

@@ -1,4 +0,0 @@
---
# Source: reloader/templates/servicemonitor.yaml

View File

@@ -1,25 +0,0 @@
reloader:
# To create podDisruptionBudget
podDisruptionBudget:
enabled: true
# To create podMonitor
podMonitor:
enabled: true
# To create role and rolebinding
watchGlobally: false
rbac:
enabled: true
# To create secret
deployment:
env:
secret:
ALERT_ON_RELOAD: alert-on-reload-value
ALERT_SINK: alert-sink-value
ALERT_WEBHOOK_URL: alert-webhook-url-value
ALERT_ADDITIONAL_INFO: alert-additional-info-value
# To create service
service:
port: 8080
# To create servicemonitor
serviceMonitor:
enabled: true