Skip to content

Commit f8933a9

Browse files
feat(loading): fix loaders on app page
Co-authored-by: Roger Bjørnstad <[email protected]> Co-authored-by: Thomas Krampl <[email protected]>
1 parent 47b5345 commit f8933a9

37 files changed

+622
-598
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.DS_Store
22
node_modules
3+
$houdini
4+
schema.graphql
35
/build
46
/.svelte-kit
57
/package

.github/workflows/main.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
jobs:
77
build:
88
permissions:
9-
contents: "read"
10-
id-token: "write"
9+
contents: 'read'
10+
id-token: 'write'
1111
name: Build and push
1212
runs-on: ubuntu-latest
1313
steps:
@@ -21,9 +21,9 @@ jobs:
2121
build_secrets: GITHUB_TOKEN=${{ secrets.THOMAS_TOKEN }}
2222
push: true
2323
- uses: azure/setup-helm@18bc76811624f360dbd7f18c2d4ecb32c7b87bab # ratchet:azure/setup-helm@v1
24-
name: "Setup Helm"
24+
name: 'Setup Helm'
2525
with:
26-
version: "3.8.0"
26+
version: '3.8.0'
2727
- name: Build Chart
2828
run: |-
2929
sed -i "s/^version: .*/version: ${{ steps.build-push-sign.outputs.version }}/g" charts/Chart.yaml

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.DS_Store
22
node_modules
3+
$houdini
4+
schema.graphql
35
/build
46
/.svelte-kit
57
/package

charts/templates/deployment.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: "{{ .Release.Name }}"
4+
name: '{{ .Release.Name }}'
55
spec:
66
replicas: 1
77
selector:
88
matchLabels:
9-
app: "{{ .Release.Name }}"
9+
app: '{{ .Release.Name }}'
1010
template:
1111
metadata:
1212
annotations:
13-
prometheus.io/path: "/metrics"
13+
prometheus.io/path: '/metrics'
1414
labels:
15-
app: "{{ .Release.Name }}"
15+
app: '{{ .Release.Name }}'
1616
spec:
1717
containers:
18-
- name: "{{ .Chart.Name }}"
19-
env:
20-
- name: "TENANT_DOMAIN"
21-
value: "{{ .Values.tenantDomain }}"
18+
- name: '{{ .Chart.Name }}'
19+
env:
20+
- name: 'TENANT_DOMAIN'
21+
value: '{{ .Values.tenantDomain }}'
2222
securityContext:
2323
capabilities:
2424
drop:
@@ -29,7 +29,7 @@ spec:
2929
allowPrivilegeEscalation: false
3030
seccompProfile:
3131
type: RuntimeDefault
32-
image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Chart.Version }}"
32+
image: '{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Chart.Version }}'
3333
ports:
3434
- name: http
3535
containerPort: 8080

charts/templates/ingress.yaml

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
apiVersion: networking.k8s.io/v1
22
kind: Ingress
33
metadata:
4-
name: "{{ .Release.Name }}"
4+
name: '{{ .Release.Name }}'
55
namespace: nais-system
66
spec:
77
ingressClassName: nais-ingress-iap
88
rules:
9-
- host: "{{ .Values.host }}"
10-
http:
11-
paths:
12-
- backend:
13-
service:
14-
name: "{{ .Release.Name }}"
15-
port:
16-
number: 80
17-
path: /
18-
pathType: Prefix
19-
9+
- host: '{{ .Values.host }}'
10+
http:
11+
paths:
12+
- backend:
13+
service:
14+
name: '{{ .Release.Name }}'
15+
port:
16+
number: 80
17+
path: /
18+
pathType: Prefix

charts/templates/networkpolicy.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: networking.k8s.io/v1
22
kind: NetworkPolicy
33
metadata:
4-
name: "{{ .Release.Name }}"
4+
name: '{{ .Release.Name }}'
55
spec:
66
egress:
77
- to:
@@ -15,6 +15,6 @@ spec:
1515
app: console-backend
1616
podSelector:
1717
matchLabels:
18-
app: "{{ .Release.Name }}"
18+
app: '{{ .Release.Name }}'
1919
policyTypes:
2020
- Egress

charts/templates/service.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: "{{ .Release.Name }}"
4+
name: '{{ .Release.Name }}'
55
spec:
66
type: ClusterIP
77
ports:
@@ -10,4 +10,4 @@ spec:
1010
protocol: TCP
1111
name: http
1212
selector:
13-
app: "{{ .Release.Name }}"
13+
app: '{{ .Release.Name }}'

charts/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
image:
22
repository: europe-north1-docker.pkg.dev/nais-io/nais/images
33
name: console-frontend
4-
host: ""
5-
tenantDomain: ""
4+
host: ''
5+
tenantDomain: ''

0 commit comments

Comments
 (0)