-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b64c3a8
commit 4a1df52
Showing
4 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: ServiceDeployment | ||
metadata: | ||
name: grafana-{{ context.cluster }} | ||
namespace: apps | ||
spec: | ||
namespace: grafana | ||
git: | ||
folder: helm/grafana | ||
ref: main | ||
repositoryRef: | ||
kind: GitRepository | ||
name: infra | ||
namespace: infra | ||
helm: | ||
version: "8.6.x" | ||
chart: grafana | ||
url: https://grafana.github.io/helm-charts | ||
valuesFiles: | ||
- {{ context.cluster }}.yaml.liquid | ||
configuration: | ||
cluster: {{ context.cluster }} | ||
clusterRef: | ||
kind: Cluster | ||
name: mgmt | ||
namespace: infra |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: PrAutomation | ||
metadata: | ||
name: grafana | ||
spec: | ||
name: grafana | ||
icon: https://cdn.icon-icons.com/icons2/2699/PNG/512/grafana_logo_icon_171048.png | ||
documentation: | | ||
Sets up Trivy Operator security toolkit | ||
creates: | ||
git: | ||
ref: sebastian/prod-2981-set-up-catalog-pipeline # TODO set to main | ||
folder: catalogs/devops/grafana | ||
templates: | ||
- source: README.md | ||
destination: documentation/grafana/README.md | ||
external: true | ||
- source: values.yaml | ||
destination: "bootstrap/apps/grafana/{{ context.cluster }}/values.yaml" | ||
external: true | ||
- source: servicedeployment.yaml.liquid | ||
destination: "bootstrap/apps/grafana/{{ context.cluster }}/servicedeployment.yaml" | ||
external: true | ||
repositoryRef: | ||
name: scaffolds | ||
catalogRef: | ||
name: devops | ||
scmConnectionRef: | ||
name: plural # you'll need to add this ScmConnection manually before this is functional | ||
title: "Grafana setup ({{ context.cluster }})" | ||
message: | | ||
Sets up Grafana on {{ context.cluster }} cluster. | ||
identifier: pluralsh/plrl-dev-aws # FIXME | ||
configuration: | ||
- name: cluster | ||
type: STRING | ||
documentation: the cluster you want to deploy to |