diff --git a/contrib/chart/backstage/templates/backend-secret.yaml b/contrib/chart/backstage/templates/backend-secret.yaml index 299d893ec4..95763859ef 100644 --- a/contrib/chart/backstage/templates/backend-secret.yaml +++ b/contrib/chart/backstage/templates/backend-secret.yaml @@ -21,4 +21,6 @@ stringData: NEW_RELIC_REST_API_KEY: {{ .Values.auth.newRelicRestApiKey }} TRAVISCI_AUTH_TOKEN: {{ .Values.auth.travisciAuthToken }} PAGERDUTY_TOKEN: {{ .Values.auth.pagerdutyToken }} + SPLUNK_ON_CALL_API_ID: {{ .Values.auth.splunkOnCallApiId }} + SPLUNK_ON_CALL_API_KEY: {{ .Values.auth.splunkOnCallApiKey }} {{- end }} diff --git a/contrib/chart/backstage/values.yaml b/contrib/chart/backstage/values.yaml index 261f352f93..dfc25ee0c2 100644 --- a/contrib/chart/backstage/values.yaml +++ b/contrib/chart/backstage/values.yaml @@ -251,3 +251,5 @@ auth: newRelicRestApiKey: r travisciAuthToken: fake-travis-ci-auth-token pagerdutyToken: h + splunkOnCallApiId: h + splunkOnCallApiKey: h diff --git a/packages/app/src/components/catalog/EntityPage.tsx b/packages/app/src/components/catalog/EntityPage.tsx index e849667c19..0322e86abd 100644 --- a/packages/app/src/components/catalog/EntityPage.tsx +++ b/packages/app/src/components/catalog/EntityPage.tsx @@ -92,6 +92,10 @@ import { PullRequestsStatsCard, Router as PullRequestsRouter, } from '@roadiehq/backstage-plugin-github-pull-requests'; +import { + isPluginApplicableToEntity as isSplunkOnCallAvailable, + SplunkOnCallCard, +} from '@backstage/plugin-splunk-on-call'; import { isPluginApplicableToEntity as isTravisCIAvailable, RecentTravisCIBuildsWidget, diff --git a/packages/catalog-model/examples/components/playback-order-component.yaml b/packages/catalog-model/examples/components/playback-order-component.yaml index 9146063886..4eca773796 100644 --- a/packages/catalog-model/examples/components/playback-order-component.yaml +++ b/packages/catalog-model/examples/components/playback-order-component.yaml @@ -6,6 +6,8 @@ metadata: tags: - java - playback + annotations: + splunk-on-call.com/team: Example spec: type: service lifecycle: production