@newskit-render/core 4.0.2-alpha.0 → 4.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/infrastructure/.circleci/config.yml +1 -1
- package/infrastructure/helm/Chart.yaml +2 -2
- package/infrastructure/helm/templates/_helpers.tpl +8 -0
- package/infrastructure/helm/templates/deployment.yaml +1 -0
- package/infrastructure/helm/templates/horizontalpodautoscaler.yaml +1 -0
- package/infrastructure/helm/templates/ingress.yaml +6 -6
- package/infrastructure/helm/templates/networkpolicy.yaml +2 -1
- package/infrastructure/helm/templates/secret.yaml +1 -0
- package/infrastructure/helm/templates/service.yaml +1 -0
- package/package.json +3 -3
- package/pages/help-hub/error.tsx +1 -1
|
@@ -14,8 +14,8 @@ type: application
|
|
|
14
14
|
|
|
15
15
|
# This is the chart version. This version number should be incremented each time you make changes
|
|
16
16
|
# to the chart and its templates, including the app version.
|
|
17
|
-
version: 0.1.
|
|
17
|
+
version: 0.1.3
|
|
18
18
|
|
|
19
19
|
# This is the version number of the application being deployed. This version number should be
|
|
20
20
|
# incremented each time you make changes to the application.
|
|
21
|
-
appVersion: 0.0.
|
|
21
|
+
appVersion: 0.0.2
|
|
@@ -45,6 +45,8 @@ news.co.uk/service-name: {{ .Values.tags.serviceName }}
|
|
|
45
45
|
news.co.uk/environment: {{ .Values.environment }}
|
|
46
46
|
{{- end -}}
|
|
47
47
|
|
|
48
|
+
|
|
49
|
+
|
|
48
50
|
{{/*
|
|
49
51
|
Selector labels
|
|
50
52
|
*/}}
|
|
@@ -53,6 +55,12 @@ app.kubernetes.io/name: {{ include "core.name" . }}
|
|
|
53
55
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
54
56
|
{{- end -}}
|
|
55
57
|
|
|
58
|
+
{{- define "core.annotations" -}}
|
|
59
|
+
meta.helm.sh/release-name: {{ .Chart.Name | quote }}
|
|
60
|
+
meta.helm.sh/release-namespace: {{ .Values.namespace | quote }}
|
|
61
|
+
app.kubernetes.io/managed-by: "Helm"
|
|
62
|
+
{{- end }}
|
|
63
|
+
|
|
56
64
|
{{/*
|
|
57
65
|
Annotations for ALB
|
|
58
66
|
*/}}
|
|
@@ -4,6 +4,7 @@ metadata:
|
|
|
4
4
|
name: {{ include "core.fullname" . }}
|
|
5
5
|
namespace: {{ .Values.namespace }}
|
|
6
6
|
labels: {{ include "core.labels" . | nindent 4 }}
|
|
7
|
+
annotations: {{ include "core.annotations" . | nindent 4 }}
|
|
7
8
|
spec:
|
|
8
9
|
replicas: {{ .Values.replicaCount }}
|
|
9
10
|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
|
@@ -14,18 +14,18 @@ spec:
|
|
|
14
14
|
{{- else }}
|
|
15
15
|
- http:
|
|
16
16
|
{{- end }}
|
|
17
|
-
|
|
17
|
+
paths:
|
|
18
18
|
- pathType: Prefix
|
|
19
19
|
path: /
|
|
20
|
-
backend:
|
|
20
|
+
backend:
|
|
21
21
|
service:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
name: ssl-redirect
|
|
23
|
+
port:
|
|
24
|
+
name: use-annotation
|
|
25
25
|
- pathType: Prefix
|
|
26
26
|
path: /
|
|
27
27
|
backend:
|
|
28
28
|
service:
|
|
29
29
|
name: {{ include "core.fullname" . }}
|
|
30
30
|
port:
|
|
31
|
-
number: {{ .Values.service.port }}
|
|
31
|
+
number: {{ .Values.service.port }}
|
|
@@ -5,7 +5,8 @@ kind: NetworkPolicy
|
|
|
5
5
|
metadata:
|
|
6
6
|
name: {{ $fullName }}-allowed-traffic
|
|
7
7
|
namespace: {{ .Values.namespace }}
|
|
8
|
-
|
|
8
|
+
labels: {{ include "core.labels" . | nindent 4 }}
|
|
9
|
+
annotations: {{ include "core.annotations" . | nindent 4 }}
|
|
9
10
|
spec:
|
|
10
11
|
podSelector:
|
|
11
12
|
matchExpressions :
|
|
@@ -4,6 +4,7 @@ metadata:
|
|
|
4
4
|
name: {{ include "core.fullname" . }}
|
|
5
5
|
namespace: {{ .Values.namespace }}
|
|
6
6
|
labels: {{ include "core.labels" . | nindent 4 }}
|
|
7
|
+
annotations: {{ include "core.annotations" . | nindent 4 }}
|
|
7
8
|
type: Opaque
|
|
8
9
|
data:
|
|
9
10
|
{{- range $key, $value := .Values.secret.items }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0-alpha.1",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@emotion/styled": "11.9.3",
|
|
42
42
|
"@newskit-render/api": "^1.6.8",
|
|
43
43
|
"@newskit-render/auth": "^1.3.11",
|
|
44
|
-
"@newskit-render/checkout": "^3.0.2-alpha.
|
|
44
|
+
"@newskit-render/checkout": "^3.0.2-alpha.1",
|
|
45
45
|
"@newskit-render/feature-flags": "^1.4.11",
|
|
46
46
|
"@newskit-render/feed": "^1.4.18",
|
|
47
47
|
"@newskit-render/my-account": "^6.0.1",
|
|
48
48
|
"@newskit-render/shared-components": "^3.1.0",
|
|
49
|
-
"@newskit-render/standalone-components": "^3.2.0-alpha.
|
|
49
|
+
"@newskit-render/standalone-components": "^3.2.0-alpha.1",
|
|
50
50
|
"@newskit-render/validation": "^1.6.0",
|
|
51
51
|
"@next/font": "13.1.6",
|
|
52
52
|
"cross-fetch": "3.1.5",
|
package/pages/help-hub/error.tsx
CHANGED
|
@@ -14,7 +14,7 @@ const ErrorPageHelpHub: React.FC<{
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export const getServerSideProps = async (context) => {
|
|
17
|
-
newrelic.setTransactionName('
|
|
17
|
+
newrelic.setTransactionName('HelpHubErrorPage')
|
|
18
18
|
console.warn('context:')
|
|
19
19
|
console.warn(context.req && context.req.headers)
|
|
20
20
|
|