Skip to content

Commit

Permalink
Make operator init container use k8s-svc-configmap if present.
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhartigera committed Jan 10, 2025
1 parent c9931c1 commit cdc1e4d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,20 @@ spec:
- operator
args:
- -bootstrap-crds
envFrom:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
# Install any v3 API resources provided in the calico-resources ConfigMap.
- name: create-initial-resources
image: {{.Values.calicoctl.image}}:{{.Values.calicoctl.tag}}
env:
- name: DATASTORE_TYPE
value: kubernetes
envFrom:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
command:
- calicoctl
args:
Expand Down
8 changes: 8 additions & 0 deletions manifests/ocp/02-tigera-operator.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cdc1e4d

Please sign in to comment.