Skip to content
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

Cleanup Serverless CR details view #1367

Merged
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
77 changes: 6 additions & 71 deletions config/operator/base/ui-extensions/serverless/details
Original file line number Diff line number Diff line change
@@ -1,57 +1,14 @@
header:
- name: Ready
source: status.state
widget: Badge
highlights:
positive:
- 'Ready'
status:
body:
- name: Condition details
widget: ConditionList
source: status.conditions
body:
- widget: Alert
severity: warning
source: '"alert.internalregistry"'
visibility: $root.spec.dockerRegistry.enableInternal = true
- name: Desired Specification
widget: Panel
children:
- name: Docker Registry
visibility: $root.spec.dockerRegistry.enableInternal = true
source: spec.dockerRegistry.enableInternal?"INTERNAL":""
- name: Docker Registry
visibility: '$exists($value)'
source: spec.dockerRegistry.secretName
widget: ResourceLink
resource:
name: spec.dockerRegistry.secretName
namespace: $root.metadata.namespace
kind: "'Secret'"
- name: Eventing Endpoint
source: spec.eventing.endpoint
visibility: '$exists($value)'
- name: OTLP Trace Endpoint
source: spec.tracing.endpoint
visibility: '$exists($value)'
- name: Default Resources Preset (Build-time)
source: spec.defaultBuildJobPreset
visibility: '$exists($value)'
- name: Default Resources Preset (Runtime)
source: spec.defaultRuntimePodPreset
visibility: '$exists($value)'
- name: Custom Build Execution Args
source: spec.functionBuildExecutorArgs
visibility: '$exists($value)'
- name: Max Simultaneous Builds
source: spec.functionBuildMaxSimultaneousJobs
visibility: '$exists($value)'
- name: Function Requeue Duration
source: spec.functionRequeueDuration
visibility: '$exists($value)'
- name: Controller Liveness Timeout
source: spec.healthzLivenessTimeout
visibility: '$exists($value)'
- name: Target CPU utilisation for HPA
source: spec.targetCPUUtilizationPercentage
visibility: '$exists($value)'
- name: Status
- name: Configuration
widget: Panel
children:
- name: Docker Registry
Expand All @@ -66,28 +23,6 @@ body:
source: status.defaultBuildJobPreset
- name: Default Function Preset
source: status.defaultRuntimePodPreset
- source: status.conditions
widget: Table
name: Reconciliation Conditions
children:
- source: type
name: Type
- source: status
name: Status
widget: Badge
highlights:
positive:
- 'True'
negative:
- 'False'
- source: reason
name: Reason
- source: message
name: Message
- source: '$readableTimestamp(lastTransitionTime)'
name: Last transition
sort: true

- widget: EventList
filter: '$matchEvents($$, $root.kind, $root.metadata.name)'
name: events
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
configMapGenerator:
- name: operator.kyma-project.io
namespace: kyma-system
files:
- general
- form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: ConfigMap
apiVersion: v1
metadata:
name: functions
namespace: kube-public
namespace: {{ .Release.Namespace }}
labels:
{{- include "tplValue" ( dict "value" .Values.global.commonLabels "context" . ) | nindent 4 }}
busola.io/extension: resource
Expand Down
Loading