Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add template vars for subnets.json #17

Merged
merged 1 commit into from
Nov 15, 2023
Merged
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
14 changes: 9 additions & 5 deletions hack/ci-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ objects:
namespace: openshift-machine-api
name: static-ci-pool
spec:
address-cidr: 192.168.${THIRD_OCTET}.128/29
prefix: 23
gateway: 192.168.${THIRD_OCTET}.1
address-cidr: ${ADDRESS_CIDR}
prefix: ${PREFIX}
gateway: ${GATEWAY}
- apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -161,5 +161,9 @@ objects:
path: service-ca.crt
name: openshift-service-ca.crt
parameters:
- name: THIRD_OCTET
description: The value used in the third octet of the IP cidr.
- name: ADDRESS_CIDR
description: The address-cidr value used in the IPPool spec.
- name: PREFIX
description: The prefix value used in the IPPool spec.
- name: GATEWAY
description: The gateway value used in the IPPool spec.