Skip to content

Commit 2106c63

Browse files
committed
update
Signed-off-by: Shang Cai <scai@splunk.com>
1 parent 77f00c5 commit 2106c63

6 files changed

Lines changed: 1451 additions & 424 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "Kubebuilder DevContainer",
3-
"image": "docker.io/golang:1.23",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
6-
"ghcr.io/devcontainers/features/git:1": {}
6+
"ghcr.io/devcontainers/features/git:1": {},
7+
"ghcr.io/devcontainers/features/go:1.1.2": {
8+
"version": "1.24"
9+
},
10+
"ghcr.io/devcontainers/features/aws-cli:1": {}
711
},
8-
9-
"runArgs": ["--network=host"],
10-
12+
"runArgs": [
13+
"--network=host"
14+
],
1115
"customizations": {
1216
"vscode": {
1317
"settings": {
@@ -19,7 +23,5 @@
1923
]
2024
}
2125
},
22-
2326
"onCreateCommand": "bash .devcontainer/post-install.sh"
24-
}
25-
27+
}

.devcontainer/post-install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ kubebuilder version
2121
docker --version
2222
go version
2323
kubectl version --client
24+
25+
wget -O /usr/local/bin/okta-artifactory-login https://repo.splunkdev.net/artifactory/generic/okta-cli/0.7.20250127-212405.2e86b53/linux/okta-artifactory-login
26+
chmod +x /usr/local/bin/okta-artifactory-login
27+
wget -O /usr/local/bin/okta-kube-token https://repo.splunkdev.net/artifactory/generic/okta-cli/0.7.20250127-212405.2e86b53/linux/okta-kube-token
28+
chmod +x /usr/local/bin/okta-kube-token
29+
wget -O /usr/local/bin/okta-aws-login https://repo.splunkdev.net/artifactory/generic/okta-cli/0.7.20250127-212405.2e86b53/linux/okta-aws-login
30+
chmod +x /usr/local/bin/okta-aws-login

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ WORKDIR /
3737

3838
COPY --from=builder /workspace/manager .
3939
COPY config/configs/instance.yaml instance.yaml
40-
COPY config/configs/application.yaml application.yaml
4140
COPY --from=builder /certs/tls.crt /certs/tls.crt
4241
COPY --from=builder /certs/tls.key /certs/tls.key
4342

0 commit comments

Comments
 (0)