-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
23 lines (21 loc) · 983 Bytes
/
Taskfile.yaml
File metadata and controls
23 lines (21 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: 3
includes:
shared:
taskfile: hack/common/Taskfile_service.yaml
flatten: true
excludes: [] # put task names in here which are overwritten in this file
vars:
CODE_DIRS: '{{.ROOT_DIR}}/... {{.ROOT_DIR}}/cmd/... {{.ROOT_DIR}}/api/... {{.ROOT_DIR}}/internal/...'
COMPONENTS: 'krypton-operator'
REPO_URL: 'https://github.com/openkcm/krypton-operator'
DOCKER_FILE_IDENTIFIER: krypton-operator
tasks:
run-watch-secret:
desc: Run operator using watch kubeconfig from Secret (env-driven)
env:
WATCH_KUBECONFIG_SECRET: '{{.WATCH_KUBECONFIG_SECRET}}'
WATCH_KUBECONFIG_SECRET_NAMESPACE: '{{.WATCH_KUBECONFIG_SECRET_NAMESPACE | default "krypton-operator"}}'
WATCH_KUBECONFIG_SECRET_KEY: '{{.WATCH_KUBECONFIG_SECRET_KEY | default "kubeconfig"}}'
ENSURE_WATCH_CRDS: '{{.ENSURE_WATCH_CRDS | default "true"}}'
cmds:
- go run ./cmd/krypton-operator -namespace={{.NAMESPACE | default "krypton-operator"}}