-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
92 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
10 changes: 10 additions & 0 deletions
10
ironic-deployment/overlays/e2e-release-24.0/ironic-patch.yaml
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 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: ironic | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: ironic-dnsmasq | ||
$patch: delete |
6 changes: 6 additions & 0 deletions
6
ironic-deployment/overlays/e2e-release-24.0/ironic_bmo_configmap.env
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,6 @@ | ||
HTTP_PORT=6180 | ||
PROVISIONING_IP=192.168.222.199 | ||
CACHEURL=http://192.168.222.199/images | ||
IRONIC_FAST_TRACK=true | ||
IRONIC_KERNEL_PARAMS=console=ttyS0 | ||
IRONIC_INSPECTOR_VLAN_INTERFACES=all |
55 changes: 55 additions & 0 deletions
55
ironic-deployment/overlays/e2e-release-24.0/kustomization.yaml
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,55 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: baremetal-operator-system | ||
resources: | ||
- https://github.com/metal3-io/baremetal-operator/config/namespace?ref=release-0.5 | ||
- https://github.com/metal3-io/baremetal-operator/ironic-deployment/base?ref=release-0.5 | ||
|
||
components: | ||
- https://github.com/metal3-io/baremetal-operator/ironic-deployment/components/basic-auth?ref=release-0.5 | ||
- https://github.com/metal3-io/baremetal-operator/ironic-deployment/components/tls?ref=release-0.5 | ||
|
||
configMapGenerator: | ||
- envs: | ||
- ironic_bmo_configmap.env | ||
name: ironic-bmo-configmap | ||
behavior: create | ||
|
||
patches: | ||
- path: ironic-patch.yaml | ||
|
||
images: | ||
- name: quay.io/metal3-io/ironic | ||
newTag: release-24.0 | ||
|
||
# NOTE: These credentials are generated automatically in hack/ci-e2e.sh | ||
secretGenerator: | ||
- name: ironic-htpasswd | ||
behavior: create | ||
envs: | ||
- ironic-htpasswd | ||
- name: ironic-inspector-htpasswd | ||
behavior: create | ||
envs: | ||
- ironic-inspector-htpasswd | ||
- name: ironic-auth-config | ||
files: | ||
- auth-config=ironic-auth-config | ||
- name: ironic-inspector-auth-config | ||
files: | ||
- auth-config=ironic-inspector-auth-config | ||
|
||
replacements: | ||
# Replace IRONIC_HOST_IP in certificates with the PROVISIONING_IP from the configmap | ||
- source: | ||
kind: ConfigMap | ||
name: ironic-bmo-configmap | ||
fieldPath: .data.PROVISIONING_IP | ||
targets: | ||
- select: | ||
version: v1 | ||
group: cert-manager.io | ||
kind: Certificate | ||
name: | ||
fieldPaths: | ||
- .spec.ipAddresses.0 |
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