Skip to content

Commit

Permalink
removed .gitignore from the kubeaid list and fixed metadata.name for …
Browse files Browse the repository at this point in the history
…promrule and added a default project
  • Loading branch information
ashish1099 committed Aug 18, 2024
1 parent 2973d15 commit f1e1a7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/kube-prometheus/common-template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ local default_vars = {
'fluent-bit',
'gatekeeper',
'gitea-runner',
'.gitignore',
'gitlab-runner',
'grafana-operator',
'graylog',
Expand Down Expand Up @@ -283,7 +282,7 @@ local kp =
apiVersion: 'monitoring.coreos.com/v1',
kind: 'PrometheusRule',
metadata: {
name: 'kubeaidManagedApps',
name: 'kubeaid-managed-apps',
namespace: $.values.common.namespace,
},
spec: {
Expand All @@ -296,6 +295,8 @@ local kp =
expr: 0,
labels: {
name: argocdApps,
// TODO: maybe add support for other projects
project: 'default',
},
}
for argocdApps in vars.kubeaid_apps + vars.kubeaid_users_apps
Expand Down

0 comments on commit f1e1a7d

Please sign in to comment.