Skip to content

Instantly share code, notes, and snippets.

@haarchri
Created August 2, 2023 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haarchri/6e98ea8eb2bbe4d0ed66006450874587 to your computer and use it in GitHub Desktop.
Save haarchri/6e98ea8eb2bbe4d0ed66006450874587 to your computer and use it in GitHub Desktop.
apiVersion: escalation.pagerduty.crossplane.io/v1alpha1
kind: Policy
metadata:
annotations:
meta.upbound.io/example-id: escalation/v1alpha1/policy
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
name: Engineering Escalation Policy
numLoops: 2
rule:
- escalationDelayInMinutes: 10
target:
- idRef:
apiVersion: user.pagerduty.crossplane.io/v1alpha1
kind: User
name: example
fieldPath: metadata.annotations[crossplane.io/external-name]
type: user_reference
- idRef:
apiVersion: user.pagerduty.crossplane.io/v1alpha1
kind: User
name: example2
fieldPath: metadata.annotations[crossplane.io/external-name]
type: user_reference
teamRefs:
- name: example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment