chore(gitops): clean up kustomization formatting and set-image syntax (#48)
Clean up Kustomize formatting in docs application and set-image syntax in deploy-gitops.sh
This commit is contained in:
1 parent
7be6d23e94
commit
c8beec4d47
2 files changed
+4
-5
No files matched your search
@@ -2,9 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: com-ermnvldmr
|
namespace: com-ermnvldmr
|
||||||
resources:
|
resources:
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
images:
|
images:
|
||||||
- name: ghcr.io/deytenit/ermnvldmr.com/docs
|
- name: ghcr.io/deytenit/ermnvldmr.com/docs
|
||||||
newName: ghcr.io/deytenit/ermnvldmr.com/docs
|
|
||||||
newTag: sha-7181cdd
|
newTag: sha-7181cdd
|
||||||
@@ -19,7 +19,7 @@ fi
|
|||||||
|
|
||||||
echo "Updating Kustomize image tag for '$SERVICE' to '$TAG'..."
|
echo "Updating Kustomize image tag for '$SERVICE' to '$TAG'..."
|
||||||
cd "$APP_DIR"
|
cd "$APP_DIR"
|
||||||
kustomize edit set image "ghcr.io/deytenit/ermnvldmr.com/${SERVICE}=ghcr.io/deytenit/ermnvldmr.com/${SERVICE}:${TAG}"
|
kustomize edit set image "ghcr.io/deytenit/ermnvldmr.com/${SERVICE}:${TAG}"
|
||||||
|
|
||||||
cd "$ROOT_DIR"
|
cd "$ROOT_DIR"
|
||||||
git config user.name "adam-at-deytenit"
|
git config user.name "adam-at-deytenit"
|
||||||
|
|||||||
Reference in new issue
Block a user