Skip to content

Commit

Permalink
feat: default saas prod values (#513)
Browse files Browse the repository at this point in the history
* feat: default saas prod values

* feat: global values

* chore: update license link
  • Loading branch information
CristhianF7 authored Sep 4, 2024
1 parent f5e5b98 commit 9766b4d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
10 changes: 3 additions & 7 deletions app/auth/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ export default function SignIn() {
</Header>
<Typography color="white" variant="labelLarge" sx={{ width: '445px', textAlign: 'center' }}>
By using the Kubefirst platform, you agree to our{' '}
<ExternalLink href="https://kubeshop.io/terms-of-service" target="_blank">
Terms of Service
<ExternalLink href="https://konstruct.io/terms-and-conditions" target="_blank">
Terms of Service{' '}
</ExternalLink>
,<br />
<ExternalLink href="https://kubeshop.io/end-user-license-agreement" target="_blank">
End User Licence Agreement
</ExternalLink>{' '}
and{' '}
<ExternalLink href="https://kubeshop.io/privacy" target="_blank">
<ExternalLink href="https://konstruct.io/privacy" target="_blank">
Privacy Policy.
</ExternalLink>
</Typography>
Expand Down
4 changes: 4 additions & 0 deletions charts/console/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ spec:
value: "0.0.0.0"
- name: NEXTAUTH_URL
value: "{{ .Values.authURL | default (printf "https://kubefirst.%s" (.Values.domain )) }}"
- name: SAAS_API_URL
value: "{{ .Values.global.saasAPIUrl | default "https://api.konstruct.io" }}"
- name: SAAS_URL
value: "{{ .Values.global.saasUrl | default "https://dashboard.konstruct.io" }}"
- name: K1_ACCESS_TOKEN
valueFrom:
secretKeyRef:
Expand Down
2 changes: 2 additions & 0 deletions charts/console/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,6 @@ extraEnvSecrets: []

global:
kubefirstVersion: "development"
saasAPIUrl: "https://saas-api-development.mgmt-24.konstruct.io/"
saasUrl: "https://saas-development.mgmt-24.konstruct.io"
domain: "example.com"
6 changes: 5 additions & 1 deletion containers/License/License.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ const License: FunctionComponent<LicenseProps> = ({
<FormContainer
footerContent={
<BottomFormContainer>
<LearnMore href="" description="Learn more about" linkTitle="your license key" />
<LearnMore
href="https://kubefirst.io/slack"
description="Should you need assistance reach out to us on our"
linkTitle="Slack channel."
/>
{!hasLicenseKey && (
<Button type="submit" variant="contained" color="primary" disabled={!isValid}>
{isLoading && <CircularProgress size={20} sx={{ mr: '8px' }} />}
Expand Down

0 comments on commit 9766b4d

Please sign in to comment.