Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 7f43ac3

Browse files
committed
and another refactor
1 parent e74afa3 commit 7f43ac3

18 files changed

+771
-1286
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ _artifacts
3737
`
3838

3939
# Temp files
40-
tmp/
40+
tmp/
41+
42+
# Release Files
43+
out/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RUN apt-get update && \
8080
apt-get install -y --no-install-recommends ca-certificates=20240203~22.04.1 curl=7.81.0-1ubuntu1.20 && \
8181
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
8282
apt-get install -y nodejs=18.19.1-1nodesource1 && \
83-
npm install -g [email protected].96 && \
83+
npm install -g [email protected].97 && \
8484
curl -fsSL -o go1.24.4.linux-amd64.tar.gz https://go.dev/dl/go1.24.4.linux-amd64.tar.gz && \
8585
tar -C /usr/local -xzf go1.24.4.linux-amd64.tar.gz && \
8686
rm go1.24.4.linux-amd64.tar.gz && \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ CAPI_KIND_CLUSTER_NAME ?= capi-test
232232

233233
# It is set by Prow GIT_TAG, a git-based tag of the form vYYYYMMDD-hash, e.g., v20210120-v0.3.10-308-gc61521971
234234

235-
TAG ?= v0.2.7-preview
235+
TAG ?= v0.2.10-preview
236236
ARCH ?= $(shell go env GOARCH)
237237
ALL_ARCH = amd64 arm arm64
238238

cloudbuild.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

config/default/manager_image_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ spec:
77
template:
88
spec:
99
containers:
10-
- image: ghcr.io/patricklaabs/cluster-api-addon-provider-cdk8s/cluster-api-cdk8s-controller:v0.2.7-preview
10+
- image: ghcr.io/patricklaabs/cluster-api-addon-provider-cdk8s/cluster-api-cdk8s-controller:v0.2.10-preview
1111
name: manager

config/default/manager_image_patch.yaml-e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ spec:
77
template:
88
spec:
99
containers:
10-
- image: ghcr.io/patricklaabs/cluster-api-addon-provider-cdk8s/cluster-api-cdk8s-controller:v0.2.7-preview
10+
- image: ghcr.io/patricklaabs/cluster-api-addon-provider-cdk8s/cluster-api-cdk8s-controller:v0.2.10-preview
1111
name: manager
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package cdk8sappproxy
2+
3+
import "time"
4+
5+
// Finalizer is the finalizer used by the cdk8sappproxy controller.
6+
const (
7+
Finalizer = "cdk8sappproxy.addons.cluster.x-k8s.io/finalizer"
8+
)
9+
10+
// Operation represents the type of operation being performed by the cdk8sappproxy controller.
11+
const (
12+
OperationDeletion = "deletion"
13+
OperationNormal = "normal"
14+
OperationPolling = "polling"
15+
OperationFindFiles = "findFiles"
16+
OperationSynthesize = "synthesize"
17+
OperationApply = "apply"
18+
)
19+
20+
// gitPollInterval is the interval at which the cdk8sappproxy controller polls the git repository for changes.
21+
const gitPollInterval = 1 * time.Minute

0 commit comments

Comments
 (0)