contents:
  source: data:,%23!%2Fusr%2Fbin%2Fenv%20bash%0A%0Aset%20-o%20errexit%0Aset%20-o%20pipefail%0A%0A%23%20example%0A%23%20export%20KUBE_ETCD_SIGNER_SERVER%3D%24(oc%20adm%20release%20info%20--image-for%20kube-etcd-signer-server%20--registry-config%3D.%2Fconfig.json)%0A%23%20sudo%20-E%20.%2Ftokenize-signer.sh%20ip-10-0-134-97%0A%0A%3A%20%24%7BKUBE_ETCD_SIGNER_SERVER%3A%3F%22Need%20to%20set%20KUBE_ETCD_SIGNER_SERVER%22%7D%0A%0Ausage%20()%20%7B%0A%20%20%20%20echo%20'Hostname%20required%3A%20.%2Ftokenize-signer.sh%20ip-10-0-134-97'%0A%20%20%20%20exit%0A%7D%0A%0Aif%20%5B%20%22%241%22%20%3D%3D%20%22%22%20%5D%3B%20then%0A%20%20%20%20usage%0Afi%0A%0AMASTER_HOSTNAME%3D%241%0A%0AASSET_DIR%3D.%2Fassets%0ASHARED%3D%2Fusr%2Flocal%2Fshare%2Fopenshift-recovery%0ATEMPLATE%3D%24SHARED%2Ftemplate%2Fkube-etcd-cert-signer.yaml.template%0ATEMPLATE_TMP%3D%24ASSET_DIR%2Ftmp%2Fkube-etcd-cert-signer.yaml.stage1%0A%0Asource%20%22%2Fusr%2Flocal%2Fbin%2Fopenshift-recovery-tools%22%0A%0Afunction%20run%20%7B%0A%20%20init%0A%20%20populate_template%20'__MASTER_HOSTNAME__'%20%22%24MASTER_HOSTNAME%22%20%22%24TEMPLATE%22%20%22%24TEMPLATE_TMP%22%0A%20%20populate_template%20'__KUBE_ETCD_SIGNER_SERVER__'%20%22%24KUBE_ETCD_SIGNER_SERVER%22%20%22%24TEMPLATE_TMP%22%20%22%24ASSET_DIR%2Fmanifests%2Fkube-etcd-cert-signer.yaml%22%0A%20%20echo%20%22Tokenized%20template%20now%20ready%3A%20%24ASSET_DIR%2Fmanifests%2Fkube-etcd-cert-signer.yaml%22%0A%7D%0A%0Arun%0A
  verification: {}
filesystem: root
mode: 493
path: /usr/local/bin/tokenize-signer.sh
