Skip to content

Commit 7bbd2a7

Browse files
committed
Merge branch 'main' into fix-argocd-rbac-kubelink
2 parents 896218b + dfce4bd commit 7bbd2a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2184
-72
lines changed

api/helm-app/HelmAppService.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ import (
44
"context"
55
"errors"
66
"fmt"
7+
"net/http"
8+
"reflect"
9+
"strconv"
10+
"strings"
11+
"time"
12+
713
"github.com/caarlos0/env/v6"
814
"github.com/devtron-labs/devtron/api/connector"
915
openapi "github.com/devtron-labs/devtron/api/helm-app/openapiClient"
@@ -23,17 +29,12 @@ import (
2329
util2 "github.com/devtron-labs/devtron/util"
2430
"github.com/devtron-labs/devtron/util/rbac"
2531
jsonpatch "github.com/evanphx/json-patch"
26-
"github.com/ghodss/yaml"
2732
"github.com/gogo/protobuf/proto"
2833
"github.com/tidwall/gjson"
2934
"github.com/tidwall/sjson"
3035
"go.opentelemetry.io/otel"
3136
"go.uber.org/zap"
32-
"net/http"
33-
"reflect"
34-
"strconv"
35-
"strings"
36-
"time"
37+
"sigs.k8s.io/yaml"
3738
)
3839

3940
type HelmAppService interface {

charts/devtron/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: devtron-operator
3-
appVersion:
3+
appVersion: 0.6.18-rc.2
44
description: Chart to configure and install Devtron. Devtron is a Kubernetes Orchestration system.
55
keywords:
66
- Devtron

charts/devtron/devtron-bom.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ global:
99
runAsNonRoot: true
1010

1111
installer:
12-
release: ""
12+
release: "v0.6.18-rc.2"
1313
image: "quay.io/devtron/inception"
1414
tag: "44b30917-185-13275"
1515

1616
components:
1717
dashboard:
18-
image: "quay.io/devtron/dashboard:b1ae0175-325-14079"
18+
image: "quay.io/devtron/dashboard:961adac9-325-14236"
1919
config:
2020
extraConfigs:
2121
USE_V2: "true"
2222
ENABLE_BUILD_CONTEXT: "true"
2323
devtron:
24-
image: "quay.io/devtron/hyperion:c5f54cc9-280-14100"
25-
cicdImage: "quay.io/devtron/devtron:c5f54cc9-434-14099"
24+
image: "quay.io/devtron/hyperion:2c6ed701-280-14059"
25+
cicdImage: "quay.io/devtron/devtron:2c6ed701-434-14060"
2626
argocdDexServer:
2727
image: "ghcr.io/dexidp/dex:v2.30.2"
2828
initContainer:
2929
authenticator: "quay.io/devtron/authenticator:e414faff-393-13273"
3030
kubelink:
31-
image: "quay.io/devtron/kubelink:451a1a1a-318-13790"
31+
image: "quay.io/devtron/kubelink:63967b3a-318-14165"
3232
configs:
3333
ENABLE_HELM_RELEASE_CACHE: "true"
3434
PG_ADDR: postgresql-postgresql.devtroncd
@@ -48,10 +48,10 @@ components:
4848
envVars:
4949
devtron:
5050
GIT_BRANCH: "main"
51-
GIT_HASH: "2c6ed701f1c9b357eee0c07587c426033bd4c4f4"
51+
GIT_HASH: "73f1aa560d4bfbca97d702bbb12577cb800699fa"
5252
casbin:
5353
GIT_BRANCH: "main"
54-
GIT_HASH: "2c6ed701f1c9b357eee0c07587c426033bd4c4f4"
54+
GIT_HASH: "73f1aa560d4bfbca97d702bbb12577cb800699fa"
5555

5656
argo-cd:
5757
global:

charts/devtron/values.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ global:
1010
installer:
1111
repo: "devtron-labs/devtron"
1212
# For Kubernetes version < 1.16, set release: legacy. You won't be able to upgrade Devtron unless you upgrade the K8s version to 1.16 or above.
13-
release: "" #You can use a branch name or a release tag name as a release, for gitee as source only "main" is supported as of now
13+
release: "v0.6.18-rc.2" #You can use a branch name or a release tag name as a release, for gitee as source only "main" is supported as of now
1414
image: quay.io/devtron/inception
1515
tag: 44b30917-185-13275
1616
source: "github" # Available options are github and gitee
@@ -55,12 +55,12 @@ components:
5555
extraConfigs:
5656
USE_V2: "true"
5757
ENABLE_BUILD_CONTEXT: "true"
58-
image: "quay.io/devtron/dashboard:b1ae0175-325-14079"
58+
image: "quay.io/devtron/dashboard:961adac9-325-14236"
5959
imagePullPolicy: IfNotPresent
6060

6161
devtron:
62-
image: "quay.io/devtron/hyperion:c5f54cc9-280-14100"
63-
cicdImage: "quay.io/devtron/devtron:c5f54cc9-434-14099"
62+
image: "quay.io/devtron/hyperion:2c6ed701-280-14059"
63+
cicdImage: "quay.io/devtron/devtron:2c6ed701-434-14060"
6464
imagePullPolicy: IfNotPresent
6565
customOverrides: {}
6666
serviceMonitor:
@@ -92,7 +92,7 @@ components:
9292
authenticator: "quay.io/devtron/authenticator:e414faff-393-13273"
9393

9494
kubelink:
95-
image: "quay.io/devtron/kubelink:451a1a1a-318-13790"
95+
image: "quay.io/devtron/kubelink:63967b3a-318-14165"
9696
imagePullPolicy: IfNotPresent
9797
configs:
9898
ENABLE_HELM_RELEASE_CACHE: "true"
@@ -120,13 +120,13 @@ components:
120120
SCRIPT_LOCATION: "scripts/sql/"
121121
GIT_REPO_URL: "https://github.com/devtron-labs/devtron.git"
122122
DB_NAME: "orchestrator"
123-
GIT_HASH: "2c6ed701f1c9b357eee0c07587c426033bd4c4f4"
123+
GIT_HASH: "73f1aa560d4bfbca97d702bbb12577cb800699fa"
124124
casbin:
125125
GIT_BRANCH: "main"
126126
SCRIPT_LOCATION: "scripts/casbin/"
127127
GIT_REPO_URL: "https://github.com/devtron-labs/devtron.git"
128128
DB_NAME: "casbin"
129-
GIT_HASH: "2c6ed701f1c9b357eee0c07587c426033bd4c4f4"
129+
GIT_HASH: "73f1aa560d4bfbca97d702bbb12577cb800699fa"
130130

131131
# values for argocd integration
132132
argo-cd:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ require (
1818
github.com/devtron-labs/common-lib v0.0.0-20230407072229-d4f665f5ca12
1919
github.com/devtron-labs/protos v0.0.0-20230503113602-282404f70fd2
2020
github.com/evanphx/json-patch v5.6.0+incompatible
21-
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
2221
github.com/go-pg/pg v6.15.1+incompatible
2322
github.com/go-resty/resty/v2 v2.7.0
2423
github.com/gogo/protobuf v1.3.2
@@ -122,6 +121,7 @@ require (
122121
github.com/fatih/camelcase v1.0.0 // indirect
123122
github.com/felixge/httpsnoop v1.0.3 // indirect
124123
github.com/fvbommel/sortorder v1.0.1 // indirect
124+
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 // indirect
125125
github.com/go-errors/errors v1.0.1 // indirect
126126
github.com/go-git/gcfg v1.5.0 // indirect
127127
github.com/go-git/go-billy/v5 v5.3.1 // indirect

internal/util/ChartService.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,7 @@ import (
2121
"compress/gzip"
2222
"context"
2323
"fmt"
24-
"github.com/devtron-labs/devtron/api/bean"
25-
"github.com/devtron-labs/devtron/internal/sql/repository"
26-
appStoreBean "github.com/devtron-labs/devtron/pkg/appStore/bean"
27-
//appStoreBean "github.com/devtron-labs/devtron/pkg/appStore/bean"
28-
chartRepoRepository "github.com/devtron-labs/devtron/pkg/chartRepo/repository"
29-
repository2 "github.com/devtron-labs/devtron/pkg/user/repository"
30-
"github.com/devtron-labs/devtron/util"
31-
"github.com/go-pg/pg"
32-
"go.opentelemetry.io/otel"
24+
3325
"io/ioutil"
3426
"math/rand"
3527
"net/http"
@@ -40,11 +32,19 @@ import (
4032
"strings"
4133
"time"
4234

43-
"github.com/ghodss/yaml"
35+
"github.com/devtron-labs/devtron/api/bean"
36+
"github.com/devtron-labs/devtron/internal/sql/repository"
37+
appStoreBean "github.com/devtron-labs/devtron/pkg/appStore/bean"
38+
chartRepoRepository "github.com/devtron-labs/devtron/pkg/chartRepo/repository"
39+
repository2 "github.com/devtron-labs/devtron/pkg/user/repository"
40+
"github.com/devtron-labs/devtron/util"
41+
"github.com/go-pg/pg"
4442
dirCopy "github.com/otiai10/copy"
43+
"go.opentelemetry.io/otel"
4544
"go.uber.org/zap"
4645
"k8s.io/helm/pkg/chartutil"
4746
"k8s.io/helm/pkg/proto/hapi/chart"
47+
"sigs.k8s.io/yaml"
4848
)
4949

5050
type ChartWorkingDir string

internal/util/K8sUtil.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ import (
2323
error2 "errors"
2424
"flag"
2525
"fmt"
26-
"github.com/argoproj/gitops-engine/pkg/utils/kube"
27-
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
28-
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
29-
"k8s.io/apimachinery/pkg/runtime/schema"
30-
"k8s.io/apimachinery/pkg/version"
3126
"net/http"
3227
"os/user"
3328
"path/filepath"
3429
"strings"
3530
"time"
3631

32+
"github.com/argoproj/gitops-engine/pkg/utils/kube"
33+
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
34+
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
35+
"k8s.io/apimachinery/pkg/runtime/schema"
36+
"k8s.io/apimachinery/pkg/version"
37+
3738
"github.com/devtron-labs/authenticator/client"
38-
"github.com/ghodss/yaml"
3939
"go.uber.org/zap"
4040
batchV1 "k8s.io/api/batch/v1"
4141
v1 "k8s.io/api/core/v1"
@@ -47,6 +47,7 @@ import (
4747
v12 "k8s.io/client-go/kubernetes/typed/core/v1"
4848
"k8s.io/client-go/rest"
4949
"k8s.io/client-go/tools/clientcmd"
50+
"sigs.k8s.io/yaml"
5051
)
5152

5253
type K8sUtil struct {

manifests/install/devtron-installer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: installer-devtron
55
namespace: devtroncd
66
spec:
7-
url: https://raw.githubusercontent.com/devtron-labs/devtron//manifests/installation-script
7+
url: https://raw.githubusercontent.com/devtron-labs/devtron/v0.6.18-rc.2/manifests/installation-script

manifests/installation-script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LTAG="";
1+
LTAG="v0.6.18-rc.2";
22
REPO_RAW_URL="https://raw.githubusercontent.com/devtron-labs/devtron/";
33

44
operatorSecret = kubectl get secret -n devtroncd devtron-operator-secret;

manifests/release.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
beta 1 v0.6.18-rc.1
1+
beta 2 v0.6.18-rc.2

0 commit comments

Comments
 (0)