Skip to content

Commit

Permalink
fix case for container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajpratik71 committed May 24, 2024
1 parent f3cd7bb commit 9e3612b
Show file tree
Hide file tree
Showing 19 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'control-plane/**'

env:
IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/controller
IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/controller
DOCKER_BUILDKIT: 1

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-gazer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'gazer/**'

env:
IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/gazer
IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/gazer
DOCKER_BUILDKIT: 1

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-inspector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'ui/**'

env:
IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/inspector
IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/inspector
DOCKER_BUILDKIT: 1

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-sherlock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'sherlock/**'

env:
IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/sherlock
IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/sherlock
DOCKER_BUILDKIT: 1

jobs:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
- v*

env:
CONTROLLER_IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/controller
GAZER_IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/gazer
INSPECTOR_IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/inspector
SHERLOCK_IMAGE_NAME: ghcr.io/Monitoring-Projects/lazy-koala/sherlock
CONTROLLER_IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/controller
GAZER_IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/gazer
INSPECTOR_IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/inspector
SHERLOCK_IMAGE_NAME: ghcr.io/monitoring-projects/lazy-koala/sherlock
DOCKER_BUILDKIT: 1

jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Lazy Koala is a lightweight framework for root cause analysis in distributed sys
# Usage

```sh
git clone https://github.com/Monitoring-Projects/lazy-koala
git clone https://github.com/monitoring-projects/lazy-koala
cd lazy-koala/charts
helm install lazy-koala -n lazy-koala --create-namespace .
```
Expand Down
10 changes: 5 additions & 5 deletions charts/lazy-koala/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
operator:
create: true
image:
repository: ghcr.io/Monitoring-Projects/lazy-koala/controller
repository: ghcr.io/monitoring-projects/lazy-koala/controller
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand Down Expand Up @@ -48,13 +48,13 @@ operator:
gazer:
create: true
image:
repository: ghcr.io/Monitoring-Projects/lazy-koala/gazer
repository: ghcr.io/monitoring-projects/lazy-koala/gazer
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

initImage:
repository: ghcr.io/Monitoring-Projects/lazy-koala/gazer
repository: ghcr.io/monitoring-projects/lazy-koala/gazer
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "init"
Expand Down Expand Up @@ -159,7 +159,7 @@ gazer:
sherlock:
create: true
image:
repository: ghcr.io/Monitoring-Projects/lazy-koala/sherlock
repository: ghcr.io/monitoring-projects/lazy-koala/sherlock
pullPolicy: IfNotPresent
tag: "latest"

Expand Down Expand Up @@ -231,7 +231,7 @@ sherlock:
inspector:
create: true
image:
repository: ghcr.io/Monitoring-Projects/lazy-koala/inspector
repository: ghcr.io/monitoring-projects/lazy-koala/inspector
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand Down
2 changes: 1 addition & 1 deletion control-plane/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Image URL to use all building/pushing image targets
IMG ?= ghcr.io/Monitoring-Projects/lazy-koala/controller:latest
IMG ?= ghcr.io/monitoring-projects/lazy-koala/controller:latest
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.23

Expand Down
4 changes: 2 additions & 2 deletions control-plane/PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ domain: isala.me
layout:
- go.kubebuilder.io/v3
projectName: control-plane-2
repo: github.com/Monitoring-Projects/LazyKoala
repo: github.com/monitoring-projects/LazyKoala
resources:
- api:
crdVersion: v1
Expand All @@ -11,6 +11,6 @@ resources:
domain: isala.me
group: lazykoala
kind: Inspector
path: github.com/Monitoring-Projects/LazyKoala/api/v1alpha1
path: github.com/monitoring-projects/LazyKoala/api/v1alpha1
version: v1alpha1
version: "3"
2 changes: 1 addition & 1 deletion control-plane/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/Monitoring-Projects/lazy-koala/controller
newName: ghcr.io/monitoring-projects/lazy-koala/controller
newTag: latest
2 changes: 1 addition & 1 deletion control-plane/controllers/inspector_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/predicate"

lazykoalav1alpha1 "github.com/Monitoring-Projects/LazyKoala/api/v1alpha1"
lazykoalav1alpha1 "github.com/monitoring-projects/LazyKoala/api/v1alpha1"
)

// InspectorReconciler reconciles a Inspector object
Expand Down
2 changes: 1 addition & 1 deletion control-plane/controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

lazykoalav1alpha1 "github.com/Monitoring-Projects/LazyKoala/api/v1alpha1"
lazykoalav1alpha1 "github.com/monitoring-projects/LazyKoala/api/v1alpha1"
//+kubebuilder:scaffold:imports
)

Expand Down
2 changes: 1 addition & 1 deletion control-plane/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Monitoring-Projects/LazyKoala
module github.com/monitoring-projects/LazyKoala

go 1.17

Expand Down
4 changes: 2 additions & 2 deletions control-plane/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/healthz"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

lazykoalav1alpha1 "github.com/Monitoring-Projects/LazyKoala/api/v1alpha1"
"github.com/Monitoring-Projects/LazyKoala/controllers"
lazykoalav1alpha1 "github.com/monitoring-projects/LazyKoala/api/v1alpha1"
"github.com/monitoring-projects/LazyKoala/controllers"
//+kubebuilder:scaffold:imports
)

Expand Down
6 changes: 3 additions & 3 deletions gazer/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
TAG=$(date +%s)

docker build . -t ghcr.io/Monitoring-Projects/lazy-koala/gazer:$TAG
minikube image load ghcr.io/Monitoring-Projects/lazy-koala/gazer:$TAG
kubectl set image daemonsets.apps gazer gazer=ghcr.io/Monitoring-Projects/lazy-koala/gazer:$TAG -n lazy-koala
docker build . -t ghcr.io/monitoring-projects/lazy-koala/gazer:$TAG
minikube image load ghcr.io/monitoring-projects/lazy-koala/gazer:$TAG
kubectl set image daemonsets.apps gazer gazer=ghcr.io/monitoring-projects/lazy-koala/gazer:$TAG -n lazy-koala
kubectl scale --replicas 0 deployment prometheus -n lazy-koala
sleep 1
kubectl scale --replicas 1 deployment prometheus -n lazy-koala
4 changes: 2 additions & 2 deletions gazer/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: gazer
image: ghcr.io/Monitoring-Projects/lazy-koala/gazer:latest
image: ghcr.io/monitoring-projects/lazy-koala/gazer:latest
ports:
- containerPort: 8000
name: metrics
Expand Down Expand Up @@ -84,7 +84,7 @@ spec:
serviceAccountName: gazer
initContainers:
- name: init-headers
image: ghcr.io/Monitoring-Projects/lazy-koala/gazer:init
image: ghcr.io/monitoring-projects/lazy-koala/gazer:init
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
Expand Down
2 changes: 1 addition & 1 deletion inspector/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- name: inspector
command: ["inspector"]
imagePullPolicy: Always
image: ghcr.io/Monitoring-Projects/lazy-koala/inspector:latest
image: ghcr.io/monitoring-projects/lazy-koala/inspector:latest
ports:
- containerPort: 8090
name: http
Expand Down
2 changes: 1 addition & 1 deletion inspector/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Monitoring-Projects/LazyKoala/proxy
module github.com/monitoring-projects/LazyKoala/proxy

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion sherlock/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
containers:
- name: sherlock
imagePullPolicy: Always
image: ghcr.io/Monitoring-Projects/lazy-koala/sherlock:latest
image: ghcr.io/monitoring-projects/lazy-koala/sherlock:latest
ports:
- containerPort: 9898
name: metrics
Expand Down

0 comments on commit 9e3612b

Please sign in to comment.