This repository has been archived by the owner on Oct 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
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
osher cohen
committed
Mar 31, 2020
1 parent
a665076
commit 719e54c
Showing
1 changed file
with
22 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
This is a image for generating ignition manifests & kubeconfig | ||
### This is a image for generating ignition manifests & kubeconfig | ||
|
||
after updating the installer-config.yaml file template run this image with the directory containing the installer-config.yaml file mounted | ||
for example: | ||
|
||
``` | ||
docker run -v $(pwd)/installer_dir:/installer_dir -it quay.io/oscohen/ignition-manifests-and-kubeconfig-generate:latest | ||
``` | ||
in the mounted dir the ignition files and the kubeconfig will be generated. | ||
|
||
Usage: | ||
``` | ||
usage: process-ignition-manifests-and-kubeconfig.py [-h] | ||
[--file_name FILE_NAME] | ||
[--s3_endpoint_url S3_ENDPOINT_URL] | ||
[--s3_bucket S3_BUCKET] | ||
Generate ignition manifest & kubeconfig | ||
optional arguments: | ||
-h, --help show this help message and exit | ||
--file_name FILE_NAME | ||
output directory name | ||
--s3_endpoint_url S3_ENDPOINT_URL | ||
s3 endpoint url | ||
--s3_bucket S3_BUCKET | ||
s3 bucket | ||
``` |