Skip to content

Commit

Permalink
Merge pull request #406 from kubero-dev/dependabot/npm_and_yarn/clien…
Browse files Browse the repository at this point in the history
…t/vite-4.5.5

Bump vite from 4.5.3 to 4.5.5 in /client
  • Loading branch information
mms-gianni authored Sep 18, 2024
2 parents e256c28 + bb113ae commit f3fa3c0
Show file tree
Hide file tree
Showing 10 changed files with 141 additions and 37 deletions.
17 changes: 15 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: Bug report
description: Create a bug report to help us improve
title: "[BUG]: "
labels: ["🐞 bug"]
#title: "[BUG]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
## Please read before submitting a bug report
Thanks for taking the time to fill out this bug report. Your feedback helps us improve Kubero.
Before you submit, please make sure you have read our [Troubleshooting](https://docs.kubero.dev/Installation/troubleshooting) guide.
- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -43,3 +49,10 @@ body:
description: Is there anything else we should know about this bug report?
validations:
required: false
- type: textarea
id: debug
attributes:
label: Debug information
description: Run `kubero debug` and provide the output. (remove sensitive information)
validations:
required: false
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: false
blank_issues_enabled: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Feature request
description: Suggest features, propose improvements, discuss new ideas
title: "[FEATURE]: "
labels: ["🚀 feature"]
#title: "[FEATURE]: "
labels: ["Idea/discussion"]
body:
- type: textarea
id: description
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Other issue
description: Use this for any other issues. Do NOT create blank issues
title: "[OTHER]: "
labels: ["🛠 awaiting triage"] # Requires a new label to be created
#title: "[OTHER]: "
labels: ["question"]
body:
- type: textarea
id: description
Expand Down
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Template
description: Sugest or request a new template
title: "Add template for "
labels: ["template"]
body:
- type: input
id: name
attributes:
label: Application Name
description: Name of the application.
validations:
required: true
- type: textarea
id: description
attributes:
label: Describe the application
description: A clear and concise description of what the bug is.
validations:
required: true
- type: input
id: URL
attributes:
label: URL to the application
description: Main URL to the application.
validations:
required: false
- type: input
id: source
attributes:
label: Source code
description: A link to the source code of the application. (if available)
validations:
required: false
# - type: dropdown
# attributes:
# id: tags
# label: select some tags that apply to the application
# multiple: true
# options:
# - Helper
# - Developer
- type: input
id: dockercompose
attributes:
label: Link to Docker compose
description: A link to the Docker compose of the application. (if available)
validations:
required: false
- type: checkboxes
id: maintainer
attributes:
label: Maintainer
description: Are you the maintainer of the application?
options:
- label: I am the maintainer
required: false
17 changes: 9 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Fixes # (issue)

> Please delete options that are not relevant.
- [ ] Template (non-breaking change which adds a template)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Expand All @@ -17,22 +18,22 @@ Fixes # (issue)

> Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [ ] Test A
- [ ] Test B
- [ ] I've build the image and tested it on a kubernetes cluster

**Test Configuration**:

- OS with version:
- Browser with version:
- SDK / CLI with version:
- Operator Version:
- Kubernetes Version:
- Kubero CLI Version (if applicable):

# Checklist:

- [ ] I removed unnecessary debug logs
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I documented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
<!-- - [ ] I have added tests that prove my fix is effective or that my feature works
<!-- - [ ] New and existing unit tests pass locally with my changes
<!-- - [ ] Any dependent changes have been merged and published in downstream modules -->
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"sass": "^1.60.0",
"typescript": "^5.0.0",
"unplugin-fonts": "^1.0.3",
"vite": "^4.2.0",
"vite": "^4.5.5",
"vite-plugin-vuetify": "^1.0.0",
"vue-tsc": "^1.2.0"
}
Expand Down
8 changes: 4 additions & 4 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1743,10 +1743,10 @@ vite-plugin-vuetify@^1.0.0:
debug "^4.3.3"
upath "^2.0.1"

vite@^4.2.0:
version "4.5.3"
resolved "https://registry.yarnpkg.com/vite/-/vite-4.5.3.tgz#d88a4529ea58bae97294c7e2e6f0eab39a50fb1a"
integrity sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==
vite@^4.5.5:
version "4.5.5"
resolved "https://registry.yarnpkg.com/vite/-/vite-4.5.5.tgz#639b9feca5c0a3bfe3c60cb630ef28bf219d742e"
integrity sha512-ifW3Lb2sMdX+WU91s3R0FyQlAyLxOzCSCP37ujw0+r5POeHPwe6udWVIElKQq8gk3t7b8rkmvqC6IHBpCff4GQ==
dependencies:
esbuild "^0.18.10"
postcss "^8.4.27"
Expand Down
40 changes: 40 additions & 0 deletions docker-compose.kind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
services:
# Kubero usually runs in a Kubernetes cluster in the kubero namespace
# If you want to run it locally, you can use kind to create a local Kubernetes cluster
# 1) Find your cluster name [YOUR_CLUSTER_NAME] by running `kind get clusters`
# 2) Set the cluster name in the YOUR_CLUSTER_NAME environment variable `export YOUR_CLUSTER_NAME=...`
# 3) run `kind get kubeconfig --name ${YOUR_CLUSTER_NAME} > ./kubeconfig` to get the right config
# 4) replace localhost with the IP of your host machine in the extra_hosts section `sed -i'' -e "s/127.0.0.1/${YOUR_CLUSTER_NAME}-control-plane/g" ./kubeconfig`
kubero:
container_name: "kubero-ui"
build:
context: .
args:
- VERSION=Local-Build
dockerfile: Dockerfile
image: ghcr.io/kubero-dev/kubero/kubero:latest
#command: ["tail", "-f", "/dev/null"]
env_file:
# copy the .env.template file to .env and change the values to your needs
- server/.env
environment:
# change the KUBERO_CONTEXT to the name of your local kind cluster context
# you can find the name by running `kubectl config get-contexts`
# Must be the same as the context name in the kubeconfig file !
#- KUBECONFIG_BASE64=
- KUBECONFIG_PATH=./kubeconfig
- KUBERO_CONTEXT=kind-${YOUR_CLUSTER_NAME}
- KUBERO_NAMESPACE=kubero
- KUBERO_SESSION_KEY=randomString
ports:
# the UI will be available on http://localhost:8000. Make sure the port is not used by another service
- "8000:2000"
extra_hosts:
# if you are using a local Kubernetes cluster, make sure you use the container name from your
# local kind cluster control plane. You can find the name by running `docker ps` and looking for the
# container name of the control plane. 192.168.65.254 is your host machine IP address.
- "${YOUR_CLUSTER_NAME}-control-plane:192.168.65.254"
volumes:
- ./kubeconfig:/app/server/kubeconfig
- ./server/config.yaml:/app/server/config.yaml
- ./server/db:/app/server/db
28 changes: 11 additions & 17 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version: "3"
services:
# Kubero usually runs in a Kubernetes cluster in the kubero namespace
# If you want to run it locally, you can use kind to create a local Kubernetes cluster
# In case you want to run it from a separate container, you can use the following configuration
# Make sure yourt cluster is accessible with the kubeconfig file or the KUBECONFIG_BASE64 environment variable
# To extract your kubeconfig file from a Kubernetes cluster, you can use the following command:
# kubectl config view --raw --minify | base64
kubero:
container_name: "kubero-ui"
build:
Expand All @@ -15,24 +17,16 @@ services:
# copy the .env.template file to .env and change the values to your needs
- server/.env
environment:
# change the KUBERO_CONTEXT to the name of your local kind cluster context
# you can find the name by running `kubectl config get-contexts`
# Must be the same as the context name in the kubeconfig file !
#- KUBECONFIG_BASE64=
- KUBECONFIG_PATH=./kubeconfig
- KUBERO_CONTEXT=inClusterContext
- KUBECONFIG_BASE64=CHANGE_ME
#- KUBECONFIG_PATH=/app/server/kubeconfig
- KUBERO_CONTEXT=
- KUBERO_NAMESPACE=kubero
- KUBERO_SESSION_KEY=randomString
ports:
# the UI will be available on http://localhost:8000. Make sure the port is not used by another service
- "8000:2000"
extra_hosts:
# if you are using a local Kubernetes cluster, make sure you use the container name from your
# local kind cluster control plane. You can find the name by running `docker ps` and looking for the
# container name of the control plane. 192.168.65.2 is your host machine IP address.
- "kubero-001-control-plane:192.168.65.2"
volumes:
# run `kind get kubeconfig --internal --name kubero-001 > ./kubeconfig-docker` to get the right config
# modify the server in the config to use the external kubernetes port from your host machine
- ./kubeconfig:/app/server/kubeconfig
- ./server/config.yaml:/app/server/config.yaml
# copy the config.yaml.template file to config.yaml
- ./server/config.yaml:/app/server/config.yaml
- ./server/db:/app/server/db
#- ./kubeconfig:/app/server/kubeconfig

0 comments on commit f3fa3c0

Please sign in to comment.