diff path
All checks were successful
K8S json Schemas --> Cloudflare R2 / Schemas (push) Successful in 1m16s

This commit is contained in:
Joseph Hanson 2024-10-04 20:06:01 -05:00
parent 95cfc672e2
commit cee1285f3d
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 6 additions and 2 deletions

View file

@ -53,7 +53,7 @@ jobs:
with: with:
encodedString: "${{ secrets.MCCONFIG }}" encodedString: "${{ secrets.MCCONFIG }}"
fileName: config.json fileName: config.json
fileDir: $HOME/.mc fileDir: ${{ env.GITHUB_WORKSPACE }}
- name: Extracting CRDs to yaml and converting to JSON schema - name: Extracting CRDs to yaml and converting to JSON schema
env: env:
@ -130,6 +130,9 @@ jobs:
rm -rf $TMP_CRD_DIR rm -rf $TMP_CRD_DIR
- name: Deploy to Cloudflare R2 - name: Deploy to Cloudflare R2
shell: bash env:
MC_CONFIG_DIR: "${{ steps.mcconfig.outputs.fileDir }}"
shell: bash
run: | run: |
echo $GITHUB_WORKSPACE/crdSchemas/
mc cp --recursive $GITHUB_WORKSPACE/crdSchemas/ r2-ks/kubernetes-schema mc cp --recursive $GITHUB_WORKSPACE/crdSchemas/ r2-ks/kubernetes-schema

1
.gitignore vendored
View file

@ -16,3 +16,4 @@ kubeconfig*
omniconfig.yaml omniconfig.yaml
config.xml config.xml
.idea/ .idea/
*.secrets