Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config_quay/master.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ include::modules/config-fields-misc.adoc[leveloffset=+2]
include::modules/config-fields-legacy.adoc[leveloffset=+2]
include::modules/config-fields-v2-ui.adoc[leveloffset=+2]
include::modules/config-fields-ipv6.adoc[leveloffset=+2]
include::modules/config-fields-branding.adoc[leveloffset=+2]

include::modules/config-envvar-intro.adoc[leveloffset=+1]
include::modules/config-envvar-georepl.adoc[leveloffset=+2]
Expand Down
4 changes: 4 additions & 0 deletions manage_quay/master.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,13 @@ include::modules/restoring-red-hat-quay-standalone.adoc[leveloffset=+2]

include::modules/garbage-collection.adoc[leveloffset=+1]

//branding
include::modules/branding-quay-deployment.adoc[leveloffset=+1]

include::modules/proc_manage-quay-troubleshooting.adoc[leveloffset=+1]

include::modules/con_schema.adoc[leveloffset=+1]


[discrete]
== Additional resources
34 changes: 34 additions & 0 deletions modules/branding-quay-deployment.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
:_content-type: CONCEPT
[id="branding-quay-deployment"]
= Customizing a {productname} deployment

You can customize your {productname} deployment by changing the registry title, logo, footer image, and by directing users to a website embedded in the footer image.

.Procedure

. Update your {productname} `config.yaml` file to add the following parameters:
+
[source,yaml]
----
BRANDING:
logo: <1>
footer_img: <2>
footer_url: <3>
---
REGISTRY_TITLE: <4>
REGISTRY_TITLE_SHORT: <5>
----
<1> The URL of the image that will appear at the top of your {productname} deployment.
<2> The URL of the image that will appear at the bottom of your {productname} deployment.
<3> The URL of the website that users will be directed to when clicking the footer image.
<4> The the long-form title for the registry. This is displayed in frontend of your {productname} deployment, for example, at the sign in page of your organization.
<5> The short-form title for the registry. The title is displayed on various pages of your organization, for example, as the title of the tutorial on your organization's *Tutorial* page.

. Restart your {productname} deployment. After restarting, your {productname} deployment is updated with a new logo, footer image, and footer image URL.

////

[role="_additional-resources"]
== Additional resources

*
70 changes: 35 additions & 35 deletions modules/config-fields-basic.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,56 +5,56 @@
[cols="3a,1a,2a",options="header"]
|===
| Field | Type | Description
| **REGISTRY_TITLE** | String | If specified, the long-form title for the registry. It should not exceed 35 characters. It will be displayed in the frontend of your {productname} deployment, for example, in your browser tab +
+
**Default:** +
| **REGISTRY_TITLE** | String | If specified, the long-form title for the registry. Displayed in frontend of your {productname} deployment, for example, at the sign in page of your organization. Should not exceed 35 characters.
+
**Default:** +
`Red Hat Quay`
| **REGISTRY_TITLE_SHORT** | String | If specified, the short-form title for the registry. It will be displayed in the frontend of your {productname} deployment, for example, in your browser tab +
+
**Default:** +
| **REGISTRY_TITLE_SHORT** | String | If specified, the short-form title for the registry. Title is displayed on various pages of your organization, for example, as the title of the tutorial on your organization's *Tutorial* page.
+
**Default:** +
`Red Hat Quay`
| {nbsp} | {nbsp} |{nbsp}
| **BRANDING** | Object | Custom branding for logos and URLs in the {productname} UI.

| **.logo** +
(Required) | String | Main logo image URL. +
+
**Example:** +
| **.logo** +
(Required) | String | Main logo image URL. +
+
**Example:** +
`/static/img/quay-horizontal-color.svg`
| **.footer_img** | String | Logo for UI footer. +
+
**Example:** +
| **.footer_img** | String | Logo for UI footer. +
+
**Example:** +
`/static/img/RedHat.svg`
| **.footer_url** | String | Link for footer image. +
+
**Example:** +
| **.footer_url** | String | Link for footer image. +
+
**Example:** +
`https://redhat.com`

| **CONTACT_INFO** | Array of String | If specified, contact information to display on the contact page. If only a single piece of contact information is specified, the contact footer will link directly.
|**[0]** | String | Adds a link to send an e-mail. +
+
**Pattern:** +
`^mailto:(.)+$` +
**Example:** +
|**[0]** | String | Adds a link to send an e-mail. +
+
**Pattern:** +
`^mailto:(.)+$` +
**Example:** +
`mailto:support@quay.io`
|**[1]** | String | Adds a link to visit an IRC chat room. +
+
**Pattern:** +
`^irc://(.)+$` +
**Example:** +
|**[1]** | String | Adds a link to visit an IRC chat room. +
+
**Pattern:** +
`^irc://(.)+$` +
**Example:** +
`irc://chat.freenode.net:6665/quay`

|**[2]** | String | Adds a link to call a phone number.+
+
**Pattern:** +
`^tel:(.)+$` +
**Example:** +
+
**Pattern:** +
`^tel:(.)+$` +
**Example:** +
`tel:+1-888-930-3475`

|**[3]** | String |Adds a link to a defined URL. +
+
**Pattern:** +
`^http(s)?://(.)+$` +
**Example:** +
|**[3]** | String |Adds a link to a defined URL. +
+
**Pattern:** +
`^http(s)?://(.)+$` +
**Example:** +
`https://twitter.com/quayio`
|===
28 changes: 28 additions & 0 deletions modules/config-fields-branding.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
:_content-type: CONCEPT
[id="config-fields-branding"]
= Branding configuration fields

.Branding configuration fields
[cols="3a,1a,2a",options="header"]
|===
|Field | Type |Description
| **BRANDING** | Object | Configuration for {productname} branding.

| **logo** | String | The URL scheme to be used for the top image of your {productname} deployment.

| **footer_img** | String | The URL scheme to be used for the footer image of your {productname} deployment.

| **footer_url** | String | The URL scheme of the website that users will be directed to when clicking the footer image.
|===

[id="example-config-fields-branding"]
== Example configuration for {productname} branding

.Branding config.yaml example
[source,yaml]
----
BRANDING:
logo: https://www.mend.io/wp-content/media/2020/03/5-tips_small.jpg
footer_img: https://www.mend.io/wp-content/media/2020/03/5-tips_small.jpg
footer_url: https://opensourceworld.org/
----
2 changes: 1 addition & 1 deletion modules/proc_creating-ocp-secret-for-oauth-token.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:_content-type: PROCEDURE
[[creating-ocp-secret-for-oauth-token]]
[id="creating-ocp-secret-for-oauth-token"]
= Creating an {ocp} secret for the OAuth token

In this procedure, you will add the previously obtained access token to communicate with your {productname} deployment. The access token will be stored within {ocp} as a secret.
Expand Down
6 changes: 3 additions & 3 deletions modules/proc_creating-quay-integration-cr.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:_content-type: PROCEDURE
[[creating-quay-integration-cr]]
== Creating the QuayIntegration custom resource
[id="creating-quay-integration-cr"]
= Creating the QuayIntegration custom resource

In this procedure, you will create a `QuayIntegration` custom resource, which can be completed from either the web console or from the command line.

Expand All @@ -11,7 +11,7 @@ In this procedure, you will create a `QuayIntegration` custom resource, which ca
* An {ocp} 4.6 or greater environment for which you have cluster administrator permissions.
* Optional: You have installed the OpenShift CLI (oc).

=== Optional: Creating the QuayIntegration custom resource using the CLI
== Optional: Creating the QuayIntegration custom resource using the CLI

Follow this procedure to create the `QuayIntegration` custom resource using the command line.

Expand Down
2 changes: 1 addition & 1 deletion modules/proc_installing-qbo-on-ocp.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:_content-type: PROCEDURE
[[installing-qbo-on-ocp]]
[id="installing-qbo-on-ocp"]
= Installing the {qbo} on {ocp}

In this procedure, you will install the {qbo} on {ocp}.
Expand Down
2 changes: 1 addition & 1 deletion modules/proc_setting-up-quay-for-qbo.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:_content-type: PROCEDURE
[[setting-up-quay-for-qbo]]
[id="setting-up-quay-for-qbo"]
= Setting up {productname} for the {qbo}

In this procedure, you will create a dedicated {productname} organization, and from a new application created within that organization you will generate an OAuth token to be used with the {qbo} in {ocp}.
Expand Down
3 changes: 1 addition & 2 deletions modules/ref_quay-integration-config-fields.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
:_content-type: REFERENCE
[[quay-integration-config-fields]]

[id="quay-integration-config-fields"]
= QuayIntegration configuration fields

The following configuration fields are available for the QuayIntegration custom resource:
Expand Down