MCPcopy
hub / github.com/1Panel-dev/KubePi / createServiceAccount

Function createServiceAccount

web/dashboard/src/api/serviceaccounts.js:38–40  ·  view source on GitHub ↗
(cluster_name, namespace, data)

Source from the content-addressed store, hash-verified

36}
37
38export function createServiceAccount (cluster_name, namespace, data) {
39 return post(`${namespaceServiceAccountUrl(cluster_name, namespace)}`, data)
40}
41
42export function updateServiceAccount (cluster_name, namespace, name, data) {
43 return put(`${namespaceServiceAccountUrl(cluster_name, namespace)}/${name}`, data)

Callers

nothing calls this directly

Calls 2

postFunction · 0.90

Tested by

no test coverage detected