Add Ingress to cluster applications section

This commit is contained in:
Eric Eastwood 2017-11-03 11:33:15 -05:00
parent 797e758beb
commit 6947646d00
3 changed files with 12 additions and 3 deletions

View File

@ -96,8 +96,17 @@ export default {
:request-status="applications.helm.requestStatus"
:request-reason="applications.helm.requestReason"
/>
<application-row
id="ingress"
:title="applications.ingress.title"
title-link="https://kubernetes.io/docs/concepts/services-networking/ingress/"
:description="ingressDescription"
:status="applications.ingress.status"
:status-reason="applications.ingress.statusReason"
:request-status="applications.ingress.requestStatus"
:request-reason="applications.ingress.requestReason"
/>
<!-- NOTE: Don't forget to update `clusters.scss` min-height for this block and uncomment `application_spec` tests -->
<!-- Add Ingress row, all other plumbing is complete -->
<!-- Add GitLab Runner row, all other plumbing is complete -->
</div>
</div>

View File

@ -6,5 +6,5 @@
.cluster-applications-table {
// Wait for the Vue to kick-in and render the applications block
min-height: 179px;
min-height: 302px;
}

View File

@ -29,11 +29,11 @@ describe('Applications', () => {
expect(vm.$el.querySelector('.js-cluster-application-row-helm')).toBeDefined();
});
/* * /
it('renders a row for Ingress', () => {
expect(vm.$el.querySelector('.js-cluster-application-row-ingress')).toBeDefined();
});
/* * /
it('renders a row for GitLab Runner', () => {
expect(vm.$el.querySelector('.js-cluster-application-row-runner')).toBeDefined();
});