Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

pass APIExport name as first arg to manager #9

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ vars:
# kind: Service
# version: v1
# name: webhook-service

configurations:
- kustomizeconfig.yaml
5 changes: 5 additions & 0 deletions config/default/kustomizeconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nameReference:
- kind: APIExport
fieldSpecs:
- kind: Deployment
path: spec/template/spec/containers/args
1 change: 1 addition & 0 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
memory: 64Mi
- name: manager
args:
- data.my.domain
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
- command:
- /manager
args:
- data.my.domain
- --leader-elect
image: controller:latest
name: manager
Expand Down