diff --git a/config/operator/base/ui-extensions/serverless/details b/config/operator/base/ui-extensions/serverless/details index 514abbc95..c7129dbee 100644 --- a/config/operator/base/ui-extensions/serverless/details +++ b/config/operator/base/ui-extensions/serverless/details @@ -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 @@ -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 diff --git a/config/operator/base/ui-extensions/serverless/kustomization.yaml b/config/operator/base/ui-extensions/serverless/kustomization.yaml index f1cb5ce1c..64ca40216 100644 --- a/config/operator/base/ui-extensions/serverless/kustomization.yaml +++ b/config/operator/base/ui-extensions/serverless/kustomization.yaml @@ -1,6 +1,5 @@ configMapGenerator: - name: operator.kyma-project.io - namespace: kyma-system files: - general - form diff --git a/config/serverless/templates/busola-serverless-extension.yaml b/config/serverless/templates/busola-serverless-extension.yaml index e4308557d..543ecb8c6 100644 --- a/config/serverless/templates/busola-serverless-extension.yaml +++ b/config/serverless/templates/busola-serverless-extension.yaml @@ -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