| ... | @@ -84,6 +84,9 @@ export default { |
... | @@ -84,6 +84,9 @@ export default { |
|
|
ingressExternalIp() {
|
|
ingressExternalIp() {
|
|
|
return this.applications.ingress.externalIp;
|
|
return this.applications.ingress.externalIp;
|
|
|
},
|
|
},
|
|
|
|
certManagerInstalled() {
|
|
|
|
return this.applications.cert_manager.status === APPLICATION_STATUS.INSTALLED;
|
|
|
|
},
|
|
|
ingressDescription() {
|
|
ingressDescription() {
|
|
|
const extraCostParagraph = sprintf(
|
|
const extraCostParagraph = sprintf(
|
|
|
_.escape(
|
|
_.escape(
|
| ... | @@ -130,9 +133,9 @@ export default { |
... | @@ -130,9 +133,9 @@ export default { |
|
|
return sprintf(
|
|
return sprintf(
|
|
|
_.escape(
|
|
_.escape(
|
|
|
s__(
|
|
s__(
|
|
|
`ClusterIntegration|cert-manager is a native Kubernetes certificate management controller that helps with issuing certificates.
|
|
`ClusterIntegration|Cert-Manager is a native Kubernetes certificate management controller that helps with issuing certificates.
|
|
|
Installing cert-manager on your cluster will issue a certificate by %{letsEncrypt} and ensure that certificates
|
|
Installing Cert-Manager on your cluster will issue a certificate by %{letsEncrypt} and ensure that certificates
|
|
|
are valid and up to date.`,
|
|
are valid and up-to-date.`,
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
{
|
|
{
|
| ... | @@ -259,6 +262,16 @@ export default { |
... | @@ -259,6 +262,16 @@ export default { |
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
<input v-else type="text" class="form-control js-ip-address" readonly value="?" />
|
|
<input v-else type="text" class="form-control js-ip-address" readonly value="?" />
|
|
|
|
<p class="form-text text-muted">
|
|
|
|
{{
|
|
|
|
s__(`ClusterIntegration|Point a wildcard DNS to this
|
|
|
|
generated IP address in order to access
|
|
|
|
your application after it has been deployed.`)
|
|
|
|
}}
|
|
|
|
<a :href="ingressDnsHelpPath" target="_blank" rel="noopener noreferrer">
|
|
|
|
{{ __('More information') }}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<p v-if="!ingressExternalIp" class="settings-message js-no-ip-message">
|
|
<p v-if="!ingressExternalIp" class="settings-message js-no-ip-message">
|
| ... | @@ -272,17 +285,6 @@ export default { |
... | @@ -272,17 +285,6 @@ export default { |
|
|
{{ __('More information') }}
|
|
{{ __('More information') }}
|
|
|
</a>
|
|
</a>
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
{{
|
|
|
|
|
s__(`ClusterIntegration|Point a wildcard DNS to this
|
|
|
|
|
generated IP address in order to access
|
|
|
|
|
your application after it has been deployed.`)
|
|
|
|
|
}}
|
|
|
|
|
<a :href="ingressDnsHelpPath" target="_blank" rel="noopener noreferrer">
|
|
|
|
|
{{ __('More information') }}
|
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
<div v-html="ingressDescription"></div>
|
|
<div v-html="ingressDescription"></div>
|
|
|
</div>
|
|
</div>
|
| ... | @@ -295,10 +297,41 @@ export default { |
... | @@ -295,10 +297,41 @@ export default { |
|
|
:status-reason="applications.cert_manager.statusReason"
|
|
:status-reason="applications.cert_manager.statusReason"
|
|
|
:request-status="applications.cert_manager.requestStatus"
|
|
:request-status="applications.cert_manager.requestStatus"
|
|
|
:request-reason="applications.cert_manager.requestReason"
|
|
:request-reason="applications.cert_manager.requestReason"
|
|
|
|
:install-application-request-params="{ email: applications.cert_manager.email }"
|
|
|
:disabled="!helmInstalled"
|
|
:disabled="!helmInstalled"
|
|
|
title-link="https://cert-manager.readthedocs.io/en/latest/#"
|
|
title-link="https://cert-manager.readthedocs.io/en/latest/#"
|
|
|
>
|
|
>
|
|
|
<div slot="description" v-html="certManagerDescription"></div>
|
|
<template>
|
|
|
|
<div slot="description">
|
|
|
|
<p v-html="certManagerDescription"></p>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="cert-manager-issuer-email">
|
|
|
|
{{ s__('ClusterIntegration|Issuer Email') }}
|
|
|
|
</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<input
|
|
|
|
v-model="applications.cert_manager.email"
|
|
|
|
:readonly="certManagerInstalled"
|
|
|
|
type="text"
|
|
|
|
class="form-control js-email"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<p class="form-text text-muted">
|
|
|
|
{{
|
|
|
|
s__(`ClusterIntegration|Issuers represent a certificate authority.
|
|
|
|
You must provide an email address for your Issuer. `)
|
|
|
|
}}
|
|
|
|
<a
|
|
|
|
href="http://docs.cert-manager.io/en/latest/reference/issuers.html?highlight=email"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
{{ __('More information') }}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
</application-row>
|
|
</application-row>
|
|
|
<application-row
|
|
<application-row
|
|
|
v-if="isProjectCluster"
|
|
v-if="isProjectCluster"
|
| ... | @@ -381,8 +414,8 @@ export default { |
... | @@ -381,8 +414,8 @@ export default { |
|
|
/>
|
|
/>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
|
|
|
<p v-if="ingressInstalled">
|
|
<p v-if="ingressInstalled" class="form-text text-muted">
|
|
|
{{
|
|
{{
|
|
|
s__(`ClusterIntegration|Replace this with your own hostname if you want.
|
|
s__(`ClusterIntegration|Replace this with your own hostname if you want.
|
|
|
If you do so, point hostname to Ingress IP Address from above.`)
|
|
If you do so, point hostname to Ingress IP Address from above.`)
|
| ... | @@ -391,6 +424,7 @@ export default { |
... | @@ -391,6 +424,7 @@ export default { |
|
|
{{ __('More information') }}
|
|
{{ __('More information') }}
|
|
|
</a>
|
|
</a>
|
|
|
</p>
|
|
</p>
|
|
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</div>
|
|
</div>
|
|
|
</application-row>
|
|
</application-row>
|
| ... | |
... | |
| ... | | ... | |