-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
186 lines (186 loc) · 5.18 KB
/
config.json
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "Kubernetes",
"viewName": "Kubernetes",
"type": "executer",
"imgUrl": "logo.png",
"execProgram": "node",
"main": "app.js",
"version": "2.1.0",
"description": "Deploy Apps and Manage Kuberentes Clusters with client or kubectl",
"category": [
"Containers"
],
"keywords": [
"kubernetes",
"k8s",
"cloud",
"container",
"cluster",
"api",
"cli",
"pods",
"docker",
"image",
"gke",
"aks",
"eks",
"kubectl"
],
"settings": [
{
"name": "namespace",
"viewName": "Default Namespace",
"type": "string",
"placeholder": "default"
}
],
"auth": {
"authId": "kubernetesServiceAccountWithToken",
"params": [
{
"name": "kubeCertificate",
"viewName": "Cluster CA Certificate",
"description": "Either PEM or Base64 encoded is acceptable",
"type": "string",
"required": true,
"learnUrl": "https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/"
},
{
"name": "kubeToken",
"viewName": "Service Account Token",
"description": "A JWT token associated with the service account",
"required": true,
"type": "vault",
"learnUrl": "https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/"
},
{
"name": "kubeApiServer",
"viewName": "API Server Endpoint",
"required": true,
"type": "string",
"description": "The endpoint URL used to connect to the cluster",
"placeholder": "https://10.0.32.149",
"learnUrl": "https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/"
}
]
},
"methods": [
{
"name": "apply",
"viewName": "Apply",
"params": [
{
"name": "yamlPath",
"viewName": "YAML File Path",
"required": true,
"type": "string",
"description": "Path to YAML file on agent",
"placeholder": "yamlrepo/deploy-nginx.yaml",
"learnUrl": "https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/"
},
{
"name": "namespace",
"viewName": "Namespace",
"required": false,
"type": "string",
"placeholder": "default",
"default": "default",
"learnUrl": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
}
]
},
{
"name": "deleteObjects",
"viewName": "Delete Objects",
"params": [
{
"name": "objectsMap",
"viewName": "Objects map",
"required": true,
"type": "text",
"parserType": "array",
"description": "<object_type> <object_name> pairs separated with new lines",
"placeholder": "pod mongo-123a\nservice payments-999z"
},
{
"name": "namespace",
"viewName": "Namespace",
"required": false,
"type": "string",
"placeholder": "default",
"default": "default",
"learnUrl": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
}
]
},
{
"name": "getService",
"viewName": "Get Service",
"params": [
{
"name": "name",
"viewName": "Name",
"required": true,
"type": "string",
"description": "The name of the service to describe (or get)",
"placeholder": "myservice",
"learnUrl": "https://kubernetes.io/docs/concepts/services-networking/service/"
},
{
"name": "namespace",
"viewName": "Namespace",
"required": false,
"type": "string",
"placeholder": "default",
"default": "default",
"learnUrl": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
}
]
},
{
"name": "getAllServices",
"viewName": "Get All Services",
"params": [
{
"name": "labelsFilter",
"viewName": "Labels Filter",
"description": "Labels to filter the results (one key=value pair per line)",
"required": false,
"type": "text",
"parserType": "array",
"placeholder": "app=nginx"
},
{
"name": "namespace",
"viewName": "Namespace",
"required": false,
"type": "string",
"placeholder": "default",
"default": "default",
"learnUrl": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
}
]
},
{
"name": "runKubectlCommand",
"viewName": "Run Kubectl Command",
"params": [
{
"name": "command",
"viewName": "Command",
"type": "string",
"required": true
},
{
"name": "namespace",
"viewName": "Namespace",
"required": false,
"type": "string",
"placeholder": "default",
"default": "default",
"learnUrl": "https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
}
]
}
]
}