Commit 0a62588b authored by Chris Baumbauer's avatar Chris Baumbauer

Fix remaining domainname -> hostname rebranding

parent 6aa0645f
......@@ -383,7 +383,7 @@ export default {
:status-reason="applications.knative.statusReason"
:request-status="applications.knative.requestStatus"
:request-reason="applications.knative.requestReason"
:install-application-request-params="{ hostname: applications.knative.domainname}"
:install-application-request-params="{ hostname: applications.knative.hostname}"
:disabled="!helmInstalled"
class="hide-bottom-border rounded-bottom"
title-link="https://github.com/knative/docs"
......@@ -405,7 +405,7 @@ export default {
</label>
<input
id="knative-domainname"
v-model="applications.knative.domainname"
v-model="applications.knative.hostname"
type="text"
class="form-control js-domainname"
readonly
......@@ -419,7 +419,7 @@ export default {
</label>
<input
id="knative-domainname"
v-model="applications.knative.domainname"
v-model="applications.knative.hostname"
type="text"
class="form-control js-domainname"
/>
......
......@@ -16,3 +16,4 @@ export const REQUEST_SUCCESS = 'request-success';
export const REQUEST_FAILURE = 'request-failure';
export const INGRESS = 'ingress';
export const JUPYTER = 'jupyter';
export const KNATIVE = 'knative';
import { s__ } from '../../locale';
import { INGRESS, JUPYTER } from '../constants';
import { INGRESS, JUPYTER, KNATIVE } from '../constants';
export default class ClusterStore {
constructor() {
......@@ -105,6 +105,8 @@ export default class ClusterStore {
(this.state.applications.ingress.externalIp
? `jupyter.${this.state.applications.ingress.externalIp}.nip.io`
: '');
} else if (appId === KNATIVE) {
this.state.applications.knative.hostname = serverAppEntry.hostname ? serverAppEntry.hostname : '';
}
});
}
......
......@@ -68,7 +68,7 @@ describe('Applications', () => {
runner: { title: 'GitLab Runner' },
prometheus: { title: 'Prometheus' },
jupyter: { title: 'JupyterHub', hostname: '' },
knative: { title: 'Knative', domainname: '' },
knative: { title: 'Knative', hostname: '' },
},
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment