John Cowen 1ef18c4b67
ui: Move mocks into the ui project (#9084)
* Add consul-api-double under api

* Update config to reflect api change

* Remove consul-api-double as a dependency

* api -> mock-api

* Fixup mocks path for staging
2020-11-05 16:03:49 +00:00

11 lines
509 B
Plaintext

{
"Name": "${location.pathname.get(3)}",
"Description": "${fake.lorem.sentence()}",
"Type": "${fake.helpers.randomize(['kubernetes'])}", ${''/* oidc */}
"KubernetesHost": "https://${fake.internet.ip()}:8443",
"KubernetesCACert": "-----BEGIN CERTIFICATE-----${fake.internet.password(1357)}-----END CERTIFICATE-----",
"KubernetesServiceAccountJWT": "eyJhbGciOiJ${fake.internet.password(25)}.eyJ${fake.internet.password(61)}.${fake.internet.password(32)}",
"CreateIndex": 10,
"ModifyIndex": 10
}