Skip to content

Commit

Permalink
fix: formatting and indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Delyc committed Dec 19, 2024
1 parent 6f6b37f commit 15ac246
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 73 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release-publish-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types:
- published
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'latest'
version: "latest"

Check failure on line 27 in .github/workflows/release-publish-cluster.yaml

View workflow job for this annotation

GitHub Actions / Run yamllint

27:20 [quoted-strings] string value is redundantly quoted with double quotes

- name: Authenticate kubectl with EKS
run: |
Expand All @@ -45,5 +45,3 @@ jobs:
echo "mpm-frontend deployment does not exist, applying initial deployment..."
kubectl apply -f k8s/deployments/mpm-frontend.yaml
fi
138 changes: 69 additions & 69 deletions k8s/deployments/mpm-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,63 +21,63 @@ spec:
app: mpm-backend
spec:
containers:
- env:
- name: APP_NAME
value: MicroPowerManager
- name: APP_ENV
value: demo
- name: APP_KEY
valueFrom:
secretKeyRef:
key: APP_KEY
name: mpm-secrets
- name: APP_DEBUG
value: "false"
- name: MPM_LOAD_DEMO_DATA
value: "true"
- name: DB_CONNECTION
value: micro_power_manager
- name: DB_HOST
valueFrom:
secretKeyRef:
key: DB_HOST
name: mpm-secrets
- name: DB_PORT
value: "3306"
- name: DB_DATABASE
value: micro_power_manager
- name: DB_USERNAME
valueFrom:
secretKeyRef:
key: DB_USERNAME
name: mpm-secrets
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: DB_PASSWORD
name: mpm-secrets
- name: REDIS_HOST
value: redis-db-service
- name: REDIS_PORT
value: "6379"
- name: JWT_SECRET
valueFrom:
secretKeyRef:
key: JWT_SECRET
name: mpm-secrets
- name: CACHE_DRIVER
value: redis
- name: QUEUE_DRIVER
value: database
image: enaccess/micropowermanager-backend:latest
imagePullPolicy: Always
name: mpm-backend
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
- env:
- name: APP_NAME
value: MicroPowerManager
- name: APP_ENV
value: demo
- name: APP_KEY
valueFrom:
secretKeyRef:
key: APP_KEY
name: mpm-secrets
- name: APP_DEBUG
value: "false"
- name: MPM_LOAD_DEMO_DATA
value: "true"
- name: DB_CONNECTION
value: micro_power_manager
- name: DB_HOST
valueFrom:
secretKeyRef:
key: DB_HOST
name: mpm-secrets
- name: DB_PORT
value: "3306"
- name: DB_DATABASE
value: micro_power_manager
- name: DB_USERNAME
valueFrom:
secretKeyRef:
key: DB_USERNAME
name: mpm-secrets
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: DB_PASSWORD
name: mpm-secrets
- name: REDIS_HOST
value: redis-db-service
- name: REDIS_PORT
value: "6379"
- name: JWT_SECRET
valueFrom:
secretKeyRef:
key: JWT_SECRET
name: mpm-secrets
- name: CACHE_DRIVER
value: redis
- name: QUEUE_DRIVER
value: database
image: enaccess/micropowermanager-backend:latest
imagePullPolicy: Always
name: mpm-backend
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
Expand All @@ -86,18 +86,18 @@ spec:
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2024-12-13T05:47:18Z"
lastUpdateTime: "2024-12-13T05:47:18Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2024-12-13T05:46:55Z"
lastUpdateTime: "2024-12-13T05:47:18Z"
message: ReplicaSet "mpm-backend-7b59564f89" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2024-12-13T05:47:18Z"
lastUpdateTime: "2024-12-13T05:47:18Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2024-12-13T05:46:55Z"
lastUpdateTime: "2024-12-13T05:47:18Z"
message: ReplicaSet "mpm-backend-7b59564f89" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 1
readyReplicas: 1
replicas: 1
Expand Down

0 comments on commit 15ac246

Please sign in to comment.