Skip to content

Commit

Permalink
chore: Update repo URL everywhere (keptn#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
mowies committed Oct 24, 2022
1 parent c474a3f commit 90c3675
Show file tree
Hide file tree
Showing 50 changed files with 165 additions and 291 deletions.
258 changes: 66 additions & 192 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TAG := $(TAG)

# RELEASE_REGISTRY is the container registry to push
# into.
RELEASE_REGISTRY?=ghcr.io/keptn-sandbox
RELEASE_REGISTRY?=ghcr.io/keptn
ARCH?=amd64

.PHONY: cleanup-manifests
Expand Down Expand Up @@ -34,4 +34,4 @@ deploy-cert-manager:

.PHONY: build-deploy-dev-environment
build-deploy-dev-environment: build-deploy-operator build-deploy-scheduler
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml
4 changes: 2 additions & 2 deletions examples/argo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this example, we will show you how to install our sample application *podtato
* Watch the progress on your ArgoUI: `http://localhost:8080`

## Prerequisites:
This tutorial assumes, that you already installed the Keptn Lifecycle Controller (see https://github.com/keptn-sandbox/lifecycle-service). Furthermore, you have to install ArgoCD, as in the following their [installation instructions](https://argoproj.github.io/argo-cd/getting_started/).
This tutorial assumes, that you already installed the Keptn Lifecycle Controller (see https://github.com/keptn/lifecycle-service). Furthermore, you have to install ArgoCD, as in the following their [installation instructions](https://argoproj.github.io/argo-cd/getting_started/).

### Install ArgoCD
If you don't have an already existing installation of ArgoCD, you can install it using the following commands:
Expand All @@ -37,7 +37,7 @@ Then you can access the UI using http://localhost:8080.
## Installing the Demo Application
To install the demo application, you can use the following command:
```shell
kubectl apply -f https://raw.githubusercontent.com/keptn-sandbox/lifecycle-service/main/examples/argo/config/app.yaml
kubectl apply -f https://raw.githubusercontent.com/keptn/lifecycle-service/main/examples/argo/config/app.yaml
```

You will see that the application will be deployed using ArgoCD. You can watch the progress on the ArgoCD UI and should see the following:
Expand Down
4 changes: 2 additions & 2 deletions examples/flux/config/flux-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: default
spec:
interval: 5m
url: https://github.com/keptn-sandbox/lifecycle-controller
url: https://github.com/keptn/lifecycle-controller
ref:
branch: main
ignore: |
Expand All @@ -27,4 +27,4 @@ spec:
prune: true
sourceRef:
kind: GitRepository
name: lifecycle-controller
name: lifecycle-controller
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/http.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/http.ts
parameters:
map:
url: http://podtato-head-entry.podtato-kubectl.svc.cluster.local:9000
2 changes: 1 addition & 1 deletion examples/podtatohead-deployment/check_entry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/http.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/http.ts
parameters:
map:
url: http://podtato-head-entry.podtato-kubectl.svc.cluster.local:9000
2 changes: 1 addition & 1 deletion examples/taskonly-hello-keptn/http/taskdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts


Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts
parameters:
map:
name: "Parent Developer"
Expand Down
2 changes: 1 addition & 1 deletion functions-runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM denoland/deno:1.25.3 as production

LABEL org.opencontainers.image.source="https://github.com/keptn-sandbox/lifecycle-controller" \
LABEL org.opencontainers.image.source="https://github.com/keptn/lifecycle-controller" \
org.opencontainers.image.url="https://keptn.sh" \
org.opencontainers.image.title="Keptn Functions Runtime" \
org.opencontainers.image.vendor="Keptn" \
Expand Down
2 changes: 1 addition & 1 deletion functions-runtime/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RELEASE_REGISTRY is the container registry to push
# into.
RELEASE_REGISTRY?=ghcr.io/keptn-sandbox
RELEASE_REGISTRY?=ghcr.io/keptn
RELEASE_VERSION?=$(shell date +%Y%m%d%s)-v0.24.3#$(shell git describe --tags --match "v*")
TAG?=latest
RELEASE_IMAGE:=functions-runtime:$(TAG)
Expand Down
6 changes: 3 additions & 3 deletions functions-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ docker build -t keptnsandbox/klc-runtime:${VERSION} .

### Docker with function on webserver (function in this repo)
```
docker run -e SCRIPT=https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/hello-world.ts -it keptnsandbox/klc-runtime:${VERSION}
docker run -e SCRIPT=https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/hello-world.ts -it keptnsandbox/klc-runtime:${VERSION}
```

### Docker with function and external data - scheduler
```
docker run -e SCRIPT=https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/scheduler.ts -e DATA='{ "targetDate":"2025-04-16T06:55:31.820Z" }' -it keptnsandbox/klc-runtime:${VERSION}
docker run -e SCRIPT=https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/scheduler.ts -e DATA='{ "targetDate":"2025-04-16T06:55:31.820Z" }' -it keptnsandbox/klc-runtime:${VERSION}
```

### Docker with function and external secure data - slack
```
docker run -e SCRIPT=https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts -e SECURE_DATA='{ "slack_hook":"hook/parts","text":"this is my test message" }' -it keptnsandbox/klc-runtime:${VERSION}
docker run -e SCRIPT=https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts -e SECURE_DATA='{ "slack_hook":"hook/parts","text":"this is my test message" }' -it keptnsandbox/klc-runtime:${VERSION}
```

2 changes: 1 addition & 1 deletion operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ENTRYPOINT ["/manager"]

FROM gcr.io/distroless/base-debian11:nonroot as production

LABEL org.opencontainers.image.source="https://github.com/keptn-sandbox/lifecycle-controller" \
LABEL org.opencontainers.image.source="https://github.com/keptn/lifecycle-controller" \
org.opencontainers.image.url="https://keptn.sh" \
org.opencontainers.image.title="Keptn Lifecycle Operator" \
org.opencontainers.image.vendor="Keptn" \
Expand Down
2 changes: 1 addition & 1 deletion operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IMG ?= controller:latest

# RELEASE_REGISTRY is the container registry to push
# into.
RELEASE_REGISTRY?=ghcr.io/keptn-sandbox
RELEASE_REGISTRY?=ghcr.io/keptn
RELEASE_TIME=$(shell date +%Y%m%d%s)
BUILD_TIME=$(shell date -u "+%F_%T")
RELEASE_VERSION?=$(RELEASE_TIME)-v0.24.3#$(shell git describe --tags --match "v*")
Expand Down
20 changes: 10 additions & 10 deletions operator/PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ domain: keptn.sh
layout:
- go.kubebuilder.io/v3
projectName: keptn-lifecycle-controller
repo: github.com/keptn-sandbox/lifecycle-controller/operator
repo: github.com/keptn/lifecycle-controller/operator
resources:
- api:
crdVersion: v1
Expand All @@ -11,7 +11,7 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnTaskDefinition
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -20,7 +20,7 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnTask
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -29,7 +29,7 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnApp
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -38,7 +38,7 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnWorkload
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -47,7 +47,7 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnWorkloadInstance
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -56,7 +56,7 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnAppVersion
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -65,15 +65,15 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnEvaluationDefinition
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: keptn.sh
group: lifecycle
kind: KeptnEvaluationProvider
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
Expand All @@ -82,6 +82,6 @@ resources:
domain: keptn.sh
group: lifecycle
kind: KeptnEvaluation
path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1
path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1
version: v1alpha1
version: "3"
2 changes: 1 addition & 1 deletion operator/api/v1alpha1/keptnappversion_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package v1alpha1
import (
"time"

"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"go.opentelemetry.io/otel/attribute"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion operator/api/v1alpha1/keptnevaluation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package v1alpha1
import (
"time"

"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"go.opentelemetry.io/otel/attribute"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion operator/api/v1alpha1/keptntask_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package v1alpha1
import (
"time"

"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"go.opentelemetry.io/otel/attribute"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion operator/api/v1alpha1/keptnworkloadinstance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package v1alpha1
import (
"time"

"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"go.opentelemetry.io/otel/attribute"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
4 changes: 2 additions & 2 deletions operator/api/v1alpha1/semconv/semconv.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package semconv

import (
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"go.opentelemetry.io/otel/trace"
)

Expand Down
2 changes: 1 addition & 1 deletion operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
- name: OTEL_COLLECTOR_URL
value: otel-collector:4317
- name: FUNCTION_RUNNER_IMAGE
value: ghcr.io/keptn-sandbox/functions-runtime:v0.2.1 #x-release-please-version
value: ghcr.io/keptn/functions-runtime:v0.3.0 #x-release-please-version
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts

Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/schedule.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/schedule.ts

Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
spec:
function:
httpRef:
url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts
url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts

4 changes: 2 additions & 2 deletions operator/controllers/keptnapp/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"

"github.com/go-logr/logr"
klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv"
klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Expand Down
6 changes: 3 additions & 3 deletions operator/controllers/keptnappversion/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ import (
"fmt"
"time"

"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"
"sigs.k8s.io/controller-runtime/pkg/builder"
"sigs.k8s.io/controller-runtime/pkg/predicate"

"github.com/go-logr/logr"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/propagation"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/client-go/tools/record"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
Expand All @@ -13,8 +13,8 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
)

func (r *KeptnAppVersionReconciler) reconcilePrePostDeployment(ctx context.Context, appVersion *klcv1alpha1.KeptnAppVersion, checkType common.CheckType) (common.KeptnState, error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"time"

klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv"
klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/types"
)
Expand Down
6 changes: 3 additions & 3 deletions operator/controllers/keptnevaluation/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ import (
"sigs.k8s.io/controller-runtime/pkg/predicate"

"github.com/go-logr/logr"
klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv"
klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common"
"github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv"
)

// KeptnEvaluationReconciler reconciles a KeptnEvaluation object
Expand Down
Loading

0 comments on commit 90c3675

Please sign in to comment.