Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Evangelos Skopelitis <[email protected]>
  • Loading branch information
skoeva committed Oct 25, 2024
1 parent e3d3a5b commit d3c178f
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create endpoint"
aria-label="Create Endpoints"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -787,7 +787,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create endpoint
Create Endpoints
</h1>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create ingressClass"
aria-label="Create IngressClass"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -717,7 +717,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create ingressClass
Create IngressClass
</h1>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create ingress"
aria-label="Create Ingress"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -1038,7 +1038,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create ingress
Create Ingress
</h1>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create node"
aria-label="Create Node"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -1227,7 +1227,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create node
Create Node
</h1>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create persistentVolumeClaim"
aria-label="Create PersistentVolumeClaim"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -1425,7 +1425,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create persistentVolumeClaim
Create PersistentVolumeClaim
</h1>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create storageClass"
aria-label="Create StorageClass"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -878,7 +878,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create storageClass
Create StorageClass
</h1>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="MuiBox-root css-ldp2l3"
>
<button
aria-label="Create storageClass"
aria-label="Create StorageClass"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
Expand Down Expand Up @@ -872,7 +872,7 @@
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
>
Create storageClass
Create StorageClass
</h1>
</div>
<div
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/lib/k8s/KubeObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,11 @@ export class KubeObject<T extends KubeObjectInterface | KubeEvent = any> {
}
}

static getBaseObject() {
static getBaseObject(): Omit<KubeObjectInterface, 'metadata'> & {
metadata: Partial<KubeMetadata>;
} {
return {
apiVersion: this.apiVersion,
apiVersion: Array.isArray(this.apiVersion) ? this.apiVersion[0] : this.apiVersion,
kind: this.kind,
metadata: {
name: '',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/plugin/__snapshots__/pluginLib.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"ConfirmButton": [Function],
"ConfirmDialog": [Function],
"CreateButton": [Function],
"CreateResourceButton": [Function],
"DateLabel": [Function],
"DeleteButton": [Function],
"Dialog": [Function],
Expand Down

0 comments on commit d3c178f

Please sign in to comment.