Skip to content

Commit

Permalink
Merge pull request metal3-io#65 from dtantsur/config
Browse files Browse the repository at this point in the history
Add an environment file and a configmap to customize the manager
  • Loading branch information
metal3-io-bot authored Nov 8, 2024
2 parents 4475b0f + 6e9c4fb commit 7083ad2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- manager.yaml

configMapGenerator:
- envs:
- manager.env
name: ironic-standalone-operator-config
Empty file added config/manager/manager.env
Empty file.
3 changes: 3 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ spec:
- /manager
args:
- --leader-elect
envFrom:
- configMapRef:
name: ironic-standalone-operator-config
image: quay.io/metal3-io/ironic-standalone-operator:latest
name: manager
securityContext:
Expand Down

0 comments on commit 7083ad2

Please sign in to comment.