UNCLASSIFIED

Commit d51c9a02 authored by Micah Nagel's avatar Micah Nagel 💰
Browse files

README + istio

parent 009ea762
Pipeline #121993 failed with stages
in 11 seconds
TODO # Anchore Package Chart
\ No newline at end of file
This is a modified upstream chart. Custom templates and values are added to support SSO, VirtualServices, and other Big Bang features.
Temporarily the subchart dependency for redis is downloaded as a tar archive in the chart/charts/ directory. This should be replaced by a Big Bang package.
To update the redis dependency:
```
helm dependency update
```
To deploy Anchore apart from Umbrella:
```
helm upgrade -i anchore chart -n anchore --create-namespace -f chart/values.yaml
```
To delete Anchore when deployed this way:
```
helm delete anchore -n anchore
```
## Initial admin login
The initial admin login is user ```admin```. The password is available in the values file, defaulted to ```foobar```.
## Deployment
For production deployments you must externalize Postgres. See the `values.yaml` file section `postgresql` for more details.
If using the Anchore UI you must also externalize Redis. See the `values.yaml` file section `anchore-ui-redis` for more details.
---
{{- if .Values.istio.enabled -}}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: anchore-enterprise-ui-service
namespace: {{ .Release.Namespace }}
spec:
gateways:
- main.istio-system.svc.cluster.local
hosts:
- "anchore.{{ .Values.hostname }}"
http:
- match:
- uri:
prefix: /
route:
- destination:
port:
number: 80
host: {{ .Release.Name }}-anchore-engine-enterprise-ui
{{- end }}
---
{{- if .Values.istio.enabled -}}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: anchore-engine-api-service
namespace: {{ .Release.Namespace }}
spec:
gateways:
- main.istio-system.svc.cluster.local
hosts:
- "anchore-api.{{ .Values.hostname }}"
http:
- match:
- uri:
prefix: /
route:
- destination:
port:
number: 8228
host: {{ .Release.Name }}-anchore-engine-api
{{- end }}
# Default values for anchore_engine chart. # Default values for anchore_engine chart.
# Big Bang Values
# ---------------
hostname: bigbang.dev
istio:
enabled: false
# Anchore engine has a dependency on Postgresql, configure here # Anchore engine has a dependency on Postgresql, configure here
postgresql: postgresql:
# To use an external DB or Google CloudSQL in GKE, uncomment & set 'enabled: false' # To use an external DB or Google CloudSQL in GKE, uncomment & set 'enabled: false'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment