1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-29 15:49:37 +02:00

Kubernetes integration (#80)

* chore(): skaffold

* chore(): kubernetes integration

* chore(skaffold): refine shokohsc profile

* chore(): removed docker & kubernetes from database + stoppedApp pin option

* Revert "chore(): removed docker & kubernetes from database + stoppedApp pin option"

This reverts commit 5111c7ad79.
This commit is contained in:
Dimitri Pommier 2021-08-17 10:32:15 +02:00 committed by GitHub
parent c1b61f9cd9
commit 8681f75bab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 5567 additions and 89 deletions

View file

@ -52,6 +52,7 @@ const OtherSettings = (props: ComponentProps): JSX.Element => {
bookmarksSameTab: 0,
searchSameTab: 0,
dockerApps: 1,
kubernetesApps: 1,
unpinStoppedApps: 1
});
@ -71,6 +72,7 @@ const OtherSettings = (props: ComponentProps): JSX.Element => {
bookmarksSameTab: searchConfig('bookmarksSameTab', 0),
searchSameTab: searchConfig('searchSameTab', 0),
dockerApps: searchConfig('dockerApps', 0),
kubernetesApps: searchConfig('kubernetesApps', 0),
unpinStoppedApps: searchConfig('unpinStoppedApps', 0)
});
}, [props.loading]);
@ -297,6 +299,21 @@ const OtherSettings = (props: ComponentProps): JSX.Element => {
<option value={0}>False</option>
</select>
</InputGroup>
{/* KUBERNETES SETTINGS */}
<h2 className={classes.SettingsSection}>Kubernetes</h2>
<InputGroup>
<label htmlFor='kubernetesApps'>Use Kubernetes Ingress API</label>
<select
id='kubernetesApps'
name='kubernetesApps'
value={formData.kubernetesApps}
onChange={e => inputChangeHandler(e, true)}
>
<option value={1}>True</option>
<option value={0}>False</option>
</select>
</InputGroup>
<Button>Save changes</Button>
</form>
);