Skip to content

Commit

Permalink
Merge branch 'master' into sidebar-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
rbreeze authored Oct 3, 2022
2 parents 2896533 + 76fe1d5 commit b074bd7
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ jobs:
git config --global user.email "john.doe@example.com"
- name: Pull Docker image required for tests
run: |
docker pull ghcr.io/dexidp/dex:v2.32.1-distroless
docker pull ghcr.io/dexidp/dex:v2.35.0-distroless
docker pull argoproj/argo-cd-ci-builder:v1.0.0
docker pull redis:7.0.5-alpine
- name: Create target directory for binaries in the build-process
Expand Down
2 changes: 1 addition & 1 deletion manifests/base/dex/argocd-dex-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
type: RuntimeDefault
containers:
- name: dex
image: ghcr.io/dexidp/dex:v2.32.1-distroless
image: ghcr.io/dexidp/dex:v2.35.0-distroless
imagePullPolicy: Always
command: [/shared/argocd-dex, rundex]
env:
Expand Down
2 changes: 1 addition & 1 deletion manifests/ha/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10962,7 +10962,7 @@ spec:
key: dexserver.disable.tls
name: argocd-cmd-params-cm
optional: true
image: ghcr.io/dexidp/dex:v2.32.1-distroless
image: ghcr.io/dexidp/dex:v2.35.0-distroless
imagePullPolicy: Always
name: dex
ports:
Expand Down
2 changes: 1 addition & 1 deletion manifests/ha/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ spec:
key: dexserver.disable.tls
name: argocd-cmd-params-cm
optional: true
image: ghcr.io/dexidp/dex:v2.32.1-distroless
image: ghcr.io/dexidp/dex:v2.35.0-distroless
imagePullPolicy: Always
name: dex
ports:
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10033,7 +10033,7 @@ spec:
key: dexserver.disable.tls
name: argocd-cmd-params-cm
optional: true
image: ghcr.io/dexidp/dex:v2.32.1-distroless
image: ghcr.io/dexidp/dex:v2.35.0-distroless
imagePullPolicy: Always
name: dex
ports:
Expand Down
2 changes: 1 addition & 1 deletion manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ spec:
key: dexserver.disable.tls
name: argocd-cmd-params-cm
optional: true
image: ghcr.io/dexidp/dex:v2.32.1-distroless
image: ghcr.io/dexidp/dex:v2.35.0-distroless
imagePullPolicy: Always
name: dex
ports:
Expand Down
29 changes: 18 additions & 11 deletions ui/src/app/shared/components/version-info/version-info-panel.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {DataLoader, SlidingPanel, Tooltip} from 'argo-ui';
import * as React from 'react';
import {VersionMessage} from '../../models';
import {services} from '../../services';

interface VersionPanelProps {
isShown: boolean;
Expand All @@ -20,17 +21,23 @@ export class VersionPanel extends React.Component<VersionPanelProps, {copyState:

public render() {
return (
<DataLoader load={() => this.props.version}>
{version => {
return (
<SlidingPanel header={this.header} isShown={this.props.isShown} onClose={() => this.props.onClose()} hasCloseButton={true} isNarrow={true}>
<div className='argo-table-list'>{this.buildVersionTable(version)}</div>
<div>
<Tooltip content='Copy all version info as JSON'>{this.getCopyButton(version)}</Tooltip>
</div>
</SlidingPanel>
);
}}
<DataLoader load={() => services.viewPreferences.getPreferences()}>
{pref => (
<DataLoader load={() => this.props.version}>
{version => {
return (
<div className={'theme-' + pref.theme}>
<SlidingPanel header={this.header} isShown={this.props.isShown} onClose={() => this.props.onClose()} hasCloseButton={true} isNarrow={true}>
<div className='argo-table-list'>{this.buildVersionTable(version)}</div>
<div>
<Tooltip content='Copy all version info as JSON'>{this.getCopyButton(version)}</Tooltip>
</div>
</SlidingPanel>
</div>
);
}}
</DataLoader>
)}
</DataLoader>
);
}
Expand Down

0 comments on commit b074bd7

Please sign in to comment.