Hi there. I want to add a simple receiver (Pager D...
# general
b
Hi there. I want to add a simple receiver (Pager Duty) to my Rancher (ver 2.7). This I have solved after adding secrete opaque (Secret: Create Opaque) with key value from PD page "service_key": (I don't know why I got stuck, why I can't add just the secret I receive from Pager Duty. Why "Secret with Routing Key" has only "None" value. Why is the key grey and inaccessible? ) My question is why most toturials have different template configuration, more simple. The one used by Rancher is more advanced, probably for security reasons. But where can I find simple toturials how to configure "Rancher only" yaml's? It is not intuitive. Suppose only buying SUSE support? example of easy one (for me): https://blog.container-solutions.com/prometheus-operator-beginners-guide More advanced (less intuitive):
apiVersion: <http://monitoring.coreos.com/v1alpha1|monitoring.coreos.com/v1alpha1>
kind: AlertmanagerConfig
metadata:
name: receiver1
annotations:
<http://field.cattle.io/description|field.cattle.io/description>: my-first receiver
#  key: string
creationTimestamp: '2025-02-02T10:27:02Z'
generation: 8
labels:
{}
#  key: string
namespace: default
resourceVersion: '103215'
uid: 1c08e92a-c28f-46f2-ba4f-754b21dcd657
fields:
- receiver1
- 123m
spec:
receivers:
- name: first-pd-integration
pagerdutyConfigs:
- routingKey:
key: service_key
name: pd-opaque
sendResolved: true
httpConfig: {}