mirror of https://github.com/kubevela/velad.git
Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
c13998459a | |
|
bb0045ce90 |
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@ include makefiles/dependency.mk
|
|||
|
||||
K3S_VERSION ?= v1.21.10+k3s1
|
||||
STATIC_DIR := pkg/resources/static
|
||||
VELA_VERSION ?= v1.5.2
|
||||
VELAUX_VERSION ?= v1.5.0
|
||||
VELA_VERSION ?= v1.5.4
|
||||
VELAUX_VERSION ?= v1.5.4
|
||||
LDFLAGS= "-X github.com/oam-dev/velad/version.VelaUXVersion=${VELAUX_VERSION} -X github.com/oam-dev/velad/version.VelaVersion=${VELA_VERSION}"
|
||||
OS ?= linux
|
||||
ARCH ?= amd64
|
||||
|
|
2
go.mod
2
go.mod
|
@ -8,7 +8,7 @@ require (
|
|||
github.com/fatih/color v1.13.0
|
||||
github.com/k3d-io/k3d/v5 v5.4.1
|
||||
github.com/kyokomi/emoji/v2 v2.2.9
|
||||
github.com/oam-dev/kubevela v1.5.2
|
||||
github.com/oam-dev/kubevela v1.5.4
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/spf13/cobra v1.4.0
|
||||
github.com/stretchr/testify v1.7.1
|
||||
|
|
4
go.sum
4
go.sum
|
@ -1486,8 +1486,8 @@ github.com/oam-dev/cluster-gateway v1.4.0 h1:ZZcNRYsUDRWM5JnNX28/zdSPRKERGstcAY+
|
|||
github.com/oam-dev/cluster-gateway v1.4.0/go.mod h1:qnCczkXtTY7h0SqxjZqAAyKQPwrJjLIFy+IdeoaYKCU=
|
||||
github.com/oam-dev/cluster-register v1.0.4-0.20220325092210-cee4a3d3fb7d h1:ZZsBkksYDzwJEjqx9/XBD+VwlhHz8flkZvMJYzO4ASA=
|
||||
github.com/oam-dev/cluster-register v1.0.4-0.20220325092210-cee4a3d3fb7d/go.mod h1:nKEUMfuEB8pHKsaSah9IA+UQzezrPYebBdRozyNtlZc=
|
||||
github.com/oam-dev/kubevela v1.5.2 h1:6Jfgg05E7ZskB1KtagNi8piJm7duzcXMSNuS5QTeniM=
|
||||
github.com/oam-dev/kubevela v1.5.2/go.mod h1:bJB9TyKcPAeAXMK8XHoSiS5aFNp7O/OIXEfJGHxd23s=
|
||||
github.com/oam-dev/kubevela v1.5.4 h1:m8Gp78QZTtspifISlNggwCviHSoFgSJj1SFiILgSo/w=
|
||||
github.com/oam-dev/kubevela v1.5.4/go.mod h1:bJB9TyKcPAeAXMK8XHoSiS5aFNp7O/OIXEfJGHxd23s=
|
||||
github.com/oam-dev/stern v1.13.2 h1:jlGgtJbKmIVhzkH44ft5plkgs8XEfvxbFrQdX60CQR4=
|
||||
github.com/oam-dev/stern v1.13.2/go.mod h1:0pLjZt0amXE/ErF16Rdrgd98H2owN8Hmn3/7CX5+AeA=
|
||||
github.com/oam-dev/terraform-config-inspect v0.0.0-20210418082552-fc72d929aa28 h1:tD8HiFKnt0jnwdTWjeqUnfnUYLD/+Nsmj8ZGIxqDWiU=
|
||||
|
|
|
@ -14,11 +14,11 @@ type: application
|
|||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: v1.5.2
|
||||
version: v1.5.4
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: v1.5.2
|
||||
appVersion: v1.5.4
|
||||
|
||||
home: https://kubevela.io
|
||||
icon: https://kubevela.io/img/logo.svg
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
template: |
|
||||
parameter: {
|
||||
// +usage=Specify the names of the clusters to select.
|
||||
cluster?: [...string]
|
||||
clusters?: [...string]
|
||||
// +usage=Specify the label selector for clusters
|
||||
clusterLabelSelector?: [string]: string
|
||||
// +usage=Deprecated: Use clusterLabelSelector instead.
|
||||
|
|
|
@ -13,12 +13,6 @@ spec:
|
|||
properties:
|
||||
image: {{ .Values.imageRegistry }}{{ .Values.test.app.repository }}:{{ .Values.test.app.tag }}
|
||||
port: 8000
|
||||
traits:
|
||||
- type: ingress
|
||||
properties:
|
||||
domain: testsvc.example.com
|
||||
http:
|
||||
"/": 8000
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
|
@ -52,13 +46,5 @@ spec:
|
|||
kubectl -n {{ include "systemDefinitionNamespace" . }} wait --for=condition=available deployments helm-test-express-server --timeout 3m
|
||||
echo "deployment being available"
|
||||
|
||||
# wait for ingress being created
|
||||
while ! [ `kubectl -n {{ include "systemDefinitionNamespace" . }} get ing helm-test-express-server | grep -v NAME | wc -l` = 1 ]; do
|
||||
echo "waiting for ingress being created"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
|
||||
|
||||
echo "Application and its components are created"
|
||||
restartPolicy: Never
|
||||
|
|
Loading…
Reference in New Issue