File tree Expand file tree Collapse file tree 5 files changed +50
-50
lines changed
Expand file tree Collapse file tree 5 files changed +50
-50
lines changed Original file line number Diff line number Diff line change 4141 with :
4242 context : .
4343 push : true
44- tags : ${{ env.REGISTRY }}/metal-stack/capms -controller:${{ env.tag }}
44+ tags : ${{ env.REGISTRY }}/metal-stack/cluster-api-metal-stack -controller:${{ env.tag }}
Original file line number Diff line number Diff line change 11# Image URL to use all building/pushing image targets
2- IMG_NAME ?= ghcr.io/metal-stack/capms -controller
2+ IMG_NAME ?= ghcr.io/metal-stack/cluster-api-metal-stack -controller
33IMG_TAG ?= latest
44IMG ?= ${IMG_NAME}:${IMG_TAG}
55# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
@@ -52,8 +52,8 @@ release-manifests: $(KUSTOMIZE) build-installer ## Builds the manifests to publi
5252 $(KUSTOMIZE ) build config/default > $(RELEASE_DIR ) /infrastructure-components.yaml
5353 sed -i ' s!image: $(IMG_NAME):latest!image: $(IMG_NAME):$(IMG_TAG)!' $(RELEASE_DIR ) /infrastructure-components.yaml
5454 cp metadata.yaml $(RELEASE_DIR ) /metadata.yaml
55- # cp examples /clusterctl-templates/clusterctl- cluster.yaml $(RELEASE_DIR)/cluster-template.yaml
56- # cp examples /clusterctl-templates/example_variables.rc $(RELEASE_DIR)/example_variables.rc
55+ cp config /clusterctl-templates/cluster-template .yaml $(RELEASE_DIR ) /cluster-template.yaml
56+ cp config /clusterctl-templates/example_variables.rc $(RELEASE_DIR ) /example_variables.rc
5757
5858# #@ Development
5959
Original file line number Diff line number Diff line change 11.DEFAULT_GOAL := up
22
33KUBECONFIG := $(shell pwd) /mini-lab/.kubeconfig
4- IMG ?= ghcr.io/metal-stack/capms -controller:latest
4+ IMG ?= ghcr.io/metal-stack/cluster-api-metal-stack -controller:latest
55
66.PHONY : up
77up : bake deploy-capi
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44kind : Kustomization
55images :
66- name : controller
7- newName : ghcr.io/metal-stack/capms -controller
8- newTag : xxxxxxx
7+ newName : ghcr.io/metal-stack/cluster-api-metal-stack -controller
8+ newTag : latest
Original file line number Diff line number Diff line change @@ -33,48 +33,48 @@ spec:
3333 seccompProfile :
3434 type : RuntimeDefault
3535 containers :
36- - env :
37- - name : METAL_API_URL
38- valueFrom :
39- secretKeyRef :
40- name : controller-manager-config
41- key : api-url
42- - name : METAL_API_HMAC
43- valueFrom :
44- secretKeyRef :
45- name : controller-manager-config
46- key : api-hmac
47- command :
48- - /manager
49- args :
50- - --leader-elect
51- - --health-probe-bind-address=:8081
52- image : controller:latest
53- imagePullPolicy : IfNotPresent
54- name : manager
55- securityContext :
56- allowPrivilegeEscalation : false
57- capabilities :
58- drop :
59- - " ALL"
60- livenessProbe :
61- httpGet :
62- path : /healthz
63- port : 8081
64- initialDelaySeconds : 15
65- periodSeconds : 20
66- readinessProbe :
67- httpGet :
68- path : /readyz
69- port : 8081
70- initialDelaySeconds : 5
71- periodSeconds : 10
72- resources :
73- limits :
74- cpu : 500m
75- memory : 128Mi
76- requests :
77- cpu : 10m
78- memory : 64Mi
36+ - env :
37+ - name : METAL_API_URL
38+ valueFrom :
39+ secretKeyRef :
40+ name : controller-manager-config
41+ key : api-url
42+ - name : METAL_API_HMAC
43+ valueFrom :
44+ secretKeyRef :
45+ name : controller-manager-config
46+ key : api-hmac
47+ command :
48+ - /manager
49+ args :
50+ - --leader-elect
51+ - --health-probe-bind-address=:8081
52+ image : controller:latest
53+ imagePullPolicy : IfNotPresent
54+ name : manager
55+ securityContext :
56+ allowPrivilegeEscalation : false
57+ capabilities :
58+ drop :
59+ - " ALL"
60+ livenessProbe :
61+ httpGet :
62+ path : /healthz
63+ port : 8081
64+ initialDelaySeconds : 15
65+ periodSeconds : 20
66+ readinessProbe :
67+ httpGet :
68+ path : /readyz
69+ port : 8081
70+ initialDelaySeconds : 5
71+ periodSeconds : 10
72+ resources :
73+ limits :
74+ cpu : 500m
75+ memory : 128Mi
76+ requests :
77+ cpu : 10m
78+ memory : 64Mi
7979 serviceAccountName : controller-manager
8080 terminationGracePeriodSeconds : 10
You can’t perform that action at this time.
0 commit comments