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
#!/bin/sh | |
# This script helps migrate most resources from your production Kubernetes cluster to helm charts without downtime. | |
# Please replace <your namespace> and <your release name> before running. | |
# inspiration: https://jacky-jiang.medium.com/import-existing-resources-in-helm-3-e27db11fd467 | |
# Author: https://github.com/bkakadiya42 | |
NAMESPACE=<your namespace> | |
RELEASE_NAME=<your release name> | |
resources=$(kubectl get -n $NAMESPACE deployment,service,serviceAccount,ingress,managedCertificate,configMap,pod -o name) |
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
#!/bin/sh | |
# This script regenerates the forestadmin.com models in a single step. | |
# Please replace <domain.com> below and add this file to the root of your forest admin backend repo. | |
# Author: https://github.com/bkakadiya42 | |
set -o allexport | |
. ./.env | |
set +o allexport | |
pushd . |
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
[ | |
{ | |
"id": "10719669", | |
"messages": [ | |
{ | |
"id": "158dd934cec3ce3d", | |
"threadId": "158dd934cec3ce3d" | |
}, | |
{ | |
"id": "158ddb52da312ba1", |
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
[ | |
{ | |
"id": "10771170", | |
"messages": [ | |
{ | |
"id": "15a4111cccdb4ad8", | |
"threadId": "15a4111cccdb4ad8" | |
} | |
], | |
"messagesAdded": [ |
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
{ | |
"history": [ | |
{ | |
"id": "10808996", | |
"messages": [ | |
{ | |
"id": "15a614a726c9aa62", | |
"threadId": "15a6139d17abb3f1" | |
} | |
], |