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

Commit fcbcf9a

Browse files
committed
cleanup
1 parent 560a4ce commit fcbcf9a

27 files changed

+37004
-408
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ CAPI_KIND_CLUSTER_NAME ?= capi-test
230230

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

233-
# Next release is: v0.3.2-alpha
234-
TAG ?= v0.3.1-alpha
233+
# Next release is: v0.3.2
234+
TAG ?= v0.3.2-preview.21
235235
ARCH ?= $(shell go env GOARCH)
236236
ALL_ARCH = amd64 arm arm64
237237

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ spec:
7171

7272
### Cdk8sAppProxySpec Fields
7373

74-
- **localPath**: (Optional) The local filesystem path to the cdk8s application directory. One of `localPath` or `gitRepository` must be specified.
75-
- **gitRepository**: (Optional) Specifies the Git repository for the cdk8s application. One of `localPath` or `gitRepository` must be specified.
74+
- **gitRepository**: (Optional) Specifies the Git repository for the cdk8s application. `gitRepository` must be specified.
7675
- **url**: (Required) The Git repository URL.
7776
- **reference**: (Optional) The Git reference (branch, tag, or commit) to check out.
7877
- **path**: (Optional) The path within the repository where the cdk8s application is located. Defaults to the root.

api/v1alpha1/cdk8sappproxy_types.go

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@ type GitRepositorySpec struct {
2929
URL string `json:"url"`
3030

3131
// Reference is the git reference (branch, tag, or commit).
32-
// +kubebuilder:validation:Optional
33-
Reference string `json:"reference,omitempty"`
32+
// +kubebuilder:validation:Required
33+
Reference string `json:"reference"`
34+
35+
// ReferencePollInterval
36+
// +kubebuilder:validation:optional
37+
ReferencePollInterval *metav1.Duration `json:"referencePollInterval,omitempty"`
3438

3539
// Path is the path within the repository where the cdk8s application is located.
3640
// Defaults to the root of the repository.
37-
// +kubebuilder:validation:Optional
38-
Path string `json:"path,omitempty"`
41+
// +kubebuilder:validation:Required
42+
Path string `json:"path"`
3943

4044
// AuthSecretRef is a reference to a Secret in the same namespace
4145
// containing authentication credentials for the Git repository.
@@ -46,13 +50,7 @@ type GitRepositorySpec struct {
4650

4751
// Cdk8sAppProxySpec defines the desired state of Cdk8sAppProxy.
4852
type Cdk8sAppProxySpec struct {
49-
// LocalPath is the local filesystem path to the cdk8s app.
50-
// One of LocalPath or GitRepository must be specified.
51-
// +kubebuilder:validation:Optional
52-
LocalPath string `json:"localPath,omitempty"`
53-
5453
// GitRepository specifies the Git repository for the cdk8s app.
55-
// One of LocalPath or GitRepository must be specified.
5654
// +kubebuilder:validation:Optional
5755
GitRepository *GitRepositorySpec `json:"gitRepository,omitempty"`
5856

0 commit comments

Comments
 (0)