@newskit-render/core 4.0.2-alpha.0 → 4.1.0-alpha.0

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.
@@ -22,7 +22,7 @@ orbs:
22
22
  executors:
23
23
  helm:
24
24
  docker:
25
- - image: nukengprodservice/helm:0.1.102
25
+ - image: nukengprodservice/helm:0.1.181
26
26
  auth:
27
27
  username: ${DOCKER_USERNAME}
28
28
  password: ${DOCKER_PASSWORD}
@@ -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.0
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.1
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 }}
@@ -4,6 +4,7 @@ metadata:
4
4
  name: {{ include "core.fullname" . }}-hpa
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
  scaleTargetRef:
9
10
  apiVersion: apps/v1
@@ -14,18 +14,18 @@ spec:
14
14
  {{- else }}
15
15
  - http:
16
16
  {{- end }}
17
- paths:
17
+ paths:
18
18
  - pathType: Prefix
19
19
  path: /
20
- backend:
20
+ backend:
21
21
  service:
22
- name: ssl-redirect
23
- port:
24
- name: use-annotation
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
- annotations: {{ include "core.labels" . | nindent 4 }}
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 }}
@@ -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
  type: {{ .Values.service.type }}
9
10
  ports:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "4.0.2-alpha.0",
3
+ "version": "4.1.0-alpha.0",
4
4
  "description": "Newskit Render - Core package",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",