Skip to content

Commit

Permalink
Update everything
Browse files Browse the repository at this point in the history
  • Loading branch information
asmith030 committed Apr 29, 2020
1 parent 3e96b7f commit 810f7f9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ Clamav instance with http api. To supersede https://github.com/UKHomeOffice/dock

## Installation

Helmy helm stuff here
```
helm install -n <namespace> clamav ./charts/clamav
```

Clamav will be installed in the namespace and available at https://clamav/

## Components

Expand Down
4 changes: 2 additions & 2 deletions charts/clamav/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.1.0
appVersion: 0.1.1
13 changes: 13 additions & 0 deletions charts/clamav/templates/clamav-networkpolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-all
spec:
podSelector:
matchLabels:
name: {{ include "clamav.fullname" . }}
ingress:
- ports:
- protocol: TCP
port: 10443
- from: {{ toYaml .Values.service.ingress | nindent 4 }}
2 changes: 1 addition & 1 deletion charts/clamav/templates/clamav-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: {{ include "clamav.fullname" . }}
port: {{ .Values.servicePort }}
port: {{ .Values.service.port }}
targetPort: 10443
selector:
name: {{ include "clamav.fullname" . }}
5 changes: 4 additions & 1 deletion charts/clamav/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
nameOverride: ""
fullnameOverride: ""

servicePort: 443
service:
port: 443
ingress:
- podSelector: {}

serviceAccount:
annotations: {}
Expand Down

0 comments on commit 810f7f9

Please sign in to comment.