diff --git a/Makefile b/Makefile index 28ac900..55f0ad5 100644 --- a/Makefile +++ b/Makefile @@ -40,20 +40,13 @@ build-webhook-server-image: build-graph-updater: $(CONTAINER_RUNTIME) build ./graph-updater/ -t localhost/$(APP_NAME)-graph-updater:$(APP_VERSION) - -kind-push-cloned-repo-scanner: +kind-push-all: + kind load docker-image localhost/$(APP_NAME)-api:$(APP_VERSION) + kind load docker-image localhost/$(APP_NAME)-web-endpoint-scanner:$(APP_VERSION) kind load docker-image localhost/$(APP_NAME)-cloned-repo-scanner:$(APP_VERSION) - -kind-push-graphql-api: - kind load docker-image localhost/$(APP_NAME)-graphql-api:$(APP_VERSION) - -kind-push-graph-updater: - kind load docker-image localhost/$(APP_NAME)-graph-updater:$(APP_VERSION) - -kind-push-webhook-server: + kind load docker-image localhost/$(APP_NAME)-octokit-scanner:$(APP_VERSION) kind load docker-image localhost/$(APP_NAME)-webhook-server:$(APP_VERSION) - -kind-push-all: kind-push-webhook-server kind-push-graphql-api kind-push-graph-updater kind-push-cloned-repo-scanner + kind load docker-image localhost/$(APP_NAME)-graph-updater:$(APP_VERSION) # _ _ diff --git a/graph-updater/.env.example b/graph-updater/.env.example index bfcee4c..e9bfa94 100644 --- a/graph-updater/.env.example +++ b/graph-updater/.env.example @@ -1,5 +1,6 @@ GITHUB_TOKEN=changeme -NATS_URL=localhost:4222 +# NATS_URL=localhost:4222 +NATS_URL=nats:4222 # GRAPHQL_URL=http://localhost:4000/graphql GRAPHQL_URL=http://api:4000/graphql \ No newline at end of file diff --git a/k8s/kustomization.yaml b/k8s/kustomization.yaml index f177923..1c458d3 100644 --- a/k8s/kustomization.yaml +++ b/k8s/kustomization.yaml @@ -85,4 +85,4 @@ patches: - name: NATS_URL value: nats:4222 - name: GRAPHQL_URL - value: http://graphql-api:4000/graphql + value: http://graphql-api:4000/graphql \ No newline at end of file