diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index b379b76..42161a8 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -25,7 +25,6 @@ jobs: http = false insecure = true - - name: Log in to the Container registry uses: docker/login-action@v3 with: @@ -53,11 +52,6 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - name: Install Kustomize - run: | - curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash - sudo mv kustomize /usr/local/bin/ - - name: Update Kustomize run: | IMAGE_TAG=$(echo '${{ steps.meta.outputs.json }}' | jq -r '.tags[] | select(startswith("reg.milasholsting.dk/apps/mal:sha-"))' | cut -d: -f2) diff --git a/deploy/base/app-secret.yaml b/deploy/base/app-secret.yaml index ce53f4b..a15e727 100644 --- a/deploy/base/app-secret.yaml +++ b/deploy/base/app-secret.yaml @@ -9,4 +9,4 @@ spec: destination: name: mal create: true - refreshAfter: 1h + refreshAfter: 1h diff --git a/deploy/base/service.yaml b/deploy/base/service.yaml index 9bba901..1a20abf 100644 --- a/deploy/base/service.yaml +++ b/deploy/base/service.yaml @@ -8,7 +8,7 @@ spec: app: mal type: ClusterIP ports: - - name: mal - protocol: TCP - port: 3000 - targetPort: 3000 + - name: mal + protocol: TCP + port: 3000 + targetPort: 3000 diff --git a/deploy/overlays/production/kustomization.yaml b/deploy/overlays/production/kustomization.yaml index 60ecea2..43df07c 100644 --- a/deploy/overlays/production/kustomization.yaml +++ b/deploy/overlays/production/kustomization.yaml @@ -3,18 +3,18 @@ kind: Kustomization # 1. Point to the base manifests resources: -- ../../base + - ../../base # 2. Apply the production-specific changes patches: -- path: deployment.yaml - target: - kind: Deployment - name: mal + - path: deployment.yaml + target: + kind: Deployment + name: mal namespace: mal images: -- name: main - newName: reg.milasholsting.dk/apps/mal - newTag: sha-6f3ca3e + - name: main + newName: reg.milasholsting.dk/apps/mal + newTag: sha-6f3ca3e