-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENDOC-782 add vars for paths #832
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,3 +80,20 @@ kubectl scale deploy/YOUR-APP-NAME-deployment --replicas=1 -n YOUR-NAMESPACE | |
``` | ||
|
||
5. Confirm the CDS is working by checking that digital assets are served from the `CDS_PUBLIC_URL`. This includes images displayed on the sample page created by the [Welcome Wizard](../../docs/compose/welcome-wizard.md). | ||
|
||
## Options | ||
### Customize Access to Static Resources | ||
To customize the context of your static assets, use the following environment variables to define their paths. These are optional variables, and the 'internal' path is required only if the internal folder name is different from the public path. | ||
|
||
**For the Primary Tenant**, add these variables with your values in the `EntandoApp` deployment: | ||
``` yaml | ||
- name: CDS_PUBLIC_PATH | ||
value: /YOUR-PUBLIC-PATH | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These options aren't present in 7.3 distribution (I see the folder v7.3) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @eugeniosant Will it be present for 7.3.1 and do you know if that's going to be released anytime soon? |
||
- name: CDS_INTERNAL_PUBLIC_SECTION | ||
value: /YOUR-INTERNAL-PUBLIC-PATH | ||
``` | ||
**For Secondary Tenants**, add these variables with your values in the [Tenant Configuration Secret](./multitenancy.md#tenant-configuration-secret): | ||
``` JSON | ||
"cdsPublicPath": "/YOUR-PUBLIC-PATH", | ||
"cdsInternalPublicSection": "/YOUR-INTERNAL-PUBLIC-PATH", | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to tell what is the default value for each option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eugeniosant, aren't the default values just empty?