UNCLASSIFIED

Commit 9810c4c6 authored by Micah Nagel's avatar Micah Nagel 💰
Browse files

Merge branch '2-Full-Url-Modification' into 'main'

Resolve "Allow url modification for twistlock"

Closes #2

See merge request !9
parents 95a5c78e 96970c68
Pipeline #160457 passed with stages
in 2 minutes and 36 seconds
...@@ -4,6 +4,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ...@@ -4,6 +4,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
--- ---
## [0.0.3-bb.0] - 2021-02-12
### Added
- Options under istio values to control labels, annotations, gateways and full URL modification for twistlock VirtualService.
### Changed
- Position of "hostname" value in values, from "console.hostname" to toplevel "hostname".
## [0.0.2-bb.2] - 2021-02-11 ## [0.0.2-bb.2] - 2021-02-11
### Added ### Added
- imagePullSecret array to values. - imagePullSecret array to values.
......
apiVersion: v2 apiVersion: v2
name: twistlock name: twistlock
version: 0.0.2-bb.2 version: 0.0.3-bb.0
appVersion: 20.04.163 appVersion: 20.12.531
\ No newline at end of file
{{- if .Values.istio.enabled }} {{- if and .Values.istio.enabled .Values.istio.console.enabled -}}
apiVersion: networking.istio.io/v1alpha3 apiVersion: networking.istio.io/v1alpha3
kind: VirtualService kind: VirtualService
metadata: metadata:
name: console name: console
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
{{- if .Values.istio.console.labels }}
labels:
{{ toYaml .Values.istio.console.labels | indent 4 }}
{{- end }}
{{- if .Values.istio.console.annotations }}
annotations:
{{ toYaml .Values.istio.console.annotations | indent 4 }}
{{- end }}
spec: spec:
hosts:
- "twistlock.{{ .Values.console.hostname }}"
gateways: gateways:
- istio-system/main {{- range .Values.istio.console.gateways }}
- {{ . }}
{{- end }}
hosts:
{{- range .Values.istio.console.hosts }}
- {{ tpl . $ }}
{{- end }}
http: http:
- route: - route:
- destination: - destination:
......
hostname: bigbang.dev
prometheus: prometheus:
servicemonitor: servicemonitor:
enabled: false enabled: false
hostname: bigbang.dev
istio: istio:
# Toggle istio integration
enabled: false enabled: false
console:
# Toggle vs creation
enabled: true
annotations: {}
labels: {}
gateways:
- istio-system/main
hosts:
- twistlock.{{ .Values.hostname }}
# imagePullSecrets defines the secrets to use when pulling the operator container image. # imagePullSecrets defines the secrets to use when pulling the operator container image.
imagePullSecrets: [] imagePullSecrets: []
console: console:
hostname: bigbang.dev
image: image:
repository: registry1.dso.mil/ironbank/twistlock/console/console repository: registry1.dso.mil/ironbank/twistlock/console/console
tag: 20.12.531 tag: 20.12.531
......
hostname: bigbang.dev hostname: bigbang.dev
istio: istio:
enabled: true enabled: true
console:
enabled: true
gateways:
- istio-system/main
hosts:
- twistlock.{{ .Values.hostname }}
imagePullSecrets: imagePullSecrets:
- name: private-registry-mil - name: private-registry-mil
console: console:
hostname: bigbang.dev
image: image:
repository: registry1.dso.mil/ironbank/twistlock/console/console repository: registry1.dso.mil/ironbank/twistlock/console/console
tag: 20.12.531 tag: 20.12.531
......
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