Skip to content

Commit

Permalink
change repo in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zjaco13 committed Jul 28, 2023
1 parent 8426685 commit 701c992
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions docs/addons/fluxcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ import * as blueprints from '@aws-quickstart/eks-blueprints';

const app = new cdk.App();

const nginxDashUrl = "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/nginx/nginx.json"

const addOn = new blueprints.addons.FluxCDAddOn({
bootstrapRepo: {
repoUrl: 'https://github.com/stefanprodan/podinfo',
Expand All @@ -51,20 +53,25 @@ const addOn = new blueprints.addons.FluxCDAddOn({
},
workloadApplications: [
{
name: "nginx",
namespace: "default",
name: "nginx-grafanadashboard",
namespace: "grafana-operator",
repository: {
repoUrl: 'https://github.com/zjaco13/flux-tester',
repoUrl: 'https://github.com/aws-observability/aws-observability-accelerator',
targetRevision: "main",
path: "./infra",
path: "./artifacts/grafana-operator-manifests/eks/nginx"
},
values: {
"GRAFANA_NGINX_DASH_URL" : nginxDashUrl,
},
values: {},
}
],
}),

const blueprint = blueprints.EksBlueprint.builder()
.addOns(addOn)
.addOns(
blueprints.addons.GrafanaOperatorAddon,
addOn,
)
.build(app, 'my-stack-name');
```

Expand Down

0 comments on commit 701c992

Please sign in to comment.