From 78285dabe969cc4deb97fbac2a57782bb2b33888 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Sat, 17 Aug 2024 00:16:11 +0000 Subject: [PATCH] devcontainers: make things a bit more usable by default --- .devcontainer.json | 25 ++++++++++++++++++++++++- config/manager/kustomization.yml | 8 +++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/.devcontainer.json b/.devcontainer.json index eeac80c2..213e6258 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -10,5 +10,28 @@ "helm": "latest", "minikube": "none" } - } + }, + "containerEnv": { + "E2E_USE_NATIVE_SNAPSHOTTER": "true" + }, + "customizations": { + "vscode": { + "settings": { + "go.toolsManagement.checkForUpdates": "local", + "go.useLanguageServer": true, + "go.gopath": "/go" + }, + "extensions": [ + "golang.Go", + "DavidAnson.vscode-markdownlint" + ] + } + }, + // Allow Debuggers to work + "capAdd": [ + "SYS_PTRACE" + ], + "securityOpt": [ + "seccomp=unconfined" + ] } \ No newline at end of file diff --git a/config/manager/kustomization.yml b/config/manager/kustomization.yml index 2e6cc797..93b0050e 100644 --- a/config/manager/kustomization.yml +++ b/config/manager/kustomization.yml @@ -1,2 +1,8 @@ resources: -- manager.yaml \ No newline at end of file +- manager.yaml +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +images: +- name: ghcr.io/spinkube/spin-operator + newName: ghcr.io/spinkube/spin-operator + newTag: dev