-
Notifications
You must be signed in to change notification settings - Fork 50
/
dns-entries.yaml
133 lines (133 loc) · 3.63 KB
/
dns-entries.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
kind: ConfigMap
apiVersion: v1
metadata:
name: dnsentries
namespace: kube-public
labels:
app.kubernetes.io/name: dnsentries
busola.io/extension: resource
busola.io/extension-version: '0.5'
data:
dataSources: |-
targetServices:
resource:
kind: Service
version: v1
filter: >-
$exists($item.status.loadBalancer.ingress)
relatedService:
resource:
kind: Service
version: v1
filter: >-
$filter($root.spec.targets, function ($v, $i, $a) { $contains($item.status.loadBalancer.ingress.ip, $v)})
details: |-
resourceGraph:
dataSources:
- source: relatedService
status:
header:
- source: 'status.state ? status.state : "UNKNOWN"'
highlights:
informative:
- UNKNOWN
type: string
name: status
widget: Badge
description: status.message
body:
- name: Provider
source: status.provider
fullWidth: true
- name: Observed Generation
source: status.observedGeneration
body:
- name: Specification
widget: Panel
children:
- name: spec.dnsName
source: spec.dnsName
- name: TTL
source: spec.ttl
- name: spec.targets
widget: JoinedArray
source: spec.targets
form: |-
- simple: true
path: spec.dnsName
placeholder: dnsName.placeholder
required: true
- simple: true
name: TTL
placeholder: ttl.placeholder
path: spec.ttl
required: true
- path: spec.targets
widget: SimpleList
simple: true
defaultExpanded: true
required: true
name: spec.targets
children:
- simple: true
enum: "$map($targetServices().items, function($v, $i, $a) {
{'key':$v.status.loadBalancer.ingress.ip , 'name':$v.status.loadBalancer.ingress.ip & ' (' & $v.metadata.name & ')'}
})"
placeholder: target.placeholder
- path: spec.text
name: spec.text
widget: SimpleList
children:
- path: '[]'
simple: true
placeholder: text.placeholder
defaultExpanded: true
general: |
resource:
kind: DNSEntry
group: dns.gardener.cloud
version: v1alpha1
name: DNS Entries
category: Configuration
urlPath: dnsentries
scope: namespace
description: >-
{{[DNSEntry](https://kyma-project.io/docs/kyma/latest/03-tutorials/00-api-exposure/apix-02-setup-custom-domain-for-workload/)}}
is an object that represents the request to create an external DNS record.
list: |-
- source: 'status.state ? status.state : "UNKNOWN"'
highlights:
informative:
- UNKNOWN
type: string
name: status
widget: Badge
description: status.message
presets: |-
- name: template
default: true
value:
metadata:
annotations:
dns.gardener.cloud/class: garden
spec:
ttl: 600
dnsName: ''
targets: []
text: []
items: []
name: ''
bool: false
translations: |-
en:
metadata.annotations: Annotations
metadata.labels: Labels
metadata.creationTimestamp: Created at
target.placeholder: Enter the A record target or CNAME record
spec.targets: Targets
spec.dnsName: DNSName
ttl.placeholder: Enter the time to live
spec.text: Text
dnsName.placeholder: Select the DNSName
text.placeholder: Text record must be a string. Provide either target or text.
status: Status