mirror of
https://github.com/containers/kubernetes-mcp-server.git
synced 2025-10-23 01:22:57 +03:00
* Initial KinD setup Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> * Initial Keycloak container setup Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> * Adding an initial realm setup Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> * Adding OIDC issuer and realm updates, adding cert-manager and handling self-signed certificates Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> * Updates to script b/c of invalid auth config Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> * Adjusting ports and better support for mac/podman Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> * Addressing review comments: * do not expose all internal tasks, just keep the important targets documents * remove the keycloak-forward * move binaries for dev tools to _output * generate a configuration TOML file into the _output folder Signed-off-by: Matthias Wessendorf <mwessend@redhat.com> --------- Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
21 lines
445 B
Makefile
21 lines
445 B
Makefile
# Tools
|
|
|
|
# Platform detection
|
|
OS := $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
|
ARCH := $(shell uname -m | tr '[:upper:]' '[:lower:]')
|
|
ifeq ($(ARCH),x86_64)
|
|
ARCH = amd64
|
|
endif
|
|
ifeq ($(ARCH),aarch64)
|
|
ARCH = arm64
|
|
endif
|
|
|
|
KIND = _output/bin/kind
|
|
KIND_VERSION = v0.30.0
|
|
$(KIND):
|
|
@mkdir -p _output/bin
|
|
GOBIN=$(PWD)/_output/bin go install sigs.k8s.io/kind@$(KIND_VERSION)
|
|
|
|
.PHONY: kind
|
|
kind: $(KIND) ## Download kind locally if necessary
|