Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c8434c609 | |||
| 02c006be8a | |||
| 60a2696a8d | |||
| 64b5d1df2d | |||
| 025a409ab5 | |||
| 9b65f01748 | |||
| e112ddfbeb | |||
| 707fc91a32 | |||
| b2eb4388fd | |||
| 5a451b2035 | |||
| 370d224d76 | |||
| b4c36b0e48 |
@@ -11,8 +11,6 @@ body:
|
||||
The issue tracker is for reporting bugs. If you have an [idea for a new feature](https://github.com/orgs/portainer/discussions/categories/ideas) or a [general question about Portainer](https://github.com/orgs/portainer/discussions/categories/help) please post in our [GitHub Discussions](https://github.com/orgs/portainer/discussions).
|
||||
|
||||
You can also ask for help in our [community Slack channel](https://join.slack.com/t/portainer/shared_invite/zt-txh3ljab-52QHTyjCqbe5RibC2lcjKA).
|
||||
|
||||
Please note that we only provide support for current versions of Portainer. You can find a list of supported versions in our [lifecycle policy](https://docs.portainer.io/start/lifecycle).
|
||||
|
||||
**DO NOT FILE ISSUES FOR GENERAL SUPPORT QUESTIONS**.
|
||||
|
||||
@@ -92,10 +90,9 @@ body:
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Portainer version
|
||||
description: We only provide support for current versions of Portainer as per the lifecycle policy linked above. If you are on an older version of Portainer we recommend [upgrading first](https://docs.portainer.io/start/upgrade) in case your bug has already been fixed.
|
||||
description: We only provide support for the most recent version of Portainer and the previous 3 versions. If you are on an older version of Portainer we recommend [upgrading first](https://docs.portainer.io/start/upgrade) in case your bug has already been fixed.
|
||||
multiple: false
|
||||
options:
|
||||
- '2.24.0'
|
||||
- '2.23.0'
|
||||
- '2.22.0'
|
||||
- '2.21.4'
|
||||
@@ -119,6 +116,9 @@ body:
|
||||
- '2.18.1'
|
||||
- '2.17.1'
|
||||
- '2.17.0'
|
||||
- '2.16.2'
|
||||
- '2.16.1'
|
||||
- '2.16.0'
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
||||
@@ -76,10 +76,6 @@ function CreateView() {
|
||||
Edge Groups
|
||||
</Link>{' '}
|
||||
page to assign environments and create groups.
|
||||
<br />
|
||||
You can upgrade from any agent version to 2.17 or later only.
|
||||
You can not upgrade to an agent version prior to 2.17 . The
|
||||
ability to rollback to originating version is for 2.15.0+ only.
|
||||
</TextTip>
|
||||
|
||||
<Formik
|
||||
@@ -100,6 +96,13 @@ function CreateView() {
|
||||
error={errors.groupIds}
|
||||
/>
|
||||
|
||||
<TextTip color="blue">
|
||||
You can upgrade from any agent version to 2.17 or later
|
||||
only. You can not upgrade to an agent version prior to
|
||||
2.17 . The ability to rollback to originating version is
|
||||
for 2.15.0+ only.
|
||||
</TextTip>
|
||||
|
||||
<div className="mt-2">
|
||||
<ScheduleTypeSelector />
|
||||
</div>
|
||||
|
||||
@@ -91,7 +91,7 @@ function ItemView() {
|
||||
<Widget>
|
||||
<Widget.Title title="Update & Rollback Scheduler" icon={Settings} />
|
||||
<Widget.Body>
|
||||
<TextTip color="blue" className="mb-2">
|
||||
<TextTip color="blue">
|
||||
Devices need to be allocated to an Edge group, visit the{' '}
|
||||
<Link
|
||||
to="edge.groups"
|
||||
@@ -100,10 +100,6 @@ function ItemView() {
|
||||
Edge Groups
|
||||
</Link>{' '}
|
||||
page to assign environments and create groups.
|
||||
<br />
|
||||
You can upgrade from any agent version to 2.17 or later only.
|
||||
You can not upgrade to an agent version prior to 2.17 . The
|
||||
ability to rollback to originating version is for 2.15.0+ only.
|
||||
</TextTip>
|
||||
|
||||
<Formik
|
||||
|
||||
@@ -44,19 +44,5 @@ export function validation(
|
||||
otherwise: (schema) => schema.required('No rollback options available'),
|
||||
}),
|
||||
registryId: number().default(0),
|
||||
agentImage: string()
|
||||
.default('')
|
||||
.when('registryId', {
|
||||
is: 0,
|
||||
then: (schema) => schema.optional(),
|
||||
otherwise: (schema) => schema.required('Agent image is required'),
|
||||
}),
|
||||
updaterImage: string()
|
||||
.default('')
|
||||
.when('registryId', {
|
||||
is: 0,
|
||||
then: (schema) => schema.optional(),
|
||||
otherwise: (schema) => schema.required('Updater image is required'),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -78,6 +78,7 @@ export function useGenericRegistriesQuery<T = Registry[]>(
|
||||
export async function getRegistries() {
|
||||
try {
|
||||
const { data } = await axios.get<Registry[]>('/registries');
|
||||
|
||||
return data;
|
||||
} catch (e) {
|
||||
throw parseAxiosError(e as Error, 'Unable to retrieve registries');
|
||||
|
||||
Reference in New Issue
Block a user