Skip to content

Commit

Permalink
add v1.73 ansible role to the operator (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli authored Oct 17, 2023
1 parent f41eee3 commit f8add53
Show file tree
Hide file tree
Showing 72 changed files with 4,249 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,19 @@ spec:
- name: ANSIBLE_CONFIG
value: "/etc/ansible/ansible.cfg"
- name: RELATED_IMAGE_kiali_default
value: "${KIALI_1_65}"
value: "${KIALI_1_73}"
- name: RELATED_IMAGE_kiali_v1_73
value: "${KIALI_1_73}"
- name: RELATED_IMAGE_kiali_v1_65
value: "${KIALI_1_65}"
- name: RELATED_IMAGE_kiali_v1_57
value: "${KIALI_1_57}"
- name: RELATED_IMAGE_kiali_v1_48
value: "${KIALI_1_48}"
- name: RELATED_IMAGE_ossmconsole_default
value: "${OSSMCONSOLE_1_73}"
- name: RELATED_IMAGE_ossmconsole_v1_73
value: "${OSSMCONSOLE_1_73}"
ports:
- name: http-metrics
containerPort: 8080
Expand Down
1 change: 1 addition & 0 deletions playbooks/kiali-default-supported-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ default: {"image_name": "quay.io/kiali/kiali", "image_version": "operator_versio
v1.48: {"image_name": "quay.io/kiali/kiali", "image_version": "v1.48"}
v1.57: {"image_name": "quay.io/kiali/kiali", "image_version": "v1.57"}
v1.65: {"image_name": "quay.io/kiali/kiali", "image_version": "v1.65"}
v1.73: {"image_name": "quay.io/kiali/kiali", "image_version": "v1.73"}
1 change: 1 addition & 0 deletions playbooks/ossmconsole-default-supported-images.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
default: {"imageName": "quay.io/kiali/ossmconsole", "imageVersion": "operator_version"}
v1.73: {"image_name": "quay.io/kiali/ossmconsole", "image_version": "v1.73"}
350 changes: 350 additions & 0 deletions roles/v1.73/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,350 @@
# Defaults for all user-facing Kiali settings.
#
# Note that these are under the main dictionary group "kiali_defaults".
# The actual vars used by the role are found in the vars/ directory.
# These defaults (the dictionaries under "kiali_defaults") are merged into the vars such that the values
# below (e.g. deployment, server, etc.) are merged in rather than completely replaced by user-supplied values.
#
# If new groups are added to these defaults, you must remember to add the merge code to vars/main.yml.

kiali_defaults:
installation_tag: ""
istio_namespace: ""
version: "default"

additional_display_details:
- title: "API Documentation"
annotation: "kiali.io/api-spec"
icon_annotation: "kiali.io/api-type"

api:
namespaces:
exclude:
- "^istio-operator"
- "^kube-.*"
- "^openshift.*"
- "^ibm.*"
- "^kiali-operator"
include: []
label_selector_exclude: ""
#label_selector_include:

auth:
openid:
additional_request_params: {}
allowed_domains: []
api_proxy: ""
api_proxy_ca_data: ""
api_token: "id_token"
authentication_timeout: 300
authorization_endpoint: ""
client_id: ""
disable_rbac: false
http_proxy: ""
https_proxy: ""
insecure_skip_verify_tls: false
issuer_uri: ""
scopes: ["openid", "profile", "email"]
username_claim: "sub"
openshift:
auth_timeout: 10
client_id_prefix: "kiali"
#token_inactivity_timeout:
#token_max_age:
strategy: ""

custom_dashboards: []

deployment:
accessible_namespaces: ["**"]
#additional_service_yaml:
affinity:
node: {}
pod: {}
pod_anti: {}
#cluster_wide_access:
configmap_annotations: {}
custom_secrets: []
host_aliases: []
hpa:
api_version: ""
spec: {}
image_digest: ""
image_name: ""
image_pull_policy: "IfNotPresent"
image_pull_secrets: []
image_version: ""
ingress:
additional_labels: {}
class_name: "nginx"
#enabled:
#override_yaml:
instance_name: "kiali"
logger:
log_format: "text"
log_level: "info"
sampler_rate: "1"
time_field_format: "2006-01-02T15:04:05Z07:00"
namespace: ""
node_selector: {}
pod_annotations: {}
pod_labels: {}
priority_class_name: ""
replicas: 1
#resources:
secret_name: "kiali"
security_context: {}
service_annotations: {}
#service_type: "NodePort"
tolerations: []
version_label: ""
view_only_mode: false

external_services:
custom_dashboards:
discovery_auto_threshold: 10
discovery_enabled: "auto"
enabled: true
is_core: false
namespace_label: ""
prometheus:
auth:
ca_file: ""
insecure_skip_verify: false
password: ""
token: ""
type: "none"
use_kiali_token: false
username: ""
cache_duration: 7
cache_enabled: true
cache_expiration: 300
custom_headers: {}
health_check_url: ""
is_core: true
query_scope: {}
thanos_proxy:
enabled: false
retention_period: "7d"
scrape_interval: "30s"
url: ""
grafana:
auth:
ca_file: ""
insecure_skip_verify: false
password: ""
token: ""
type: "none"
use_kiali_token: false
username: ""
dashboards:
- name: "Istio Service Dashboard"
variables:
namespace: "var-namespace"
service: "var-service"
- name: "Istio Workload Dashboard"
variables:
namespace: "var-namespace"
workload: "var-workload"
- name: "Istio Mesh Dashboard"
- name: "Istio Control Plane Dashboard"
- name: "Istio Performance Dashboard"
- name: "Istio Wasm Extension Dashboard"
enabled: true
health_check_url: ""
#in_cluster_url
is_core: false
url: ""
istio:
component_status:
components:
- app_label: "istiod"
is_core: true
is_proxy: false
namespace: ""
- app_label: "istio-ingressgateway"
is_core: true
is_proxy: true
namespace: ""
- app_label: "istio-egressgateway"
is_core: false
is_proxy: true
namespace: ""
enabled: true
config_map_name: "istio"
envoy_admin_local_port: 15000
gateway_api_class_name: ""
istio_api_enabled: true
#istio_canary_revision:
#current: prod
#upgrade: canary
istio_identity_domain: "svc.cluster.local"
istio_injection_annotation: "sidecar.istio.io/inject"
istio_sidecar_annotation: "sidecar.istio.io/status"
istio_sidecar_injector_config_map_name: "istio-sidecar-injector"
istiod_deployment_name: "istiod"
istiod_pod_monitoring_port: 15014
root_namespace: ""
url_service_version: ""
prometheus:
auth:
ca_file: ""
insecure_skip_verify: false
password: ""
token: ""
type: "none"
use_kiali_token: false
username: ""
cache_duration: 7
cache_enabled: true
cache_expiration: 300
custom_headers: {}
health_check_url: ""
is_core: true
query_scope: {}
thanos_proxy:
enabled: false
retention_period: "7d"
scrape_interval: "30s"
url: ""
tracing:
auth:
ca_file: ""
insecure_skip_verify: false
password: ""
token: ""
type: "none"
use_kiali_token: false
username: ""
enabled: true
in_cluster_url: ""
is_core: false
namespace_selector: true
query_scope: {}
query_timeout: 5
url: ""
use_grpc: true
whitelist_istio_system: ["jaeger-query", "istio-ingressgateway"]

health_config:
rate: []

identity: {}
#cert_file:
#private_key_file:

istio_labels:
app_label_name: "app"
injection_label_name: "istio-injection"
injection_label_rev: "istio.io/rev"
version_label_name: "version"

kiali_feature_flags:
certificates_information_indicators:
enabled: true
secrets:
- cacerts
- istio-ca-secret
clustering:
autodetect_secrets:
enabled: true
label: "kiali.io/multiCluster=true"
clusters: []
kiali_urls: []
disabled_features: []
istio_annotation_action: true
istio_injection_action: true
istio_upgrade_action: false
ui_defaults:
graph:
find_options:
- auto_select: false
description: "Find: slow edges (> 1s)"
expression: "rt > 1000"
- auto_select: false
description: "Find: unhealthy nodes"
expression: "! healthy"
- auto_select: false
description: "Find: unknown nodes"
expression: "name = unknown"
- auto_select: false
description: "Find: nodes with the 2 top rankings"
expression: "rank <= 2"
hide_options:
- auto_select: false
description: "Hide: healthy nodes"
expression: "healthy"
- auto_select: false
description: "Hide: unknown nodes"
expression: "name = unknown"
- auto_select: false
description: "Hide: nodes ranked lower than the 2 top rankings"
expression: "rank > 2"
settings:
font_label: 13
min_font_badge: 7
min_font_label: 10
traffic:
grpc: "requests"
http: "requests"
tcp: "sent"
list:
include_health: true
include_istio_resources: true
include_validations: true
show_include_toggles: false
metrics_inbound:
aggregations: []
metrics_outbound:
aggregations: []
metrics_per_refresh: "1m"
namespaces: []
refresh_interval: "60s"
validations:
ignore: ["KIA1301"]
skip_wildcard_gateway_hosts: false

kubernetes_config:
burst: 200
cache_duration: 300
cache_token_namespace_duration: 10
cluster_name: ""
excluded_workloads:
- "CronJob"
- "DeploymentConfig"
- "Job"
- "ReplicationController"
qps: 175

login_token:
expiration_seconds: 86400
signing_key: ""

server:
address: ""
audit_log: true
cors_allow_all: false
gzip_enabled: true
observability:
metrics:
enabled: true
port: 9090
tracing:
collector_type: "jaeger"
collector_url: http://jaeger-collector.istio-system:14268/api/traces
enabled: false
otel:
protocol: "http"
port: 20001
web_fqdn: ""
web_history_mode: ""
web_port: ""
web_root: ""
web_schema: ""

# These variables are outside of the kiali_defaults. Their values will be
# auto-detected by the role and are not meant to be set by the user.
# However, for debugging purposes you can change these.

is_k8s: false
is_openshift: false
Loading

0 comments on commit f8add53

Please sign in to comment.