-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Huy Mai <huy.mai@est.tech>
- Loading branch information
Showing
12 changed files
with
516 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
HTTP_PORT=6180 | ||
PROVISIONING_IP=192.168.222.199 | ||
DEPLOY_KERNEL_URL=http://192.168.222.199:6180/images/ironic-python-agent.kernel | ||
DEPLOY_RAMDISK_URL=http://192.168.222.199:6180/images/ironic-python-agent.initramfs | ||
IRONIC_ENDPOINT=https://192.168.222.199:6385/v1/ | ||
IRONIC_INSPECTOR_ENDPOINT=https://192.168.222.199:5050/v1/ | ||
CACHEURL=http://192.168.222.199/images | ||
IRONIC_FAST_TRACK=true | ||
IRONIC_KERNEL_PARAMS=console=ttyS0 | ||
IRONIC_INSPECTOR_VLAN_INTERFACES=all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: baremetal-operator-system | ||
resources: | ||
- https://github.com/metal3-io/baremetal-operator/config/tls?ref=release-0.4 | ||
|
||
components: | ||
- ../../components/basic-auth | ||
|
||
configMapGenerator: | ||
- name: ironic | ||
behavior: merge | ||
envs: | ||
- ironic.env | ||
|
||
patches: | ||
- patch: | | ||
# Don't try to pull again the pre-loaded image | ||
- op: replace | ||
path: /spec/template/spec/containers/0/imagePullPolicy | ||
value: IfNotPresent | ||
target: | ||
kind: Deployment | ||
name: controller-manager | ||
|
||
images: | ||
- name: quay.io/metal3-io/baremetal-operator | ||
newTag: release-0.4 | ||
|
||
# We cannot use suffix hashes since the kustomizations we build on | ||
# cannot be aware of what suffixes we add. | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
|
||
# NOTE: These credentials are generated automatically in hack/ci-e2e.sh | ||
secretGenerator: | ||
- name: ironic-credentials | ||
files: | ||
- username=ironic-username | ||
- password=ironic-password | ||
- name: ironic-inspector-credentials | ||
files: | ||
- username=ironic-inspector-username | ||
- password=ironic-inspector-password | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- https://github.com/metal3-io/baremetal-operator/config/namespace?ref=release-0.4 | ||
- https://github.com/metal3-io/baremetal-operator/config/default?ref=release-0.4 | ||
|
||
patches: | ||
- patch: | | ||
# Enable test mode (fixture provider instead of ironic) | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: --test-mode | ||
# Don't try to pull again the pre-loaded image | ||
- op: replace | ||
path: /spec/template/spec/containers/0/imagePullPolicy | ||
value: IfNotPresent | ||
target: | ||
kind: Deployment | ||
name: controller-manager | ||
|
||
images: | ||
- name: quay.io/metal3-io/baremetal-operator | ||
newTag: release-0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.