rmk: add infrastructure render script and generated manifests
This commit is contained in:
parent
f7dbe9d756
commit
9dcdd0c8d9
178
.rmk-render/render.py
Normal file
178
.rmk-render/render.py
Normal file
@ -0,0 +1,178 @@
|
||||
import copy
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import yaml
|
||||
|
||||
REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
CHARTS = os.path.join(REPO, ".rmk-charts")
|
||||
OUT = os.path.join(REPO, "rmk", "infrastructure")
|
||||
WORK = os.path.join(REPO, ".rmk-render", "work")
|
||||
|
||||
COMPONENTS = {
|
||||
# component: (chart tgz, overlay patch file, [extra plain yaml files])
|
||||
"camunda": ("camunda-contour-11.0.14.tgz", "camunda.yaml",
|
||||
["keycloak-krb5.yaml", "uralkali-ca.yaml", "ldap-debug/pod.yaml"]),
|
||||
"istio-base": ("istio-base-contour-1.24.0.tgz", None, []),
|
||||
"istio-config": ("istio-config-contour-0.1.0.tgz", "istio-config.yaml",
|
||||
["minio-serviceentry.yaml", "zitadel-jwks-serviceentry.yaml"]),
|
||||
"istio-gateway": ("istio-gateway-contour-1.24.0.tgz", "istio-gateway.yaml", []),
|
||||
"istio-pilot": ("istiod-contour-1.24.0.tgz", "istio-pilot.yaml", []),
|
||||
"kafka": ("kafka-contour-0.1.15.tgz", "kafka.yaml", ["kafka-scram-users-job.yaml"]),
|
||||
"rabbitmq": ("rabbitmq-contour-15.2.4.tgz", "rabbitmq.yaml", []),
|
||||
"superset": ("superset-prod-0.13.3.tgz", "superset.yaml", []),
|
||||
"trino": ("trino-prod-0.33.0.tgz", "trino.yaml", []),
|
||||
"vault": ("vault-contour-0.2.3.tgz", "vault.yaml", []),
|
||||
"zitadel": ("idp-contour-4.12.13.tgz", "zitadel.yaml", ["uralkali-ca.yaml"]),
|
||||
}
|
||||
|
||||
NAMESPACE_PATCH = {"superset": "superset-namespace.yaml", "trino": "trino-namespace.yaml"}
|
||||
|
||||
|
||||
def load(p):
|
||||
with open(p, encoding="utf-8") as f:
|
||||
return yaml.safe_load(f)
|
||||
|
||||
|
||||
def sm_merge(base, overlay):
|
||||
"""Approximate kustomize strategic merge: dicts recursive, lists of dicts
|
||||
merged by 'name', everything else replaced."""
|
||||
if isinstance(base, dict) and isinstance(overlay, dict):
|
||||
out = copy.deepcopy(base)
|
||||
for k, v in overlay.items():
|
||||
out[k] = sm_merge(out[k], v) if k in out else copy.deepcopy(v)
|
||||
return out
|
||||
if isinstance(base, list) and isinstance(overlay, list):
|
||||
if all(isinstance(i, dict) and "name" in i for i in base + overlay) and base and overlay:
|
||||
out = copy.deepcopy(base)
|
||||
idx = {i["name"]: n for n, i in enumerate(out)}
|
||||
for item in overlay:
|
||||
if item["name"] in idx:
|
||||
out[idx[item["name"]]] = sm_merge(out[idx[item["name"]]], item)
|
||||
else:
|
||||
out.append(copy.deepcopy(item))
|
||||
return out
|
||||
return copy.deepcopy(overlay)
|
||||
return copy.deepcopy(overlay)
|
||||
|
||||
|
||||
def run(cmd, **kw):
|
||||
r = subprocess.run(cmd, capture_output=True, text=True, encoding="utf-8", **kw)
|
||||
if r.returncode != 0:
|
||||
raise RuntimeError(f"FAILED {' '.join(cmd)}\n{r.stdout}\n{r.stderr}")
|
||||
return r.stdout
|
||||
|
||||
|
||||
def write_docs(yaml_text, outdir, prefix_note=""):
|
||||
os.makedirs(outdir, exist_ok=True)
|
||||
written = []
|
||||
seen = {}
|
||||
for doc in yaml.safe_load_all(yaml_text):
|
||||
if not doc or not isinstance(doc, dict) or "kind" not in doc:
|
||||
continue
|
||||
kind = doc["kind"].lower()
|
||||
name = doc.get("metadata", {}).get("name", "unnamed")
|
||||
fname = f"{kind}-{name}.yaml"
|
||||
fname = re.sub(r"[^A-Za-z0-9_.-]", "-", fname)
|
||||
if fname in seen:
|
||||
ns = doc.get("metadata", {}).get("namespace")
|
||||
if ns:
|
||||
fname = f"{kind}-{ns}-{name}.yaml"
|
||||
fname = re.sub(r"[^A-Za-z0-9_.-]", "-", fname)
|
||||
if fname in seen:
|
||||
seen[fname] += 1
|
||||
fname = fname.replace(".yaml", f"-{seen[fname]}.yaml")
|
||||
seen[fname] = seen.get(fname, 0) + 1
|
||||
with open(os.path.join(outdir, fname), "w", encoding="utf-8", newline="\n") as f:
|
||||
f.write(yaml.safe_dump(doc, allow_unicode=True, sort_keys=False, width=4096))
|
||||
written.append(fname)
|
||||
return written
|
||||
|
||||
|
||||
def main():
|
||||
shutil.rmtree(WORK, ignore_errors=True)
|
||||
os.makedirs(WORK, exist_ok=True)
|
||||
summary = {}
|
||||
for comp, (tgz, patch_file, extras) in COMPONENTS.items():
|
||||
cdir = os.path.join(REPO, "infrastructure", comp)
|
||||
hr = load(os.path.join(cdir, "base", "helmrelease.yaml"))
|
||||
overlay = None
|
||||
if patch_file:
|
||||
overlay = load(os.path.join(cdir, "uralkal", patch_file))
|
||||
hr = sm_merge(hr, overlay)
|
||||
spec = hr["spec"]
|
||||
name = spec.get("releaseName") or hr["metadata"]["name"]
|
||||
ns = hr["metadata"]["namespace"]
|
||||
values = spec.get("values", {})
|
||||
wdir = os.path.join(WORK, comp)
|
||||
os.makedirs(wdir, exist_ok=True)
|
||||
vfile = os.path.join(wdir, "values.yaml")
|
||||
with open(vfile, "w", encoding="utf-8", newline="\n") as f:
|
||||
yaml.safe_dump(values, f, allow_unicode=True, sort_keys=False, width=4096)
|
||||
|
||||
chart = os.path.join(CHARTS, tgz)
|
||||
rendered = run(["helm", "template", name, chart, "-n", ns,
|
||||
"-f", vfile, "--include-crds", "--kube-version", "1.30.0"])
|
||||
|
||||
# apply postRenderers (JSON6902 patches via kubectl kustomize)
|
||||
prs = spec.get("postRenderers", [])
|
||||
patches = []
|
||||
for pr in prs:
|
||||
for p in pr.get("kustomize", {}).get("patches", []):
|
||||
patches.append({"target": p["target"], "patch": p["patch"]})
|
||||
if patches:
|
||||
with open(os.path.join(wdir, "rendered.yaml"), "w", encoding="utf-8", newline="\n") as f:
|
||||
f.write(rendered)
|
||||
kust = {"apiVersion": "kustomize.config.k8s.io/v1beta1",
|
||||
"kind": "Kustomization",
|
||||
"resources": ["rendered.yaml"],
|
||||
"patches": patches}
|
||||
with open(os.path.join(wdir, "kustomization.yaml"), "w", encoding="utf-8", newline="\n") as f:
|
||||
yaml.safe_dump(kust, f, sort_keys=False)
|
||||
rendered = run(["kubectl", "kustomize", wdir])
|
||||
|
||||
outdir = os.path.join(OUT, comp)
|
||||
shutil.rmtree(outdir, ignore_errors=True)
|
||||
files = write_docs(rendered, outdir)
|
||||
|
||||
# base namespace
|
||||
nsfile = os.path.join(cdir, "base", "namespace.yaml")
|
||||
if os.path.exists(nsfile):
|
||||
nsdocs = [d for d in yaml.safe_load_all(open(nsfile, encoding="utf-8")) if d]
|
||||
nspatch = NAMESPACE_PATCH.get(comp)
|
||||
if nspatch:
|
||||
nsdocs = [sm_merge(d, load(os.path.join(cdir, "uralkal", nspatch)))
|
||||
if d.get("kind") == "Namespace" else d for d in nsdocs]
|
||||
for d in nsdocs:
|
||||
fname = re.sub(r"[^A-Za-z0-9_.-]", "-",
|
||||
f"{d['kind'].lower()}-{d['metadata']['name']}.yaml")
|
||||
with open(os.path.join(outdir, fname), "w", encoding="utf-8", newline="\n") as f:
|
||||
yaml.safe_dump(d, f, allow_unicode=True, sort_keys=False)
|
||||
files.append(fname)
|
||||
|
||||
# extra plain resources from overlay
|
||||
for extra in extras:
|
||||
src = os.path.join(cdir, "uralkal", extra)
|
||||
if not os.path.exists(src):
|
||||
continue
|
||||
for doc in yaml.safe_load_all(open(src, encoding="utf-8")):
|
||||
if not doc:
|
||||
continue
|
||||
fname = re.sub(r"[^A-Za-z0-9_.-]", "-",
|
||||
f"{doc['kind'].lower()}-{doc['metadata']['name']}.yaml")
|
||||
with open(os.path.join(outdir, fname), "w", encoding="utf-8", newline="\n") as f:
|
||||
yaml.safe_dump(doc, f, allow_unicode=True, sort_keys=False, width=4096)
|
||||
files.append(fname)
|
||||
|
||||
summary[comp] = files
|
||||
print(f"[{comp}] {len(files)} files")
|
||||
|
||||
print("\nDONE")
|
||||
return summary
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
CAMUNDA_IDENTITY_BASEURL: http://camunda-identity:80
|
||||
CAMUNDA_IDENTITY_ISSUER: https://camunda-keycloak.stand.sarex.tech/auth/realms/camunda-platform
|
||||
CAMUNDA_IDENTITY_ISSUER_BACKEND_URL: http://camunda-keycloak:80/auth/realms/camunda-platform
|
||||
CAMUNDA_IDENTITY_TYPE: KEYCLOAK
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-camunda-contour-identity-env-vars
|
||||
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
info: "- name: camunda\n namespace: camunda\n version: 11.0.14\n components:\n - name: Keycloak\n id: keycloak\n version: 25.0.6\n url: http://localhost:18080/auth\n - name: Identity\n id: identity\n version: 8.6.4\n url: http://localhost:8080\n readiness: http://camunda-identity.camunda:82/actuator/health\n metrics: http://camunda-identity.camunda:82/actuator/prometheus\n - name: Operate\n id: operate\n version: 8.6.5\n url: http://localhost:8081\n readiness: http://camunda-operate.camunda:9600/actuator/health/readiness\n metrics: http://camunda-operate.camunda:9600/actuator/prometheus\n - name: Optimize\n id: optimize\n version: 8.6.2\n url: http://localhost:8083\n readiness: http://camunda-optimize.camunda:80/api/readyz\n metrics: http://camunda-optimize.camunda:8092/actuator/prometheus\n - name: Tasklist\n id: tasklist\n version: 8.6.5\n url: http://localhost:8082\n readiness: http://camunda-tasklist.camunda:9600/actuator/health/readiness\n metrics: http://camunda-tasklist.camunda:9600/actuator/prometheus\n - name: Zeebe Gateway\n id: zeebeGateway\n version: 8.6.5\n urls:\n grpc: http://localhost:26500\n http: http://localhost:8088\n readiness: http://camunda-zeebe-gateway.camunda:9600/actuator/health/readiness\n metrics: http://camunda-zeebe-gateway.camunda:9600/actuator/prometheus\n - name: Zeebe\n id: zeebe\n version: 8.6.5\n readiness: http://camunda-zeebe.camunda:9600/actuator/health/readiness\n metrics: http://camunda-zeebe.camunda:9600/actuator/prometheus"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-camunda-contour-release
|
||||
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application.yml: "server:\n port: 8080\ncamunda:\n operate:\n client:\n url: \"http://camunda-operate:80\"\n identity:\n audience: \"operate-api\"\n client-id: \"connectors\"\n\nzeebe:\n client:\n broker:\n gateway-address: \"camunda-zeebe-gateway:26500\"\n security:\n plaintext: true\n"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-connectors-configuration
|
||||
@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application.yaml: "identity:\n url: \"https://camunda-identity.stand.sarex.tech\"\n flags:\n multi-tenancy: \"false\"\n\n authProvider:\n issuer-url: \"https://camunda-keycloak.stand.sarex.tech/auth/realms/camunda-platform\"\n backend-url: \"http://camunda-keycloak:80/auth/realms/camunda-platform\"\n\n component-presets:\n connectors:\n applications:\n - name: Connectors\n id: ${CAMUNDA_CONNECTORS_CLIENT_ID:${KEYCLOAK_INIT_CONNECTORS_CLIENT_ID:connectors}}\n type: m2m\n secret: ${CAMUNDA_CONNECTORS_SECRET:${KEYCLOAK_INIT_CONNECTORS_SECRET:}}\n permissions:\n - audience: \"operate-api\"\n definition: read:*\n console:\n applications:\n - name: \"Console\"\n id: ${CAMUNDA_CONSOLE_CLIENT_ID:${KEYCLOAK_INIT_CONSOLE_CLIENT_ID:console}}\n type: public\n root-url: \"http://localhost:8080\"\n redirect-uris:\n - \"/\"\n apis:\n - name: Console API\n audience: \"console-api\"\n permissions:\n - definition: write:*\n description: \"Write permission\"\n roles:\n - name: \"Console\"\n description: \"Grants full access to Console\"\n permissions:\n - audience: \"console-api\"\n definition: write:*\n identity:\n apis:\n - name: \"Camunda Identity Resource Server\"\n audience: \"camunda-identity-resource-server\"\n permissions:\n - definition: read\n description: \"Read permission\"\n - definition: \"read:users\"\n description: \"Read users permission\"\n - definition: write\n description: \"Write permission\"\n roles:\n - name: \"Identity\"\n description: \"Provides full access to Identity\"\n permissions:\n - audience: \"camunda-identity-resource-server\"\n definition: read\n - audience: \"camunda-identity-resource-server\"\n definition: write\n operate:\n applications:\n - name: Operate\n id: ${CAMUNDA_OPERATE_CLIENT_ID:${KEYCLOAK_INIT_OPERATE_CLIENT_ID:operate}}\n type: confidential\n secret: ${CAMUNDA_OPERATE_SECRET:${KEYCLOAK_INIT_OPERATE_SECRET:}}\n root-url: \"https://camunda-operate.stand.sarex.tech\"\n redirect-uris:\n - \"/identity-callback\"\n apis:\n - name: Operate API\n audience: \"operate-api\"\n permissions:\n - definition: read:*\n description: \"Read permission\"\n - definition: write:*\n description: \"Write permission\"\n roles:\n - name: \"Operate\"\n description: \"Grants full access to Operate\"\n permissions:\n - audience: \"operate-api\"\n definition: read:*\n - audience: \"operate-api\"\n definition: write:*\n optimize:\n applications:\n - name: Optimize\n id: ${CAMUNDA_OPTIMIZE_CLIENT_ID:${KEYCLOAK_INIT_OPTIMIZE_CLIENT_ID:optimize}}\n type: confidential\n secret: ${CAMUNDA_OPTIMIZE_SECRET:${KEYCLOAK_INIT_OPTIMIZE_SECRET:}}\n root-url: \"https://camunda-optimize.stand.sarex.tech\"\n redirect-uris:\n - \"/api/authentication/callback\"\n apis:\n - name: Optimize API\n audience: \"optimize-api\"\n permissions:\n - definition: write:*\n description: \"Write permission\"\n roles:\n - name: \"Optimize\"\n description: \"Grants full access to Optimize\"\n permissions:\n - audience: \"optimize-api\"\n definition: write:*\n - audience: \"camunda-identity-resource-server\"\n definition: read:users\n tasklist:\n applications:\n - name: Tasklist\n id: ${CAMUNDA_TASKLIST_CLIENT_ID:${KEYCLOAK_INIT_TASKLIST_CLIENT_ID:tasklist}}\n\
|
||||
\ type: confidential\n secret: ${CAMUNDA_TASKLIST_SECRET:${KEYCLOAK_INIT_TASKLIST_SECRET:}}\n root-url: \"https://camunda-tasklist.stand.sarex.tech\"\n redirect-uris:\n - \"/identity-callback\"\n apis:\n - name: Tasklist API\n audience: \"tasklist-api\"\n permissions:\n - definition: read:*\n description: \"Read permission\"\n - definition: write:*\n description: \"Write permission\"\n roles:\n - name: \"Tasklist\"\n description: \"Grants full access to Tasklist\"\n permissions:\n - audience: \"tasklist-api\"\n definition: read:*\n - audience: \"tasklist-api\"\n definition: write:*\n webmodeler:\n applications:\n - name: \"Web Modeler\"\n id: ${CAMUNDA_WEBMODELER_CLIENT_ID:${KEYCLOAK_INIT_WEBMODELER_CLIENT_ID:web-modeler}}\n type: public\n root-url: \"http://localhost:8084\"\n redirect-uris:\n - \"/login-callback\"\n apis:\n - name: Web Modeler Internal API\n audience: \"web-modeler-api\"\n permissions:\n - definition: write:*\n description: \"Write permission\"\n - definition: admin:*\n description: \"Admin permission\"\n - name: Web Modeler API\n audience: \"web-modeler-public-api\"\n permissions:\n - definition: create:*\n description: \"Allows create access for all resources\"\n - definition: read:*\n description: \"Allows read access to all resources\"\n - definition: update:*\n description: \"Allows update access to all resources\"\n - definition: delete:*\n description: \"Allows delete access for all resources\"\n roles:\n - name: \"Web Modeler\"\n description: \"Grants full access to Web Modeler\"\n permissions:\n - audience: \"web-modeler-api\"\n definition: write:*\n - audience: \"camunda-identity-resource-server\"\n definition: read:users\n - name: \"Web Modeler Admin\"\n description: \"Grants elevated access to Web Modeler\"\n permissions:\n - audience: \"camunda-identity-resource-server\"\n definition: read:users\n - audience: \"web-modeler-api\"\n definition: write:*\n - audience: \"web-modeler-api\"\n definition: admin:*\n zeebe:\n apis:\n - name: Zeebe API\n audience: \"zeebe-api\"\n permissions:\n - definition: write:*\n description: \"Write permission\"\n roles:\n - name: \"Zeebe\"\n description: \"Grants full access to the Zeebe API\"\n permissions:\n - audience: \"zeebe-api\"\n definition: write:*\nkeycloak:\n environment:\n clients:\n - name: Identity\n id: \"camunda-identity\"\n type: CONFIDENTIAL\n secret: ${CAMUNDA_IDENTITY_CLIENT_SECRET:}\n root-url: \"https://camunda-identity.stand.sarex.tech\"\n redirect-uris:\n - \"/auth/login-callback\"\n # The presets key should be removed when 8.6.0 of the applications are released\n presets:\n tasklist:\n clients:\n - name: Tasklist\n id: tasklist\n type: confidential\n secret: ${KEYCLOAK_INIT_TASKLIST_SECRET:}\n root-url: \"https://camunda-tasklist.stand.sarex.tech\"\n redirect-uris:\n - \"/identity-callback\"\n operate:\n clients:\n - name: Operate\n id: ${KEYCLOAK_INIT_OPERATE_CLIENT_ID:operate}\n type: confidential\n secret: ${KEYCLOAK_INIT_OPERATE_SECRET:}\n root-url: \"https://camunda-operate.stand.sarex.tech\"\n redirect-uris:\n - \"/identity-callback\"\n optimize:\n clients:\n \
|
||||
\ - name: Optimize\n id: ${KEYCLOAK_INIT_OPTIMIZE_CLIENT_ID:optimize}\n type: confidential\n secret: ${KEYCLOAK_INIT_OPTIMIZE_SECRET:}\n root-url: \"https://camunda-optimize.stand.sarex.tech\"\n redirect-uris:\n - \"/api/authentication/callback\"\n console:\n clients:\n - name: \"Console\"\n id: ${KEYCLOAK_INIT_CONSOLE_CLIENT_ID:console}\n type: public\n root-url: \"http://localhost:8080\"\n redirect-uris:\n - \"/\"\nserver:\n port: 8080\n\nspring:\n profiles:\n active: keycloak\n datasource:\n url: \"jdbc:postgresql://postgres.local.example.com:5432/identity\"\n username: \"identity\"\n\ncamunda:\n identity:\n audience: \"camunda-identity-resource-server\"\n"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-identity-configuration
|
||||
@ -0,0 +1,28 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
JAVA_OPTS_APPEND: -Djgroups.dns.query=camunda-keycloak-headless.camunda.svc.cluster.local
|
||||
KEYCLOAK_ADMIN: admin
|
||||
KEYCLOAK_CACHE_STACK: kubernetes
|
||||
KEYCLOAK_CACHE_TYPE: ispn
|
||||
KEYCLOAK_DATABASE_HOST: postgres.local.example.com
|
||||
KEYCLOAK_DATABASE_NAME: bitnami_keycloak
|
||||
KEYCLOAK_DATABASE_PORT: '5432'
|
||||
KEYCLOAK_DATABASE_USER: bn_keycloak
|
||||
KEYCLOAK_ENABLE_HTTPS: 'false'
|
||||
KEYCLOAK_ENABLE_STATISTICS: 'false'
|
||||
KEYCLOAK_HTTP_PORT: '8080'
|
||||
KEYCLOAK_LOG_LEVEL: INFO,org.keycloak.storage.ldap:debug
|
||||
KEYCLOAK_LOG_OUTPUT: default
|
||||
KEYCLOAK_PRODUCTION: 'false'
|
||||
KEYCLOAK_PROXY_HEADERS: xforwarded
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak-env-vars
|
||||
namespace: camunda
|
||||
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application.yaml: "spring:\n profiles:\n active: \"identity-auth\"\n security:\n oauth2:\n resourceserver:\n jwt:\n issuer-uri: \"http://camunda-keycloak:80/auth/realms/camunda-platform\"\n jwk-set-uri: \"http://camunda-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs\"\n\ncamunda:\n identity:\n clientId: \"operate\"\n audience: \"operate-api\"\n\n# Camunda Database configuration\ncamunda.database:\n type: elasticsearch\n # Cluster name\n clusterName: elasticsearch\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n\n# Operate configuration file\ncamunda.operate:\n identity:\n redirectRootUrl: \"https://camunda-operate.stand.sarex.tech\"\n\n # ELS instance to store Operate data\n elasticsearch:\n # Cluster name\n clusterName: elasticsearch\n # Host\n host: camunda-elasticsearch\n # Transport port\n port: 9200\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n # ELS instance to export Zeebe data to\n zeebeElasticsearch:\n # Cluster name\n clusterName: elasticsearch\n # Host\n host: camunda-elasticsearch\n # Transport port\n port: 9200\n # Index prefix, configured in Zeebe Elasticsearch exporter\n prefix: zeebe-record\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n # Zeebe instance\n zeebe:\n # Gateway address\n gatewayAddress: \"camunda-zeebe-gateway:26500\"\n archiver:\n ilmEnabled: true\n ilmMinAgeForDeleteArchivedIndices: 240d\nlogging:\n level:\n ROOT: INFO\n io.camunda.operate: INFO\n#Spring Boot Actuator endpoints to be exposed\nmanagement.endpoints.web.exposure.include: health,info,conditions,configprops,prometheus,loggers,usage-metrics,backups\n"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-operate-configuration
|
||||
@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application-ccsm.yaml: "camunda:\n identity:\n clientId: \"optimize\"\n audience: \"optimize-api\"\n issuer: \"https://camunda-keycloak.stand.sarex.tech/auth/realms/camunda-platform\"\n issuerBackendUrl: \"http://camunda-keycloak:80/auth/realms/camunda-platform\"\n"
|
||||
environment-config.yaml: "\nzeebe:\n enabled: true\n partitionCount: 3\n name: zeebe-record\nes:\n connection:\n nodes:\n - host: \"camunda-elasticsearch\"\n httpPort: 9200\n\nspring:\n profiles:\n active: \"ccsm\"\n\nsecurity:\n auth:\n cookie:\n same-site:\n enabled: false\n ccsm:\n redirectRootUrl: \"https://camunda-optimize.stand.sarex.tech\"\napi:\n audience: \"optimize-api\"\n jwtSetUri: \"http://camunda-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs\"\n"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.2
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-optimize-configuration
|
||||
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application.yaml: "spring:\n profiles:\n active: identity-auth\n security:\n oauth2:\n resourceserver:\n jwt:\n issuer-uri: \"http://camunda-keycloak:80/auth/realms/camunda-platform\"\n jwk-set-uri: \"http://camunda-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/certs\"\n\ncamunda:\n identity:\n clientId: \"tasklist\"\n audience: \"tasklist-api\"\n\n# Camunda Database configuration\ncamunda.database:\n type: elasticsearch\n # Cluster name\n clusterName: elasticsearch\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n\n# Tasklist configuration file\ncamunda.tasklist:\n\n identity:\n redirectRootUrl: \"https://camunda-tasklist.stand.sarex.tech\"\n userAccessRestrictions:\n enabled: \"true\"\n\n # Set Tasklist username and password.\n # If user with <username> does not exists it will be created.\n # Default: demo/demo\n #username:\n #password:\n # ELS instance to store Tasklist data\n elasticsearch:\n # Cluster name\n clusterName: elasticsearch\n # Host\n host: camunda-elasticsearch\n # Transport port\n port: 9200\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n # ELS instance to export Zeebe data to\n zeebeElasticsearch:\n # Cluster name\n clusterName: elasticsearch\n # Host\n host: camunda-elasticsearch\n # Transport port\n port: 9200\n # Index prefix, configured in Zeebe Elasticsearch exporter\n prefix: zeebe-record\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n # Zeebe instance\n zeebe:\n # Gateway address\n gatewayAddress: \"camunda-zeebe-gateway:26500\"\n restAddress: \"http://camunda-zeebe-gateway:8080\"\n archiver:\n ilmEnabled: true\n ilmMinAgeForDeleteArchivedIndices: 240d\n#Spring Boot Actuator endpoints to be exposed\nmanagement.endpoints.web.exposure.include: health,info,conditions,configprops,prometheus,loggers,usage-metrics,backups\n# Enable or disable metrics\n#management.metrics.export.prometheus.enabled: false\n"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-tasklist-configuration
|
||||
@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application.yaml: "zeebe:\n broker:\n exporters:\n elasticsearch:\n className: \"io.camunda.zeebe.exporter.ElasticsearchExporter\"\n args:\n url: \"http://camunda-elasticsearch:9200\"\n index:\n prefix: \"zeebe-record\"\n retention:\n enabled: true\n minimumAge: \"240d\"\n policyName: \"zeebe-record-retention-policy\"\n gateway:\n enable: true\n network:\n port: 26500\n security:\n enabled: false\n authentication:\n mode: none\n network:\n host: 0.0.0.0\n commandApi:\n port: 26501\n internalApi:\n port: 26502\n monitoringApi:\n port: \"9600\"\n cluster:\n clusterSize: \"1\"\n replicationFactor: \"1\"\n partitionsCount: \"1\"\n clusterName: camunda-zeebe\n threads:\n cpuThreadCount: \"3\"\n ioThreadCount: \"3\"\n\n# Camunda Database configuration\ncamunda.database:\n type: elasticsearch\n # Cluster name\n clusterName: elasticsearch\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n"
|
||||
broker-log4j2.xml: ''
|
||||
startup.sh: "#!/usr/bin/env bash\nset -eux -o pipefail\nexport ZEEBE_BROKER_CLUSTER_NODEID=${ZEEBE_BROKER_CLUSTER_NODEID:-$[${K8S_NAME##*-} * 1 + 0]}\n\nif [ \"$(ls -A /exporters/)\" ]; then\n mkdir -p /usr/local/zeebe/exporters/\n cp -a /exporters/*.jar /usr/local/zeebe/exporters/\nelse\n echo \"No exporters available.\"\nfi\nexec /usr/local/zeebe/bin/broker\n"
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe-configuration
|
||||
@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
application.yaml: "spring:\n profiles:\n active: \"identity-auth\"\n\n# Camunda Database configuration\ncamunda.database:\n type: elasticsearch\n # Cluster name\n clusterName: elasticsearch\n # Elasticsearch full url\n url: \"http://camunda-elasticsearch:9200\"\n\nserver:\n address: \"0.0.0.0\"\n port: \"8080\"\ncamunda:\n identity:\n type: \"KEYCLOAK\"\n issuerBackendUrl: \"http://camunda-keycloak:80/auth/realms/camunda-platform\"\n audience: \"zeebe-api\"\n baseUrl: \"http://camunda-identity:80\"\nzeebe:\n gateway:\n security:\n authentication:\n mode: identity\n monitoring:\n host: 0.0.0.0\n port: \"9600\"\n cluster:\n clusterName: camunda-zeebe\n port: \"26502\"\n network:\n host: 0.0.0.0\n port: \"26500\"\n"
|
||||
gateway-log4j2.xml: ''
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe-gateway-configuration
|
||||
9
rmk/infrastructure/camunda/configmap-corporate-ca.yaml
Normal file
9
rmk/infrastructure/camunda/configmap-corporate-ca.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: corporate-ca
|
||||
namespace: camunda
|
||||
data:
|
||||
corporate-ca.crt: '# REPLACE: corporate root CA certificate in PEM format
|
||||
|
||||
'
|
||||
7
rmk/infrastructure/camunda/configmap-keycloak-krb5.yaml
Normal file
7
rmk/infrastructure/camunda/configmap-keycloak-krb5.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: keycloak-krb5
|
||||
namespace: camunda
|
||||
data:
|
||||
krb5.conf: "[libdefaults]\n default_realm = LOCAL.EXAMPLE.COM\n dns_lookup_kdc = false\n dns_lookup_realm = false\n rdns = false\n default_tkt_enctypes = aes256-cts-hmac-sha1-96\n default_tgs_enctypes = aes256-cts-hmac-sha1-96\n permitted_enctypes = aes256-cts-hmac-sha1-96\n\n[realms]\n LOCAL.EXAMPLE.COM = {\n kdc = dc1.local.example.com\n admin_server = dc1.local.example.com\n }\n\n[domain_realm]\n .local.example.com = LOCAL.EXAMPLE.COM\n local.example.com = LOCAL.EXAMPLE.COM\n"
|
||||
137
rmk/infrastructure/camunda/deployment-camunda-connectors.yaml
Normal file
137
rmk/infrastructure/camunda/deployment-camunda-connectors.yaml
Normal file
@ -0,0 +1,137 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-connectors
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 3fc87851e67a7bfbd35b3dc1d63ad4f499c66b301c0ccd05e8c72af0649242e6
|
||||
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: '8200'
|
||||
vault.hashicorp.com/agent-init-first: 'true'
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/agent-inject-secret-CAMUNDA_IDENTITY_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-ZEEBE_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-template-CAMUNDA_IDENTITY_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "connectors-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-ZEEBE_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "zeebe-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-pre-populate-only: 'true'
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: camunda
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- "\n\nif [ -f \"/vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/camunda_identity_client_secret\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/camunda_identity_client_secret)\"\nfi\nif [ -f \"/vault/secrets/ZEEBE_CLIENT_SECRET\" ]; then\n export ZEEBE_CLIENT_SECRET=\"$(cat /vault/secrets/ZEEBE_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/zeebe_client_secret\" ]; then\n export ZEEBE_CLIENT_SECRET=\"$(cat /vault/secrets/zeebe_client_secret)\"\nfi\n exec '/start.sh'\n"
|
||||
env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: ZEEBE_CLIENT_ID
|
||||
value: zeebe
|
||||
- name: ZEEBE_AUTHORIZATION_SERVER_URL
|
||||
value: http://camunda-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/token
|
||||
- name: ZEEBE_TOKEN_AUDIENCE
|
||||
value: zeebe-api
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: camunda-camunda-contour-identity-env-vars
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/connectors-bundle:8.6.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: connectors
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 1Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /config/application.yml
|
||||
name: config
|
||||
subPath: application.yml
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers: []
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-connectors
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
- configMap:
|
||||
name: camunda-connectors-configuration
|
||||
name: config
|
||||
226
rmk/infrastructure/camunda/deployment-camunda-identity.yaml
Normal file
226
rmk/infrastructure/camunda/deployment-camunda-identity.yaml
Normal file
@ -0,0 +1,226 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-identity
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 7d868b655864efe4e322bab146d9b48dae782b955a282bf13d7fc8f9b719db4a
|
||||
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: '8200'
|
||||
vault.hashicorp.com/agent-init-first: 'true'
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/agent-inject-secret-IDENTITY_DATABASE_PASSWORD: secrets/data/camunda/postgresql
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_CLIENTS_0_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_CLIENTS_1_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_INIT_CONSOLE_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_INIT_OPERATE_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_INIT_OPTIMIZE_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_INIT_TASKLIST_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_SETUP_PASSWORD: secrets/data/camunda/keycloak-admin
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_USERS_0_PASSWORD: secrets/data/camunda/identity-firstuser
|
||||
vault.hashicorp.com/agent-inject-template-IDENTITY_DATABASE_PASSWORD: '{{- with secret "secrets/data/camunda/postgresql" -}}
|
||||
|
||||
{{ index .Data.data "password" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_CLIENTS_0_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "connectors-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_CLIENTS_1_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "zeebe-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_INIT_CONSOLE_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "console-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_INIT_OPERATE_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "operate-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_INIT_OPTIMIZE_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "optimize-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_INIT_TASKLIST_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "tasklist-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_SETUP_PASSWORD: '{{- with secret "secrets/data/camunda/keycloak-admin" -}}
|
||||
|
||||
{{ index .Data.data "admin-password" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_USERS_0_PASSWORD: '{{- with secret "secrets/data/camunda/identity-firstuser" -}}
|
||||
|
||||
{{ index .Data.data "identity-firstuser-password" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-pre-populate-only: 'true'
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: camunda
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- "\n\nif [ -f \"/vault/secrets/KEYCLOAK_INIT_OPERATE_SECRET\" ]; then\n export KEYCLOAK_INIT_OPERATE_SECRET=\"$(cat /vault/secrets/KEYCLOAK_INIT_OPERATE_SECRET)\"\nelif [ -f \"/vault/secrets/keycloak_init_operate_secret\" ]; then\n export KEYCLOAK_INIT_OPERATE_SECRET=\"$(cat /vault/secrets/keycloak_init_operate_secret)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_INIT_CONSOLE_SECRET\" ]; then\n export KEYCLOAK_INIT_CONSOLE_SECRET=\"$(cat /vault/secrets/KEYCLOAK_INIT_CONSOLE_SECRET)\"\nelif [ -f \"/vault/secrets/keycloak_init_console_secret\" ]; then\n export KEYCLOAK_INIT_CONSOLE_SECRET=\"$(cat /vault/secrets/keycloak_init_console_secret)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_INIT_TASKLIST_SECRET\" ]; then\n export KEYCLOAK_INIT_TASKLIST_SECRET=\"$(cat /vault/secrets/KEYCLOAK_INIT_TASKLIST_SECRET)\"\nelif [ -f \"/vault/secrets/keycloak_init_tasklist_secret\" ]; then\n export KEYCLOAK_INIT_TASKLIST_SECRET=\"$(cat /vault/secrets/keycloak_init_tasklist_secret)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_INIT_OPTIMIZE_SECRET\" ]; then\n export KEYCLOAK_INIT_OPTIMIZE_SECRET=\"$(cat /vault/secrets/KEYCLOAK_INIT_OPTIMIZE_SECRET)\"\nelif [ -f \"/vault/secrets/keycloak_init_optimize_secret\" ]; then\n export KEYCLOAK_INIT_OPTIMIZE_SECRET=\"$(cat /vault/secrets/keycloak_init_optimize_secret)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_CLIENTS_0_SECRET\" ]; then\n export KEYCLOAK_CLIENTS_0_SECRET=\"$(cat /vault/secrets/KEYCLOAK_CLIENTS_0_SECRET)\"\nelif [ -f \"/vault/secrets/keycloak_clients_0_secret\" ]; then\n export KEYCLOAK_CLIENTS_0_SECRET=\"$(cat /vault/secrets/keycloak_clients_0_secret)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_CLIENTS_1_SECRET\" ]; then\n export KEYCLOAK_CLIENTS_1_SECRET=\"$(cat /vault/secrets/KEYCLOAK_CLIENTS_1_SECRET)\"\nelif [ -f \"/vault/secrets/keycloak_clients_1_secret\" ]; then\n export KEYCLOAK_CLIENTS_1_SECRET=\"$(cat /vault/secrets/keycloak_clients_1_secret)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_SETUP_PASSWORD\" ]; then\n export KEYCLOAK_SETUP_PASSWORD=\"$(cat /vault/secrets/KEYCLOAK_SETUP_PASSWORD)\"\nelif [ -f \"/vault/secrets/keycloak_setup_password\" ]; then\n export KEYCLOAK_SETUP_PASSWORD=\"$(cat /vault/secrets/keycloak_setup_password)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_USERS_0_PASSWORD\" ]; then\n export KEYCLOAK_USERS_0_PASSWORD=\"$(cat /vault/secrets/KEYCLOAK_USERS_0_PASSWORD)\"\nelif [ -f \"/vault/secrets/keycloak_users_0_password\" ]; then\n export KEYCLOAK_USERS_0_PASSWORD=\"$(cat /vault/secrets/keycloak_users_0_password)\"\nfi\nif [ -f \"/vault/secrets/IDENTITY_DATABASE_PASSWORD\" ]; then\n export IDENTITY_DATABASE_PASSWORD=\"$(cat /vault/secrets/IDENTITY_DATABASE_PASSWORD)\"\nelif [ -f \"/vault/secrets/identity_database_password\" ]; then\n export IDENTITY_DATABASE_PASSWORD=\"$(cat /vault/secrets/identity_database_password)\"\nfi\n exec 'java' '-jar' 'identity.jar'\n"
|
||||
env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: KEYCLOAK_INIT_WEBMODELER_ROOT_URL
|
||||
value: http://localhost:8084
|
||||
- name: KEYCLOAK_INIT_ZEEBE_NAME
|
||||
value: Zeebe
|
||||
- name: KEYCLOAK_CLIENTS_0_NAME
|
||||
value: Connectors
|
||||
- name: KEYCLOAK_CLIENTS_0_ID
|
||||
value: connectors
|
||||
- name: KEYCLOAK_CLIENTS_0_ROOT_URL
|
||||
value: http://placeholder
|
||||
- name: KEYCLOAK_CLIENTS_0_REDIRECT_URIS_0
|
||||
value: /
|
||||
- name: KEYCLOAK_CLIENTS_0_PERMISSIONS_0_RESOURCE_SERVER_ID
|
||||
value: operate-api
|
||||
- name: KEYCLOAK_CLIENTS_0_PERMISSIONS_0_DEFINITION
|
||||
value: read:*
|
||||
- name: KEYCLOAK_CLIENTS_1_NAME
|
||||
value: Zeebe
|
||||
- name: KEYCLOAK_CLIENTS_1_ID
|
||||
value: zeebe
|
||||
- name: KEYCLOAK_CLIENTS_1_TYPE
|
||||
value: M2M
|
||||
- name: KEYCLOAK_CLIENTS_1_PERMISSIONS_0_RESOURCE_SERVER_ID
|
||||
value: zeebe-api
|
||||
- name: KEYCLOAK_CLIENTS_1_PERMISSIONS_0_DEFINITION
|
||||
value: write:*
|
||||
- name: KEYCLOAK_URL
|
||||
value: http://camunda-keycloak:80/auth
|
||||
- name: KEYCLOAK_SETUP_USER
|
||||
value: admin
|
||||
- name: KEYCLOAK_USERS_0_USERNAME
|
||||
value: sarex
|
||||
- name: KEYCLOAK_USERS_0_EMAIL
|
||||
value: camunda@sarex.io
|
||||
- name: KEYCLOAK_USERS_0_FIRST_NAME
|
||||
value: Sarex
|
||||
- name: KEYCLOAK_USERS_0_LAST_NAME
|
||||
value: LLC
|
||||
- name: KEYCLOAK_USERS_0_ROLES_0
|
||||
value: Identity
|
||||
- name: KEYCLOAK_USERS_0_ROLES_1
|
||||
value: Operate
|
||||
- name: KEYCLOAK_USERS_0_ROLES_2
|
||||
value: Tasklist
|
||||
- name: KEYCLOAK_USERS_0_ROLES_3
|
||||
value: Optimize
|
||||
- name: KEYCLOAK_USERS_0_ROLES_4
|
||||
value: Web Modeler
|
||||
- name: KEYCLOAK_USERS_0_ROLES_5
|
||||
value: Web Modeler Admin
|
||||
- name: KEYCLOAK_USERS_0_ROLES_6
|
||||
value: Console
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/identity:8.6.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: camunda-contour
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 8082
|
||||
name: metrics
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /actuator/health
|
||||
port: metrics
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 600m
|
||||
memory: 400Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /app/config/application.yaml
|
||||
name: config
|
||||
subPath: application.yaml
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers: []
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-identity
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
- configMap:
|
||||
name: camunda-identity-configuration
|
||||
name: config
|
||||
195
rmk/infrastructure/camunda/deployment-camunda-operate.yaml
Normal file
195
rmk/infrastructure/camunda/deployment-camunda-operate.yaml
Normal file
@ -0,0 +1,195 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-operate
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 6e0ffe489419a1159fe8d2387792cc4cdcb5d94733aa836e187dfb419f1af88d
|
||||
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: '8200'
|
||||
vault.hashicorp.com/agent-init-first: 'true'
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/agent-inject-secret-CAMUNDA_IDENTITY_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-ZEEBE_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-template-CAMUNDA_IDENTITY_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "operate-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-ZEEBE_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "zeebe-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-pre-populate-only: 'true'
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: camunda
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- "\n\nif [ -f \"/vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/camunda_identity_client_secret\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/camunda_identity_client_secret)\"\nfi\nif [ -f \"/vault/secrets/ZEEBE_CLIENT_SECRET\" ]; then\n export ZEEBE_CLIENT_SECRET=\"$(cat /vault/secrets/ZEEBE_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/zeebe_client_secret\" ]; then\n export ZEEBE_CLIENT_SECRET=\"$(cat /vault/secrets/zeebe_client_secret)\"\nfi\n exec '/sbin/tini' '--' '/usr/local/operate/bin/operate'\n"
|
||||
env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: ZEEBE_CLIENT_ID
|
||||
value: zeebe
|
||||
- name: ZEEBE_AUTHORIZATION_SERVER_URL
|
||||
value: http://camunda-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/token
|
||||
- name: ZEEBE_TOKEN_AUDIENCE
|
||||
value: zeebe-api
|
||||
- name: ZEEBE_CLIENT_CONFIG_PATH
|
||||
value: /tmp/zeebe_auth_cache
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_HOST
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_MEMBERID
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_CLUSTERNAME
|
||||
value: camunda-zeebe
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_PORT
|
||||
value: '26502'
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_INITIALCONTACTPOINTS
|
||||
value: camunda-zeebe:26502
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: camunda-camunda-contour-identity-env-vars
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/operate:8.6.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: operate
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 9600
|
||||
name: management
|
||||
- containerPort: 26502
|
||||
name: internal
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: management
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 600m
|
||||
memory: 400Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /usr/local/operate/config/application.yaml
|
||||
name: config
|
||||
subPath: application.yaml
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /camunda
|
||||
name: camunda
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- /usr/local/operate/bin/migrate
|
||||
env: null
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/operate:8.6.5
|
||||
name: migration
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 600m
|
||||
memory: 1Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /usr/local/operate/config/application.yaml
|
||||
name: config
|
||||
subPath: application.yaml
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /camunda
|
||||
name: camunda
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-operate
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 484
|
||||
name: camunda-operate-configuration
|
||||
name: config
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
- emptyDir: {}
|
||||
name: camunda
|
||||
184
rmk/infrastructure/camunda/deployment-camunda-optimize.yaml
Normal file
184
rmk/infrastructure/camunda/deployment-camunda-optimize.yaml
Normal file
@ -0,0 +1,184 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.2
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-optimize
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: fd69979d256b53dfe55bc903d3905582eed9e59ced7f7a947ca1524066905a60
|
||||
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: '8200'
|
||||
vault.hashicorp.com/agent-init-first: 'true'
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/agent-inject-secret-CAMUNDA_IDENTITY_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-template-CAMUNDA_IDENTITY_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "optimize-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-pre-populate-only: 'true'
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: camunda
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.2
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- "\n\nif [ -f \"/vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/camunda_identity_client_secret\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/camunda_identity_client_secret)\"\nfi\n exec '/sbin/tini' '--' './optimize.sh'\n"
|
||||
env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: OPTIMIZE_ELASTICSEARCH_HOST
|
||||
value: camunda-elasticsearch
|
||||
- name: OPTIMIZE_ELASTICSEARCH_HTTP_PORT
|
||||
value: '9200'
|
||||
- name: SPRING_PROFILES_ACTIVE
|
||||
value: ccsm
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: camunda-camunda-contour-identity-env-vars
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/optimize:8.6.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: optimize
|
||||
ports:
|
||||
- containerPort: 8090
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 8092
|
||||
name: management
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /api/readyz
|
||||
port: http
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 600m
|
||||
memory: 1Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /camunda
|
||||
name: camunda
|
||||
- mountPath: /optimize/config/environment-config.yaml
|
||||
name: environment-config
|
||||
subPath: environment-config.yaml
|
||||
- mountPath: /optimize/config/application-ccsm.yaml
|
||||
name: environment-config
|
||||
subPath: application-ccsm.yaml
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers:
|
||||
- command:
|
||||
- ./upgrade/upgrade.sh
|
||||
- --skip-warning
|
||||
env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: OPTIMIZE_ELASTICSEARCH_HOST
|
||||
value: camunda-elasticsearch
|
||||
- name: OPTIMIZE_ELASTICSEARCH_HTTP_PORT
|
||||
value: '9200'
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/optimize:8.6.2
|
||||
name: migration
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 600m
|
||||
memory: 1Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /camunda
|
||||
name: camunda
|
||||
- mountPath: /optimize/config/environment-config.yaml
|
||||
name: environment-config
|
||||
subPath: environment-config.yaml
|
||||
- mountPath: /optimize/config/application-ccsm.yaml
|
||||
name: environment-config
|
||||
subPath: application-ccsm.yaml
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-optimize
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
- emptyDir: {}
|
||||
name: camunda
|
||||
- configMap:
|
||||
defaultMode: 492
|
||||
name: camunda-optimize-configuration
|
||||
name: environment-config
|
||||
168
rmk/infrastructure/camunda/deployment-camunda-tasklist.yaml
Normal file
168
rmk/infrastructure/camunda/deployment-camunda-tasklist.yaml
Normal file
@ -0,0 +1,168 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-tasklist
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 891491d3233b297242a5a7c8b168bc96ef6619ead43b5211a54d9a48dd8bd197
|
||||
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: '8200'
|
||||
vault.hashicorp.com/agent-init-first: 'true'
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/agent-inject-secret-CAMUNDA_IDENTITY_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-secret-ZEEBE_CLIENT_SECRET: secrets/data/camunda/identity-components
|
||||
vault.hashicorp.com/agent-inject-template-CAMUNDA_IDENTITY_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "tasklist-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-ZEEBE_CLIENT_SECRET: '{{- with secret "secrets/data/camunda/identity-components" -}}
|
||||
|
||||
{{ index .Data.data "zeebe-secret" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-pre-populate-only: 'true'
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: camunda
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
containers:
|
||||
- command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- "\n\nif [ -f \"/vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/CAMUNDA_IDENTITY_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/camunda_identity_client_secret\" ]; then\n export CAMUNDA_IDENTITY_CLIENT_SECRET=\"$(cat /vault/secrets/camunda_identity_client_secret)\"\nfi\nif [ -f \"/vault/secrets/ZEEBE_CLIENT_SECRET\" ]; then\n export ZEEBE_CLIENT_SECRET=\"$(cat /vault/secrets/ZEEBE_CLIENT_SECRET)\"\nelif [ -f \"/vault/secrets/zeebe_client_secret\" ]; then\n export ZEEBE_CLIENT_SECRET=\"$(cat /vault/secrets/zeebe_client_secret)\"\nfi\n exec '/sbin/tini' '--' '/usr/local/tasklist/bin/tasklist'\n"
|
||||
env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: ZEEBE_CLIENT_ID
|
||||
value: zeebe
|
||||
- name: ZEEBE_AUTHORIZATION_SERVER_URL
|
||||
value: http://camunda-keycloak:80/auth/realms/camunda-platform/protocol/openid-connect/token
|
||||
- name: ZEEBE_TOKEN_AUDIENCE
|
||||
value: zeebe-api
|
||||
- name: HOME
|
||||
value: /parent
|
||||
- name: ZEEBE_CLIENT_CONFIG_PATH
|
||||
value: /tmp/zeebe_auth_cache
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_HOST
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_MEMBERID
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_CLUSTERNAME
|
||||
value: camunda-zeebe
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_PORT
|
||||
value: '26502'
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_INITIALCONTACTPOINTS
|
||||
value: camunda-zeebe:26502
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: camunda-camunda-contour-identity-env-vars
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/tasklist:8.6.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: tasklist
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 9600
|
||||
name: management
|
||||
- containerPort: 26502
|
||||
name: internal
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: management
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 400m
|
||||
memory: 1Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /usr/local/tasklist/config/application.yaml
|
||||
name: config
|
||||
subPath: application.yaml
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /camunda
|
||||
name: camunda
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers: []
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-tasklist
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 484
|
||||
name: camunda-tasklist-configuration
|
||||
name: config
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
- emptyDir: {}
|
||||
name: camunda
|
||||
139
rmk/infrastructure/camunda/deployment-camunda-zeebe-gateway.yaml
Normal file
139
rmk/infrastructure/camunda/deployment-camunda-zeebe-gateway.yaml
Normal file
@ -0,0 +1,139 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe-gateway
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 64caf0fd8c28e8cbfa139acebd13b47c60a3c600613e007bdcc456017e0550eb
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: app.kubernetes.io/component
|
||||
operator: In
|
||||
values:
|
||||
- zeebe-gateway
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: ZEEBE_STANDALONE_GATEWAY
|
||||
value: 'true'
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_MEMBERID
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: ZEEBE_LOG_LEVEL
|
||||
value: info
|
||||
- name: JAVA_TOOL_OPTIONS
|
||||
value: -XX:+ExitOnOutOfMemoryError
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_INITIALCONTACTPOINTS
|
||||
value: camunda-zeebe:26502
|
||||
- name: ZEEBE_GATEWAY_CLUSTER_HOST
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
envFrom: null
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/zeebe:8.6.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: zeebe-gateway
|
||||
ports:
|
||||
- containerPort: 9600
|
||||
name: http
|
||||
- containerPort: 26500
|
||||
name: gateway
|
||||
- containerPort: 26502
|
||||
name: internal
|
||||
- containerPort: 8080
|
||||
name: rest
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: 9600
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 400m
|
||||
memory: 450Mi
|
||||
requests:
|
||||
cpu: 400m
|
||||
memory: 450Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /usr/local/zeebe/config/application.yaml
|
||||
name: config
|
||||
subPath: application.yaml
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers: []
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-zeebe-gateway
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
- configMap:
|
||||
defaultMode: 484
|
||||
name: camunda-zeebe-gateway-configuration
|
||||
name: config
|
||||
6
rmk/infrastructure/camunda/namespace-camunda.yaml
Normal file
6
rmk/infrastructure/camunda/namespace-camunda.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: camunda
|
||||
labels:
|
||||
istio-injection: enabled
|
||||
@ -0,0 +1,27 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
name: camunda-elasticsearch-master
|
||||
namespace: camunda
|
||||
spec:
|
||||
egress:
|
||||
- {}
|
||||
ingress:
|
||||
- ports:
|
||||
- port: 9200
|
||||
- port: 9300
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
policyTypes:
|
||||
- Ingress
|
||||
- Egress
|
||||
@ -0,0 +1,27 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak
|
||||
namespace: camunda
|
||||
spec:
|
||||
egress:
|
||||
- {}
|
||||
ingress:
|
||||
- ports:
|
||||
- port: 7800
|
||||
- port: 8080
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: keycloak
|
||||
policyTypes:
|
||||
- Ingress
|
||||
- Egress
|
||||
@ -0,0 +1,24 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/hook: test-success
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-identity-test-connection
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- camunda-identity:80
|
||||
command:
|
||||
- wget
|
||||
image: busybox
|
||||
name: wget
|
||||
restartPolicy: Never
|
||||
@ -0,0 +1,24 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/hook: test-success
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-operate-test-connection
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- camunda-operate:80
|
||||
command:
|
||||
- wget
|
||||
image: busybox
|
||||
name: wget
|
||||
restartPolicy: Never
|
||||
@ -0,0 +1,19 @@
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
name: camunda-elasticsearch-master
|
||||
namespace: camunda
|
||||
spec:
|
||||
maxUnavailable: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
@ -0,0 +1,19 @@
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak
|
||||
namespace: camunda
|
||||
spec:
|
||||
maxUnavailable: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: keycloak
|
||||
@ -0,0 +1,23 @@
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe
|
||||
spec:
|
||||
maxUnavailable: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
CAMUNDA_LICENSE_KEY: ''
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-camunda-contour-license
|
||||
type: Opaque
|
||||
27
rmk/infrastructure/camunda/service-camunda-connectors.yaml
Normal file
27
rmk/infrastructure/camunda/service-camunda-connectors.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-connectors
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
name: camunda-elasticsearch-master-hl
|
||||
namespace: camunda
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: tcp-rest-api
|
||||
port: 9200
|
||||
targetPort: rest-api
|
||||
- name: tcp-transport
|
||||
port: 9300
|
||||
targetPort: transport
|
||||
publishNotReadyAddresses: true
|
||||
selector:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
type: ClusterIP
|
||||
@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
name: camunda-elasticsearch
|
||||
namespace: camunda
|
||||
spec:
|
||||
ports:
|
||||
- name: tcp-rest-api
|
||||
nodePort: null
|
||||
port: 9200
|
||||
targetPort: rest-api
|
||||
- name: tcp-transport
|
||||
nodePort: null
|
||||
port: 9300
|
||||
selector:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
31
rmk/infrastructure/camunda/service-camunda-identity.yaml
Normal file
31
rmk/infrastructure/camunda/service-camunda-identity.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-identity
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
- name: metrics
|
||||
port: 82
|
||||
protocol: TCP
|
||||
targetPort: 8082
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak-headless
|
||||
namespace: camunda
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
publishNotReadyAddresses: true
|
||||
selector:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: keycloak
|
||||
type: ClusterIP
|
||||
25
rmk/infrastructure/camunda/service-camunda-keycloak.yaml
Normal file
25
rmk/infrastructure/camunda/service-camunda-keycloak.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak
|
||||
namespace: camunda
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
nodePort: null
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
selector:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: keycloak
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
31
rmk/infrastructure/camunda/service-camunda-operate.yaml
Normal file
31
rmk/infrastructure/camunda/service-camunda-operate.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-operate
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
- name: management
|
||||
port: 9600
|
||||
protocol: TCP
|
||||
targetPort: 9600
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
31
rmk/infrastructure/camunda/service-camunda-optimize.yaml
Normal file
31
rmk/infrastructure/camunda/service-camunda-optimize.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.2
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-optimize
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8090
|
||||
- name: management
|
||||
port: 8092
|
||||
protocol: TCP
|
||||
targetPort: 8092
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
31
rmk/infrastructure/camunda/service-camunda-tasklist.yaml
Normal file
31
rmk/infrastructure/camunda/service-camunda-tasklist.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-tasklist
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
- name: management
|
||||
port: 9600
|
||||
protocol: TCP
|
||||
targetPort: 9600
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe-gateway
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 9600
|
||||
protocol: TCP
|
||||
- name: gateway
|
||||
port: 26500
|
||||
protocol: TCP
|
||||
- name: rest
|
||||
port: 8080
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
34
rmk/infrastructure/camunda/service-camunda-zeebe.yaml
Normal file
34
rmk/infrastructure/camunda/service-camunda-zeebe.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: http
|
||||
port: 9600
|
||||
protocol: TCP
|
||||
- name: internal
|
||||
port: 26502
|
||||
protocol: TCP
|
||||
- name: command
|
||||
port: 26501
|
||||
protocol: TCP
|
||||
publishNotReadyAddresses: true
|
||||
selector:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
type: ClusterIP
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: true
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: connectors
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-connectors
|
||||
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: false
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
name: camunda-elasticsearch-master
|
||||
namespace: camunda
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: true
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: identity
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.4
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-identity
|
||||
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: false
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak
|
||||
namespace: camunda
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: true
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: operate
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-operate
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: true
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: optimize
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.2
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-optimize
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: true
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: tasklist
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-tasklist
|
||||
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: false
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-gateway
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe-gateway
|
||||
14
rmk/infrastructure/camunda/serviceaccount-camunda-zeebe.yaml
Normal file
14
rmk/infrastructure/camunda/serviceaccount-camunda-zeebe.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: false
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe
|
||||
@ -0,0 +1,218 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
labels:
|
||||
app: master
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
name: camunda-elasticsearch-master
|
||||
namespace: camunda
|
||||
spec:
|
||||
podManagementPolicy: Parallel
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
serviceName: camunda-elasticsearch-master-hl
|
||||
template:
|
||||
metadata:
|
||||
annotations: null
|
||||
labels:
|
||||
app: master
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
app.kubernetes.io/version: 8.15.3
|
||||
helm.sh/chart: elasticsearch-21.3.23
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity: null
|
||||
podAffinity: null
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: master
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: elasticsearch
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 1
|
||||
automountServiceAccountToken: false
|
||||
containers:
|
||||
- env:
|
||||
- name: BITNAMI_DEBUG
|
||||
value: 'false'
|
||||
- name: MY_POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: ELASTICSEARCH_IS_DEDICATED_NODE
|
||||
value: 'no'
|
||||
- name: ELASTICSEARCH_NODE_ROLES
|
||||
value: master
|
||||
- name: ELASTICSEARCH_TRANSPORT_PORT_NUMBER
|
||||
value: '9300'
|
||||
- name: ELASTICSEARCH_HTTP_PORT_NUMBER
|
||||
value: '9200'
|
||||
- name: ELASTICSEARCH_CLUSTER_NAME
|
||||
value: elastic
|
||||
- name: ELASTICSEARCH_HEAP_SIZE
|
||||
value: 128m
|
||||
- name: ELASTICSEARCH_ENABLE_REST_TLS
|
||||
value: 'false'
|
||||
- name: ES_JAVA_OPTS
|
||||
value: -Xms7g -Xmx7g
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/elasticsearch:8.15.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
failureThreshold: 5
|
||||
initialDelaySeconds: 180
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
tcpSocket:
|
||||
port: rest-api
|
||||
timeoutSeconds: 5
|
||||
name: elasticsearch
|
||||
ports:
|
||||
- containerPort: 9200
|
||||
name: rest-api
|
||||
- containerPort: 9300
|
||||
name: transport
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /opt/bitnami/scripts/elasticsearch/healthcheck.sh
|
||||
failureThreshold: 5
|
||||
initialDelaySeconds: 90
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 5
|
||||
resources:
|
||||
limits: {}
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seLinuxOptions: {}
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: empty-dir
|
||||
subPath: tmp-dir
|
||||
- mountPath: /opt/bitnami/elasticsearch/config
|
||||
name: empty-dir
|
||||
subPath: app-conf-dir
|
||||
- mountPath: /opt/bitnami/elasticsearch/tmp
|
||||
name: empty-dir
|
||||
subPath: app-tmp-dir
|
||||
- mountPath: /opt/bitnami/elasticsearch/logs
|
||||
name: empty-dir
|
||||
subPath: app-logs-dir
|
||||
- mountPath: /opt/bitnami/elasticsearch/plugins
|
||||
name: empty-dir
|
||||
subPath: app-plugins-dir
|
||||
- mountPath: /bitnami/elasticsearch/data
|
||||
name: data
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers:
|
||||
- command:
|
||||
- /bin/bash
|
||||
- -ec
|
||||
- "CURRENT=`sysctl -n vm.max_map_count`;\nDESIRED=\"262144\";\nif [ \"$DESIRED\" -gt \"$CURRENT\" ]; then\n sysctl -w vm.max_map_count=262144;\nfi;\nCURRENT=`sysctl -n fs.file-max`;\nDESIRED=\"65536\";\nif [ \"$DESIRED\" -gt \"$CURRENT\" ]; then\n sysctl -w fs.file-max=65536;\nfi;\n"
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/os-shell:12-debian-12-r32
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: sysctl
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150m
|
||||
ephemeral-storage: 2Gi
|
||||
memory: 192Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
ephemeral-storage: 50Mi
|
||||
memory: 128Mi
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsUser: 0
|
||||
- args:
|
||||
- -ec
|
||||
- "#!/bin/bash\n\n. /opt/bitnami/scripts/libfs.sh\n. /opt/bitnami/scripts/elasticsearch-env.sh\n\nif ! is_dir_empty \"$DB_DEFAULT_PLUGINS_DIR\"; then\n cp -nr \"$DB_DEFAULT_PLUGINS_DIR\"/* /plugins\nfi\n"
|
||||
command:
|
||||
- /bin/bash
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/elasticsearch:8.15.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: copy-default-plugins
|
||||
resources:
|
||||
limits: {}
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seLinuxOptions: {}
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: empty-dir
|
||||
subPath: tmp-dir
|
||||
- mountPath: /plugins
|
||||
name: empty-dir
|
||||
subPath: app-plugins-dir
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
fsGroupChangePolicy: Always
|
||||
supplementalGroups: []
|
||||
sysctls: []
|
||||
serviceAccountName: camunda-elasticsearch-master
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: empty-dir
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
volumeClaimTemplates:
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: local-path
|
||||
253
rmk/infrastructure/camunda/statefulset-camunda-keycloak.yaml
Normal file
253
rmk/infrastructure/camunda/statefulset-camunda-keycloak.yaml
Normal file
@ -0,0 +1,253 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
name: camunda-keycloak
|
||||
namespace: camunda
|
||||
spec:
|
||||
podManagementPolicy: Parallel
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: keycloak
|
||||
serviceName: camunda-keycloak-headless
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/configmap-env-vars: 6205ea66a502445065c57d8b22cd591d98b778157986a4cb091568dd26c43930
|
||||
proxy.istio.io/config: '{ "holdApplicationUntilProxyStarts": true }'
|
||||
traffic.sidecar.istio.io/excludeOutboundPorts: '8200'
|
||||
vault.hashicorp.com/agent-init-first: 'true'
|
||||
vault.hashicorp.com/agent-inject: 'true'
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_ADMIN_PASSWORD: secrets/data/camunda/keycloak-admin
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_DATABASE_PASSWORD: secrets/data/camunda/postgresql
|
||||
vault.hashicorp.com/agent-inject-secret-KEYCLOAK_PASSWORD: secrets/data/camunda/keycloak-admin
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_ADMIN_PASSWORD: '{{- with secret "secrets/data/camunda/keycloak-admin" -}}
|
||||
|
||||
{{ index .Data.data "admin-password" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_DATABASE_PASSWORD: '{{- with secret "secrets/data/camunda/postgresql" -}}
|
||||
|
||||
{{ index .Data.data "keycloak-password" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-inject-template-KEYCLOAK_PASSWORD: '{{- with secret "secrets/data/camunda/keycloak-admin" -}}
|
||||
|
||||
{{ index .Data.data "admin-password" }}
|
||||
|
||||
{{- end -}}'
|
||||
vault.hashicorp.com/agent-pre-populate-only: 'true'
|
||||
vault.hashicorp.com/auth-path: auth/kubernetes
|
||||
vault.hashicorp.com/role: camunda
|
||||
labels:
|
||||
app.kubernetes.io/component: keycloak
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: keycloak
|
||||
app.kubernetes.io/version: 25.0.6
|
||||
helm.sh/chart: identityKeycloak-22.2.6
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity: null
|
||||
podAffinity: null
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/name: keycloak
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 1
|
||||
automountServiceAccountToken: true
|
||||
containers:
|
||||
- args:
|
||||
- "\nif [ -f \"/vault/secrets/KEYCLOAK_ADMIN_PASSWORD\" ]; then\n export KEYCLOAK_ADMIN_PASSWORD=\"$(cat /vault/secrets/KEYCLOAK_ADMIN_PASSWORD)\"\nelif [ -f \"/vault/secrets/keycloak_admin_password\" ]; then\n export KEYCLOAK_ADMIN_PASSWORD=\"$(cat /vault/secrets/keycloak_admin_password)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_DATABASE_PASSWORD\" ]; then\n export KEYCLOAK_DATABASE_PASSWORD=\"$(cat /vault/secrets/KEYCLOAK_DATABASE_PASSWORD)\"\nelif [ -f \"/vault/secrets/keycloak_database_password\" ]; then\n export KEYCLOAK_DATABASE_PASSWORD=\"$(cat /vault/secrets/keycloak_database_password)\"\nfi\nif [ -f \"/vault/secrets/KEYCLOAK_PASSWORD\" ]; then\n export KEYCLOAK_PASSWORD=\"$(cat /vault/secrets/KEYCLOAK_PASSWORD)\"\nelif [ -f \"/vault/secrets/keycloak_password\" ]; then\n export KEYCLOAK_PASSWORD=\"$(cat /vault/secrets/keycloak_password)\"\nfi\nexec '/opt/bitnami/scripts/keycloak/entrypoint.sh' '/opt/bitnami/scripts/keycloak/run.sh'\n"
|
||||
command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
env:
|
||||
- name: KUBERNETES_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.namespace
|
||||
- name: BITNAMI_DEBUG
|
||||
value: 'false'
|
||||
- name: KEYCLOAK_HTTP_RELATIVE_PATH
|
||||
value: /auth/
|
||||
- name: KC_SPI_ADMIN_REALM
|
||||
value: master
|
||||
- name: KC_TRUSTSTORE_PATHS
|
||||
value: /opt/corporate-ca/corporate-ca.crt
|
||||
- name: KC_LOG_LEVEL
|
||||
value: INFO,org.keycloak.storage.ldap:debug
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: camunda-keycloak-env-vars
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/keycloak:25.0.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 300
|
||||
periodSeconds: 1
|
||||
successThreshold: 1
|
||||
tcpSocket:
|
||||
port: http
|
||||
timeoutSeconds: 5
|
||||
name: keycloak
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 7800
|
||||
name: discovery
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /auth/realms/master
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 750m
|
||||
ephemeral-storage: 2Gi
|
||||
memory: 768Mi
|
||||
requests:
|
||||
cpu: 500m
|
||||
ephemeral-storage: 50Mi
|
||||
memory: 512Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seLinuxOptions: {}
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: empty-dir
|
||||
subPath: tmp-dir
|
||||
- mountPath: /bitnami/keycloak
|
||||
name: empty-dir
|
||||
subPath: app-volume-dir
|
||||
- mountPath: /opt/bitnami/keycloak/conf
|
||||
name: empty-dir
|
||||
subPath: app-conf-dir
|
||||
- mountPath: /opt/bitnami/keycloak/lib/quarkus
|
||||
name: empty-dir
|
||||
subPath: app-quarkus-dir
|
||||
- mountPath: /opt/bitnami/keycloak/data
|
||||
name: empty-dir
|
||||
subPath: app-data-dir
|
||||
- mountPath: /opt/corporate-ca
|
||||
name: corporate-ca
|
||||
readOnly: true
|
||||
- mountPath: /opt/keytab
|
||||
name: keytab
|
||||
readOnly: true
|
||||
- mountPath: /etc/krb5.conf
|
||||
name: krb5
|
||||
readOnly: true
|
||||
subPath: krb5.conf
|
||||
enableServiceLinks: true
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers:
|
||||
- args:
|
||||
- -ec
|
||||
- '. /opt/bitnami/scripts/liblog.sh
|
||||
|
||||
|
||||
info "Copying writable dirs to empty dir"
|
||||
|
||||
# In order to not break the application functionality we need to make some
|
||||
|
||||
# directories writable, so we need to copy it to an empty dir volume
|
||||
|
||||
cp -r --preserve=mode /opt/bitnami/keycloak/lib/quarkus /emptydir/app-quarkus-dir
|
||||
|
||||
cp -r --preserve=mode /opt/bitnami/keycloak/data /emptydir/app-data-dir
|
||||
|
||||
info "Copy operation completed"
|
||||
|
||||
'
|
||||
command:
|
||||
- /bin/bash
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/keycloak:25.0.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: prepare-write-dirs
|
||||
resources:
|
||||
limits:
|
||||
cpu: 750m
|
||||
ephemeral-storage: 2Gi
|
||||
memory: 768Mi
|
||||
requests:
|
||||
cpu: 500m
|
||||
ephemeral-storage: 50Mi
|
||||
memory: 512Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seLinuxOptions: {}
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /emptydir
|
||||
name: empty-dir
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
fsGroupChangePolicy: Always
|
||||
runAsNonRoot: true
|
||||
supplementalGroups: []
|
||||
sysctls: []
|
||||
serviceAccountName: camunda-keycloak
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: empty-dir
|
||||
- name: keytab
|
||||
secret:
|
||||
optional: true
|
||||
secretName: keycloak-keytab
|
||||
- configMap:
|
||||
name: keycloak-krb5
|
||||
name: krb5
|
||||
- configMap:
|
||||
name: corporate-ca
|
||||
name: corporate-ca
|
||||
updateStrategy:
|
||||
rollingUpdate: {}
|
||||
type: RollingUpdate
|
||||
178
rmk/infrastructure/camunda/statefulset-camunda-zeebe.yaml
Normal file
178
rmk/infrastructure/camunda/statefulset-camunda-zeebe.yaml
Normal file
@ -0,0 +1,178 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
name: camunda-zeebe
|
||||
spec:
|
||||
podManagementPolicy: Parallel
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
serviceName: camunda-zeebe
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 29fbe9b5e57004e6752639f7a95d1df252edb192093a74161d8a13e866bc0d5c
|
||||
labels:
|
||||
app: camunda-platform
|
||||
app.kubernetes.io/component: zeebe-broker
|
||||
app.kubernetes.io/instance: camunda
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: camunda-contour
|
||||
app.kubernetes.io/part-of: camunda-platform
|
||||
app.kubernetes.io/version: 8.6.5
|
||||
helm.sh/chart: camunda-contour-11.0.14
|
||||
spec:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: app.kubernetes.io/component
|
||||
operator: In
|
||||
values:
|
||||
- zeebe-broker
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- env:
|
||||
- name: CAMUNDA_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: CAMUNDA_LICENSE_KEY
|
||||
name: camunda-camunda-contour-license
|
||||
- name: LC_ALL
|
||||
value: C.UTF-8
|
||||
- name: K8S_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: K8S_SERVICE_NAME
|
||||
value: camunda-zeebe
|
||||
- name: K8S_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: ZEEBE_BROKER_NETWORK_ADVERTISEDHOST
|
||||
value: $(K8S_NAME).$(K8S_SERVICE_NAME)
|
||||
- name: ZEEBE_BROKER_CLUSTER_INITIALCONTACTPOINTS
|
||||
value: $(K8S_SERVICE_NAME)-0.$(K8S_SERVICE_NAME):26502,
|
||||
- name: ZEEBE_LOG_LEVEL
|
||||
value: info
|
||||
- name: ZEEBE_BROKER_GATEWAY_ENABLE
|
||||
value: 'false'
|
||||
- name: ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_CLASSNAME
|
||||
value: io.camunda.zeebe.exporter.ElasticsearchExporter
|
||||
- name: ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_URL
|
||||
value: http://camunda-elasticsearch:9200
|
||||
- name: ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_INDEX_PREFIX
|
||||
value: zeebe-record
|
||||
- name: JAVA_TOOL_OPTIONS
|
||||
value: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/usr/local/zeebe/data -XX:ErrorFile=/usr/local/zeebe/data/zeebe_error%p.log -XX:+ExitOnOutOfMemoryError
|
||||
- name: K8S_POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: ZEEBE_BROKER_DATA_SNAPSHOTPERIOD
|
||||
value: 5m
|
||||
- name: ZEEBE_BROKER_DATA_DISK_FREESPACE_REPLICATION
|
||||
value: 2GB
|
||||
- name: ZEEBE_BROKER_DATA_DISK_FREESPACE_PROCESSING
|
||||
value: 3GB
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/contour/camunda/zeebe:8.6.5
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: zeebe
|
||||
ports:
|
||||
- containerPort: 9600
|
||||
name: http
|
||||
- containerPort: 26501
|
||||
name: command
|
||||
- containerPort: 26502
|
||||
name: internal
|
||||
readinessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: 9600
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
memory: 3Gi
|
||||
requests:
|
||||
memory: 1200Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
privileged: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1001
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /usr/local/bin/startup.sh
|
||||
name: config
|
||||
subPath: startup.sh
|
||||
- mountPath: /usr/local/zeebe/data
|
||||
name: data
|
||||
- mountPath: /exporters
|
||||
name: exporters
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
- mountPath: /usr/local/zeebe/config/application.yaml
|
||||
name: config
|
||||
subPath: application.yaml
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
initContainers: []
|
||||
nodeSelector:
|
||||
dedicated: processing
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: camunda-zeebe
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: processing
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 492
|
||||
name: camunda-zeebe-configuration
|
||||
name: config
|
||||
- emptyDir: {}
|
||||
name: exporters
|
||||
- emptyDir: {}
|
||||
name: tmp
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
annotations: {}
|
||||
name: data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 32Gi
|
||||
storageClassName: local-path
|
||||
@ -0,0 +1,700 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: authorizationpolicies.security.istio.io
|
||||
spec:
|
||||
group: security.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- security-istio-io
|
||||
kind: AuthorizationPolicy
|
||||
listKind: AuthorizationPolicyList
|
||||
plural: authorizationpolicies
|
||||
shortNames:
|
||||
- ap
|
||||
singular: authorizationpolicy
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: The operation to take.
|
||||
jsonPath: .spec.action
|
||||
name: Action
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html'
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- provider
|
||||
- required:
|
||||
- provider
|
||||
properties:
|
||||
action:
|
||||
description: 'Optional.
|
||||
|
||||
|
||||
Valid Options: ALLOW, DENY, AUDIT, CUSTOM'
|
||||
enum:
|
||||
- ALLOW
|
||||
- DENY
|
||||
- AUDIT
|
||||
- CUSTOM
|
||||
type: string
|
||||
provider:
|
||||
description: Specifies detailed configuration of the CUSTOM action.
|
||||
properties:
|
||||
name:
|
||||
description: Specifies the name of the extension provider.
|
||||
type: string
|
||||
type: object
|
||||
rules:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
from:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
source:
|
||||
description: Source specifies the source of a request.
|
||||
properties:
|
||||
ipBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
namespaces:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notIpBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notNamespaces:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notPrincipals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notRemoteIpBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notRequestPrincipals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
principals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
remoteIpBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
requestPrincipals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
to:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
operation:
|
||||
description: Operation specifies the operation of a request.
|
||||
properties:
|
||||
hosts:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
methods:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notHosts:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notMethods:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notPaths:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notPorts:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
paths:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
ports:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
when:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
description: The name of an Istio attribute.
|
||||
type: string
|
||||
notValues:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
values:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- key
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: The operation to take.
|
||||
jsonPath: .spec.action
|
||||
name: Action
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html'
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- provider
|
||||
- required:
|
||||
- provider
|
||||
properties:
|
||||
action:
|
||||
description: 'Optional.
|
||||
|
||||
|
||||
Valid Options: ALLOW, DENY, AUDIT, CUSTOM'
|
||||
enum:
|
||||
- ALLOW
|
||||
- DENY
|
||||
- AUDIT
|
||||
- CUSTOM
|
||||
type: string
|
||||
provider:
|
||||
description: Specifies detailed configuration of the CUSTOM action.
|
||||
properties:
|
||||
name:
|
||||
description: Specifies the name of the extension provider.
|
||||
type: string
|
||||
type: object
|
||||
rules:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
from:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
source:
|
||||
description: Source specifies the source of a request.
|
||||
properties:
|
||||
ipBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
namespaces:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notIpBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notNamespaces:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notPrincipals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notRemoteIpBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notRequestPrincipals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
principals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
remoteIpBlocks:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
requestPrincipals:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
to:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
operation:
|
||||
description: Operation specifies the operation of a request.
|
||||
properties:
|
||||
hosts:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
methods:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notHosts:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notMethods:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notPaths:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
notPorts:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
paths:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
ports:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
when:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
description: The name of an Istio attribute.
|
||||
type: string
|
||||
notValues:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
values:
|
||||
description: Optional.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- key
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,372 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: envoyfilters.networking.istio.io
|
||||
spec:
|
||||
group: networking.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- networking-istio-io
|
||||
kind: EnvoyFilter
|
||||
listKind: EnvoyFilterList
|
||||
plural: envoyfilters
|
||||
singular: envoyfilter
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1alpha3
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Customizing Envoy configuration generated by Istio. See more details at: https://istio.io/docs/reference/config/networking/envoy-filter.html'
|
||||
properties:
|
||||
configPatches:
|
||||
description: One or more patches with match conditions.
|
||||
items:
|
||||
properties:
|
||||
applyTo:
|
||||
description: 'Specifies where in the Envoy configuration, the patch should be applied.
|
||||
|
||||
|
||||
Valid Options: LISTENER, FILTER_CHAIN, NETWORK_FILTER, HTTP_FILTER, ROUTE_CONFIGURATION, VIRTUAL_HOST, HTTP_ROUTE, CLUSTER, EXTENSION_CONFIG, BOOTSTRAP, LISTENER_FILTER'
|
||||
enum:
|
||||
- INVALID
|
||||
- LISTENER
|
||||
- FILTER_CHAIN
|
||||
- NETWORK_FILTER
|
||||
- HTTP_FILTER
|
||||
- ROUTE_CONFIGURATION
|
||||
- VIRTUAL_HOST
|
||||
- HTTP_ROUTE
|
||||
- CLUSTER
|
||||
- EXTENSION_CONFIG
|
||||
- BOOTSTRAP
|
||||
- LISTENER_FILTER
|
||||
type: string
|
||||
match:
|
||||
description: Match on listener/route configuration/cluster.
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- listener
|
||||
- required:
|
||||
- routeConfiguration
|
||||
- required:
|
||||
- cluster
|
||||
- required:
|
||||
- listener
|
||||
- required:
|
||||
- routeConfiguration
|
||||
- required:
|
||||
- cluster
|
||||
properties:
|
||||
cluster:
|
||||
description: Match on envoy cluster attributes.
|
||||
properties:
|
||||
name:
|
||||
description: The exact name of the cluster to match.
|
||||
type: string
|
||||
portNumber:
|
||||
description: The service port for which this cluster was generated.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
service:
|
||||
description: The fully qualified service name for this cluster.
|
||||
type: string
|
||||
subset:
|
||||
description: The subset associated with the service.
|
||||
type: string
|
||||
type: object
|
||||
context:
|
||||
description: 'The specific config generation context to match on.
|
||||
|
||||
|
||||
Valid Options: ANY, SIDECAR_INBOUND, SIDECAR_OUTBOUND, GATEWAY'
|
||||
enum:
|
||||
- ANY
|
||||
- SIDECAR_INBOUND
|
||||
- SIDECAR_OUTBOUND
|
||||
- GATEWAY
|
||||
type: string
|
||||
listener:
|
||||
description: Match on envoy listener attributes.
|
||||
properties:
|
||||
filterChain:
|
||||
description: Match a specific filter chain in a listener.
|
||||
properties:
|
||||
applicationProtocols:
|
||||
description: Applies only to sidecars.
|
||||
type: string
|
||||
destinationPort:
|
||||
description: The destination_port value used by a filter chain's match condition.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
filter:
|
||||
description: The name of a specific filter to apply the patch to.
|
||||
properties:
|
||||
name:
|
||||
description: The filter name to match on.
|
||||
type: string
|
||||
subFilter:
|
||||
description: The next level filter within this filter to match upon.
|
||||
properties:
|
||||
name:
|
||||
description: The filter name to match on.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
name:
|
||||
description: The name assigned to the filter chain.
|
||||
type: string
|
||||
sni:
|
||||
description: The SNI value used by a filter chain's match condition.
|
||||
type: string
|
||||
transportProtocol:
|
||||
description: Applies only to `SIDECAR_INBOUND` context.
|
||||
type: string
|
||||
type: object
|
||||
listenerFilter:
|
||||
description: Match a specific listener filter.
|
||||
type: string
|
||||
name:
|
||||
description: Match a specific listener by its name.
|
||||
type: string
|
||||
portName:
|
||||
type: string
|
||||
portNumber:
|
||||
description: The service port/gateway port to which traffic is being sent/received.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
proxy:
|
||||
description: Match on properties associated with a proxy.
|
||||
properties:
|
||||
metadata:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: Match on the node metadata supplied by a proxy when connecting to Istio Pilot.
|
||||
type: object
|
||||
proxyVersion:
|
||||
description: A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy.
|
||||
type: string
|
||||
type: object
|
||||
routeConfiguration:
|
||||
description: Match on envoy HTTP route configuration attributes.
|
||||
properties:
|
||||
gateway:
|
||||
description: The Istio gateway config's namespace/name for which this route configuration was generated.
|
||||
type: string
|
||||
name:
|
||||
description: Route configuration name to match on.
|
||||
type: string
|
||||
portName:
|
||||
description: Applicable only for GATEWAY context.
|
||||
type: string
|
||||
portNumber:
|
||||
description: The service port number or gateway server port number for which this route configuration was generated.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
vhost:
|
||||
description: Match a specific virtual host in a route configuration and apply the patch to the virtual host.
|
||||
properties:
|
||||
name:
|
||||
description: The VirtualHosts objects generated by Istio are named as host:port, where the host typically corresponds to the VirtualService's host field or the hostname of a service in the registry.
|
||||
type: string
|
||||
route:
|
||||
description: Match a specific route within the virtual host.
|
||||
properties:
|
||||
action:
|
||||
description: 'Match a route with specific action type.
|
||||
|
||||
|
||||
Valid Options: ANY, ROUTE, REDIRECT, DIRECT_RESPONSE'
|
||||
enum:
|
||||
- ANY
|
||||
- ROUTE
|
||||
- REDIRECT
|
||||
- DIRECT_RESPONSE
|
||||
type: string
|
||||
name:
|
||||
description: The Route objects generated by default are named as default.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
patch:
|
||||
description: The patch to apply along with the operation.
|
||||
properties:
|
||||
filterClass:
|
||||
description: 'Determines the filter insertion order.
|
||||
|
||||
|
||||
Valid Options: AUTHN, AUTHZ, STATS'
|
||||
enum:
|
||||
- UNSPECIFIED
|
||||
- AUTHN
|
||||
- AUTHZ
|
||||
- STATS
|
||||
type: string
|
||||
operation:
|
||||
description: 'Determines how the patch should be applied.
|
||||
|
||||
|
||||
Valid Options: MERGE, ADD, REMOVE, INSERT_BEFORE, INSERT_AFTER, INSERT_FIRST, REPLACE'
|
||||
enum:
|
||||
- INVALID
|
||||
- MERGE
|
||||
- ADD
|
||||
- REMOVE
|
||||
- INSERT_BEFORE
|
||||
- INSERT_AFTER
|
||||
- INSERT_FIRST
|
||||
- REPLACE
|
||||
type: string
|
||||
value:
|
||||
description: The JSON config of the object being patched.
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
priority:
|
||||
description: Priority defines the order in which patch sets are applied within a context.
|
||||
format: int32
|
||||
type: integer
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
workloadSelector:
|
||||
description: Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.
|
||||
properties:
|
||||
labels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard is not supported in selector
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or workloadSelector can be set
|
||||
rule: (has(self.workloadSelector)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,647 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: gateways.networking.istio.io
|
||||
spec:
|
||||
group: networking.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- networking-istio-io
|
||||
kind: Gateway
|
||||
listKind: GatewayList
|
||||
plural: gateways
|
||||
shortNames:
|
||||
- gw
|
||||
singular: gateway
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html'
|
||||
properties:
|
||||
selector:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.
|
||||
type: object
|
||||
servers:
|
||||
description: A list of server specifications.
|
||||
items:
|
||||
properties:
|
||||
bind:
|
||||
description: The ip or the Unix domain socket to which the listener should be bound to.
|
||||
type: string
|
||||
defaultEndpoint:
|
||||
type: string
|
||||
hosts:
|
||||
description: One or more hosts exposed by this gateway.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
name:
|
||||
description: An optional name of the server, when set must be unique across all servers.
|
||||
type: string
|
||||
port:
|
||||
description: The Port on which the proxy should listen for incoming connections.
|
||||
properties:
|
||||
name:
|
||||
description: Label assigned to the port.
|
||||
type: string
|
||||
number:
|
||||
description: A valid non-negative integer port number.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
protocol:
|
||||
description: The protocol exposed on the port.
|
||||
type: string
|
||||
targetPort:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
required:
|
||||
- number
|
||||
- protocol
|
||||
- name
|
||||
type: object
|
||||
tls:
|
||||
description: Set of TLS related options that govern the server's behavior.
|
||||
properties:
|
||||
caCertificates:
|
||||
description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
|
||||
type: string
|
||||
caCrl:
|
||||
description: 'OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.'
|
||||
type: string
|
||||
cipherSuites:
|
||||
description: 'Optional: If specified, only support the specified cipher list.'
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
credentialName:
|
||||
description: For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.
|
||||
type: string
|
||||
httpsRedirect:
|
||||
description: If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.
|
||||
type: boolean
|
||||
maxProtocolVersion:
|
||||
description: 'Optional: Maximum TLS protocol version.
|
||||
|
||||
|
||||
Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3'
|
||||
enum:
|
||||
- TLS_AUTO
|
||||
- TLSV1_0
|
||||
- TLSV1_1
|
||||
- TLSV1_2
|
||||
- TLSV1_3
|
||||
type: string
|
||||
minProtocolVersion:
|
||||
description: 'Optional: Minimum TLS protocol version.
|
||||
|
||||
|
||||
Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3'
|
||||
enum:
|
||||
- TLS_AUTO
|
||||
- TLSV1_0
|
||||
- TLSV1_1
|
||||
- TLSV1_2
|
||||
- TLSV1_3
|
||||
type: string
|
||||
mode:
|
||||
description: 'Optional: Indicates whether connections to this port should be secured using TLS.
|
||||
|
||||
|
||||
Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL'
|
||||
enum:
|
||||
- PASSTHROUGH
|
||||
- SIMPLE
|
||||
- MUTUAL
|
||||
- AUTO_PASSTHROUGH
|
||||
- ISTIO_MUTUAL
|
||||
- OPTIONAL_MUTUAL
|
||||
type: string
|
||||
privateKey:
|
||||
description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
|
||||
type: string
|
||||
serverCertificate:
|
||||
description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
|
||||
type: string
|
||||
subjectAltNames:
|
||||
description: A list of alternate names to verify the subject identity in the certificate presented by the client.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
verifyCertificateHash:
|
||||
description: An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
verifyCertificateSpki:
|
||||
description: An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
required:
|
||||
- port
|
||||
- hosts
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- name: v1alpha3
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html'
|
||||
properties:
|
||||
selector:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.
|
||||
type: object
|
||||
servers:
|
||||
description: A list of server specifications.
|
||||
items:
|
||||
properties:
|
||||
bind:
|
||||
description: The ip or the Unix domain socket to which the listener should be bound to.
|
||||
type: string
|
||||
defaultEndpoint:
|
||||
type: string
|
||||
hosts:
|
||||
description: One or more hosts exposed by this gateway.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
name:
|
||||
description: An optional name of the server, when set must be unique across all servers.
|
||||
type: string
|
||||
port:
|
||||
description: The Port on which the proxy should listen for incoming connections.
|
||||
properties:
|
||||
name:
|
||||
description: Label assigned to the port.
|
||||
type: string
|
||||
number:
|
||||
description: A valid non-negative integer port number.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
protocol:
|
||||
description: The protocol exposed on the port.
|
||||
type: string
|
||||
targetPort:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
required:
|
||||
- number
|
||||
- protocol
|
||||
- name
|
||||
type: object
|
||||
tls:
|
||||
description: Set of TLS related options that govern the server's behavior.
|
||||
properties:
|
||||
caCertificates:
|
||||
description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
|
||||
type: string
|
||||
caCrl:
|
||||
description: 'OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.'
|
||||
type: string
|
||||
cipherSuites:
|
||||
description: 'Optional: If specified, only support the specified cipher list.'
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
credentialName:
|
||||
description: For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.
|
||||
type: string
|
||||
httpsRedirect:
|
||||
description: If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.
|
||||
type: boolean
|
||||
maxProtocolVersion:
|
||||
description: 'Optional: Maximum TLS protocol version.
|
||||
|
||||
|
||||
Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3'
|
||||
enum:
|
||||
- TLS_AUTO
|
||||
- TLSV1_0
|
||||
- TLSV1_1
|
||||
- TLSV1_2
|
||||
- TLSV1_3
|
||||
type: string
|
||||
minProtocolVersion:
|
||||
description: 'Optional: Minimum TLS protocol version.
|
||||
|
||||
|
||||
Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3'
|
||||
enum:
|
||||
- TLS_AUTO
|
||||
- TLSV1_0
|
||||
- TLSV1_1
|
||||
- TLSV1_2
|
||||
- TLSV1_3
|
||||
type: string
|
||||
mode:
|
||||
description: 'Optional: Indicates whether connections to this port should be secured using TLS.
|
||||
|
||||
|
||||
Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL'
|
||||
enum:
|
||||
- PASSTHROUGH
|
||||
- SIMPLE
|
||||
- MUTUAL
|
||||
- AUTO_PASSTHROUGH
|
||||
- ISTIO_MUTUAL
|
||||
- OPTIONAL_MUTUAL
|
||||
type: string
|
||||
privateKey:
|
||||
description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
|
||||
type: string
|
||||
serverCertificate:
|
||||
description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
|
||||
type: string
|
||||
subjectAltNames:
|
||||
description: A list of alternate names to verify the subject identity in the certificate presented by the client.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
verifyCertificateHash:
|
||||
description: An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
verifyCertificateSpki:
|
||||
description: An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
required:
|
||||
- port
|
||||
- hosts
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting edge load balancer. See more details at: https://istio.io/docs/reference/config/networking/gateway.html'
|
||||
properties:
|
||||
selector:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.
|
||||
type: object
|
||||
servers:
|
||||
description: A list of server specifications.
|
||||
items:
|
||||
properties:
|
||||
bind:
|
||||
description: The ip or the Unix domain socket to which the listener should be bound to.
|
||||
type: string
|
||||
defaultEndpoint:
|
||||
type: string
|
||||
hosts:
|
||||
description: One or more hosts exposed by this gateway.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
name:
|
||||
description: An optional name of the server, when set must be unique across all servers.
|
||||
type: string
|
||||
port:
|
||||
description: The Port on which the proxy should listen for incoming connections.
|
||||
properties:
|
||||
name:
|
||||
description: Label assigned to the port.
|
||||
type: string
|
||||
number:
|
||||
description: A valid non-negative integer port number.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
protocol:
|
||||
description: The protocol exposed on the port.
|
||||
type: string
|
||||
targetPort:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
required:
|
||||
- number
|
||||
- protocol
|
||||
- name
|
||||
type: object
|
||||
tls:
|
||||
description: Set of TLS related options that govern the server's behavior.
|
||||
properties:
|
||||
caCertificates:
|
||||
description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
|
||||
type: string
|
||||
caCrl:
|
||||
description: 'OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.'
|
||||
type: string
|
||||
cipherSuites:
|
||||
description: 'Optional: If specified, only support the specified cipher list.'
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
credentialName:
|
||||
description: For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.
|
||||
type: string
|
||||
httpsRedirect:
|
||||
description: If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.
|
||||
type: boolean
|
||||
maxProtocolVersion:
|
||||
description: 'Optional: Maximum TLS protocol version.
|
||||
|
||||
|
||||
Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3'
|
||||
enum:
|
||||
- TLS_AUTO
|
||||
- TLSV1_0
|
||||
- TLSV1_1
|
||||
- TLSV1_2
|
||||
- TLSV1_3
|
||||
type: string
|
||||
minProtocolVersion:
|
||||
description: 'Optional: Minimum TLS protocol version.
|
||||
|
||||
|
||||
Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3'
|
||||
enum:
|
||||
- TLS_AUTO
|
||||
- TLSV1_0
|
||||
- TLSV1_1
|
||||
- TLSV1_2
|
||||
- TLSV1_3
|
||||
type: string
|
||||
mode:
|
||||
description: 'Optional: Indicates whether connections to this port should be secured using TLS.
|
||||
|
||||
|
||||
Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL'
|
||||
enum:
|
||||
- PASSTHROUGH
|
||||
- SIMPLE
|
||||
- MUTUAL
|
||||
- AUTO_PASSTHROUGH
|
||||
- ISTIO_MUTUAL
|
||||
- OPTIONAL_MUTUAL
|
||||
type: string
|
||||
privateKey:
|
||||
description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
|
||||
type: string
|
||||
serverCertificate:
|
||||
description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
|
||||
type: string
|
||||
subjectAltNames:
|
||||
description: A list of alternate names to verify the subject identity in the certificate presented by the client.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
verifyCertificateHash:
|
||||
description: An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
verifyCertificateSpki:
|
||||
description: An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
required:
|
||||
- port
|
||||
- hosts
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,316 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: peerauthentications.security.istio.io
|
||||
spec:
|
||||
group: security.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- security-istio-io
|
||||
kind: PeerAuthentication
|
||||
listKind: PeerAuthenticationList
|
||||
plural: peerauthentications
|
||||
shortNames:
|
||||
- pa
|
||||
singular: peerauthentication
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: Defines the mTLS mode used for peer authentication.
|
||||
jsonPath: .spec.mtls.mode
|
||||
name: Mode
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Peer authentication configuration for workloads. See more details at: https://istio.io/docs/reference/config/security/peer_authentication.html'
|
||||
properties:
|
||||
mtls:
|
||||
description: Mutual TLS settings for workload.
|
||||
properties:
|
||||
mode:
|
||||
description: 'Defines the mTLS mode used for peer authentication.
|
||||
|
||||
|
||||
Valid Options: DISABLE, PERMISSIVE, STRICT'
|
||||
enum:
|
||||
- UNSET
|
||||
- DISABLE
|
||||
- PERMISSIVE
|
||||
- STRICT
|
||||
type: string
|
||||
type: object
|
||||
portLevelMtls:
|
||||
additionalProperties:
|
||||
properties:
|
||||
mode:
|
||||
description: 'Defines the mTLS mode used for peer authentication.
|
||||
|
||||
|
||||
Valid Options: DISABLE, PERMISSIVE, STRICT'
|
||||
enum:
|
||||
- UNSET
|
||||
- DISABLE
|
||||
- PERMISSIVE
|
||||
- STRICT
|
||||
type: string
|
||||
type: object
|
||||
description: Port specific mutual TLS settings.
|
||||
minProperties: 1
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: self.all(key, 0 < int(key) && int(key) <= 65535)
|
||||
selector:
|
||||
description: The selector determines the workloads to apply the PeerAuthentication on.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: portLevelMtls requires selector
|
||||
rule: (has(self.selector) && has(self.selector.matchLabels) && self.selector.matchLabels.size() > 0) || !has(self.portLevelMtls)
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: Defines the mTLS mode used for peer authentication.
|
||||
jsonPath: .spec.mtls.mode
|
||||
name: Mode
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Peer authentication configuration for workloads. See more details at: https://istio.io/docs/reference/config/security/peer_authentication.html'
|
||||
properties:
|
||||
mtls:
|
||||
description: Mutual TLS settings for workload.
|
||||
properties:
|
||||
mode:
|
||||
description: 'Defines the mTLS mode used for peer authentication.
|
||||
|
||||
|
||||
Valid Options: DISABLE, PERMISSIVE, STRICT'
|
||||
enum:
|
||||
- UNSET
|
||||
- DISABLE
|
||||
- PERMISSIVE
|
||||
- STRICT
|
||||
type: string
|
||||
type: object
|
||||
portLevelMtls:
|
||||
additionalProperties:
|
||||
properties:
|
||||
mode:
|
||||
description: 'Defines the mTLS mode used for peer authentication.
|
||||
|
||||
|
||||
Valid Options: DISABLE, PERMISSIVE, STRICT'
|
||||
enum:
|
||||
- UNSET
|
||||
- DISABLE
|
||||
- PERMISSIVE
|
||||
- STRICT
|
||||
type: string
|
||||
type: object
|
||||
description: Port specific mutual TLS settings.
|
||||
minProperties: 1
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: self.all(key, 0 < int(key) && int(key) <= 65535)
|
||||
selector:
|
||||
description: The selector determines the workloads to apply the PeerAuthentication on.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: portLevelMtls requires selector
|
||||
rule: (has(self.selector) && has(self.selector.matchLabels) && self.selector.matchLabels.size() > 0) || !has(self.portLevelMtls)
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,140 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: proxyconfigs.networking.istio.io
|
||||
spec:
|
||||
group: networking.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- networking-istio-io
|
||||
kind: ProxyConfig
|
||||
listKind: ProxyConfigList
|
||||
plural: proxyconfigs
|
||||
singular: proxyconfig
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Provides configuration for individual workloads. See more details at: https://istio.io/docs/reference/config/networking/proxy-config.html'
|
||||
properties:
|
||||
concurrency:
|
||||
description: The number of worker threads to run.
|
||||
format: int32
|
||||
minimum: 0
|
||||
nullable: true
|
||||
type: integer
|
||||
environmentVariables:
|
||||
additionalProperties:
|
||||
maxLength: 2048
|
||||
type: string
|
||||
description: Additional environment variables for the proxy.
|
||||
type: object
|
||||
image:
|
||||
description: Specifies the details of the proxy image.
|
||||
properties:
|
||||
imageType:
|
||||
description: The image type of the image.
|
||||
type: string
|
||||
type: object
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,554 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: requestauthentications.security.istio.io
|
||||
spec:
|
||||
group: security.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- security-istio-io
|
||||
kind: RequestAuthentication
|
||||
listKind: RequestAuthenticationList
|
||||
plural: requestauthentications
|
||||
shortNames:
|
||||
- ra
|
||||
singular: requestauthentication
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Request authentication configuration for workloads. See more details at: https://istio.io/docs/reference/config/security/request_authentication.html'
|
||||
properties:
|
||||
jwtRules:
|
||||
description: Define the list of JWTs that can be validated at the selected workloads' proxy.
|
||||
items:
|
||||
properties:
|
||||
audiences:
|
||||
description: The list of JWT [audiences](https://tools.ietf.org/html/rfc7519#section-4.1.3) that are allowed to access.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
forwardOriginalToken:
|
||||
description: If set to true, the original token will be kept for the upstream request.
|
||||
type: boolean
|
||||
fromCookies:
|
||||
description: List of cookie names from which JWT is expected.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
fromHeaders:
|
||||
description: List of header locations from which JWT is expected.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: The HTTP header name.
|
||||
minLength: 1
|
||||
type: string
|
||||
prefix:
|
||||
description: The prefix that should be stripped before decoding the token.
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
fromParams:
|
||||
description: List of query parameters from which JWT is expected.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
issuer:
|
||||
description: Identifies the issuer that issued the JWT.
|
||||
minLength: 1
|
||||
type: string
|
||||
jwks:
|
||||
description: JSON Web Key Set of public keys to validate signature of the JWT.
|
||||
type: string
|
||||
jwks_uri:
|
||||
description: URL of the provider's public key set to validate signature of the JWT.
|
||||
maxLength: 2048
|
||||
minLength: 1
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: url must have scheme http:// or https://
|
||||
rule: url(self).getScheme() in ['http', 'https']
|
||||
jwksUri:
|
||||
description: URL of the provider's public key set to validate signature of the JWT.
|
||||
maxLength: 2048
|
||||
minLength: 1
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: url must have scheme http:// or https://
|
||||
rule: url(self).getScheme() in ['http', 'https']
|
||||
outputClaimToHeaders:
|
||||
description: This field specifies a list of operations to copy the claim to HTTP headers on a successfully verified token.
|
||||
items:
|
||||
properties:
|
||||
claim:
|
||||
description: The name of the claim to be copied from.
|
||||
minLength: 1
|
||||
type: string
|
||||
header:
|
||||
description: The name of the header to be created.
|
||||
minLength: 1
|
||||
pattern: ^[-_A-Za-z0-9]+$
|
||||
type: string
|
||||
required:
|
||||
- header
|
||||
- claim
|
||||
type: object
|
||||
type: array
|
||||
outputPayloadToHeader:
|
||||
description: This field specifies the header name to output a successfully verified JWT payload to the backend.
|
||||
type: string
|
||||
timeout:
|
||||
description: The maximum amount of time that the resolver, determined by the PILOT_JWT_ENABLE_REMOTE_JWKS environment variable, will spend waiting for the JWKS to be fetched.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: must be a valid duration greater than 1ms
|
||||
rule: duration(self) >= duration('1ms')
|
||||
required:
|
||||
- issuer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of jwks or jwksUri can be set
|
||||
rule: (has(self.jwksUri)?1:0)+(has(self.jwks_uri)?1:0)+(has(self.jwks)?1:0)<=1
|
||||
maxItems: 4096
|
||||
type: array
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Request authentication configuration for workloads. See more details at: https://istio.io/docs/reference/config/security/request_authentication.html'
|
||||
properties:
|
||||
jwtRules:
|
||||
description: Define the list of JWTs that can be validated at the selected workloads' proxy.
|
||||
items:
|
||||
properties:
|
||||
audiences:
|
||||
description: The list of JWT [audiences](https://tools.ietf.org/html/rfc7519#section-4.1.3) that are allowed to access.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
forwardOriginalToken:
|
||||
description: If set to true, the original token will be kept for the upstream request.
|
||||
type: boolean
|
||||
fromCookies:
|
||||
description: List of cookie names from which JWT is expected.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
fromHeaders:
|
||||
description: List of header locations from which JWT is expected.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: The HTTP header name.
|
||||
minLength: 1
|
||||
type: string
|
||||
prefix:
|
||||
description: The prefix that should be stripped before decoding the token.
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
fromParams:
|
||||
description: List of query parameters from which JWT is expected.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
issuer:
|
||||
description: Identifies the issuer that issued the JWT.
|
||||
minLength: 1
|
||||
type: string
|
||||
jwks:
|
||||
description: JSON Web Key Set of public keys to validate signature of the JWT.
|
||||
type: string
|
||||
jwks_uri:
|
||||
description: URL of the provider's public key set to validate signature of the JWT.
|
||||
maxLength: 2048
|
||||
minLength: 1
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: url must have scheme http:// or https://
|
||||
rule: url(self).getScheme() in ['http', 'https']
|
||||
jwksUri:
|
||||
description: URL of the provider's public key set to validate signature of the JWT.
|
||||
maxLength: 2048
|
||||
minLength: 1
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: url must have scheme http:// or https://
|
||||
rule: url(self).getScheme() in ['http', 'https']
|
||||
outputClaimToHeaders:
|
||||
description: This field specifies a list of operations to copy the claim to HTTP headers on a successfully verified token.
|
||||
items:
|
||||
properties:
|
||||
claim:
|
||||
description: The name of the claim to be copied from.
|
||||
minLength: 1
|
||||
type: string
|
||||
header:
|
||||
description: The name of the header to be created.
|
||||
minLength: 1
|
||||
pattern: ^[-_A-Za-z0-9]+$
|
||||
type: string
|
||||
required:
|
||||
- header
|
||||
- claim
|
||||
type: object
|
||||
type: array
|
||||
outputPayloadToHeader:
|
||||
description: This field specifies the header name to output a successfully verified JWT payload to the backend.
|
||||
type: string
|
||||
timeout:
|
||||
description: The maximum amount of time that the resolver, determined by the PILOT_JWT_ENABLE_REMOTE_JWKS environment variable, will spend waiting for the JWKS to be fetched.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: must be a valid duration greater than 1ms
|
||||
rule: duration(self) >= duration('1ms')
|
||||
required:
|
||||
- issuer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of jwks or jwksUri can be set
|
||||
rule: (has(self.jwksUri)?1:0)+(has(self.jwks_uri)?1:0)+(has(self.jwks)?1:0)<=1
|
||||
maxItems: 4096
|
||||
type: array
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,827 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: serviceentries.networking.istio.io
|
||||
spec:
|
||||
group: networking.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- networking-istio-io
|
||||
kind: ServiceEntry
|
||||
listKind: ServiceEntryList
|
||||
plural: serviceentries
|
||||
shortNames:
|
||||
- se
|
||||
singular: serviceentry
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: The hosts associated with the ServiceEntry
|
||||
jsonPath: .spec.hosts
|
||||
name: Hosts
|
||||
type: string
|
||||
- description: Whether the service is external to the mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)
|
||||
jsonPath: .spec.location
|
||||
name: Location
|
||||
type: string
|
||||
- description: Service resolution mode for the hosts (NONE, STATIC, or DNS)
|
||||
jsonPath: .spec.resolution
|
||||
name: Resolution
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html'
|
||||
properties:
|
||||
addresses:
|
||||
description: The virtual IP addresses associated with the service.
|
||||
items:
|
||||
maxLength: 64
|
||||
type: string
|
||||
maxItems: 256
|
||||
type: array
|
||||
endpoints:
|
||||
description: One or more endpoints associated with the service.
|
||||
items:
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Address is required
|
||||
rule: has(self.address) || has(self.network)
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
maxItems: 4096
|
||||
type: array
|
||||
exportTo:
|
||||
description: A list of namespaces to which this service is exported.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
hosts:
|
||||
description: The hosts associated with the ServiceEntry.
|
||||
items:
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: hostname cannot be wildcard
|
||||
rule: self != '*'
|
||||
maxItems: 256
|
||||
minItems: 1
|
||||
type: array
|
||||
location:
|
||||
description: 'Specify whether the service should be considered external to the mesh or part of the mesh.
|
||||
|
||||
|
||||
Valid Options: MESH_EXTERNAL, MESH_INTERNAL'
|
||||
enum:
|
||||
- MESH_EXTERNAL
|
||||
- MESH_INTERNAL
|
||||
type: string
|
||||
ports:
|
||||
description: The ports associated with the external service.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Label assigned to the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
number:
|
||||
description: A valid non-negative integer port number.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
protocol:
|
||||
description: The protocol exposed on the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
targetPort:
|
||||
description: The port number on the endpoint where the traffic will be received.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
required:
|
||||
- number
|
||||
- name
|
||||
type: object
|
||||
maxItems: 256
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
x-kubernetes-validations:
|
||||
- message: port number cannot be duplicated
|
||||
rule: self.all(l1, self.exists_one(l2, l1.number == l2.number))
|
||||
resolution:
|
||||
description: 'Service resolution mode for the hosts.
|
||||
|
||||
|
||||
Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN'
|
||||
enum:
|
||||
- NONE
|
||||
- STATIC
|
||||
- DNS
|
||||
- DNS_ROUND_ROBIN
|
||||
type: string
|
||||
subjectAltNames:
|
||||
description: If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
workloadSelector:
|
||||
description: Applicable only for MESH_INTERNAL services.
|
||||
properties:
|
||||
labels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard is not supported in selector
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
- hosts
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of WorkloadSelector or Endpoints can be set
|
||||
rule: (has(self.workloadSelector)?1:0)+(has(self.endpoints)?1:0)<=1
|
||||
- message: CIDR addresses are allowed only for NONE/STATIC resolution types
|
||||
rule: '!(has(self.addresses) && self.addresses.exists(k, k.contains(''/'')) && (has(self.resolution) && self.resolution != ''STATIC'' && self.resolution != ''NONE''))'
|
||||
- message: NONE mode cannot set endpoints
|
||||
rule: '(!has(self.resolution) || self.resolution == ''NONE'') ? !has(self.endpoints) : true'
|
||||
- message: DNS_ROUND_ROBIN mode cannot have multiple endpoints
|
||||
rule: '(has(self.resolution) && self.resolution == ''DNS_ROUND_ROBIN'') ? (!has(self.endpoints) || size(self.endpoints) == 1) : true'
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: The hosts associated with the ServiceEntry
|
||||
jsonPath: .spec.hosts
|
||||
name: Hosts
|
||||
type: string
|
||||
- description: Whether the service is external to the mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)
|
||||
jsonPath: .spec.location
|
||||
name: Location
|
||||
type: string
|
||||
- description: Service resolution mode for the hosts (NONE, STATIC, or DNS)
|
||||
jsonPath: .spec.resolution
|
||||
name: Resolution
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1alpha3
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html'
|
||||
properties:
|
||||
addresses:
|
||||
description: The virtual IP addresses associated with the service.
|
||||
items:
|
||||
maxLength: 64
|
||||
type: string
|
||||
maxItems: 256
|
||||
type: array
|
||||
endpoints:
|
||||
description: One or more endpoints associated with the service.
|
||||
items:
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Address is required
|
||||
rule: has(self.address) || has(self.network)
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
maxItems: 4096
|
||||
type: array
|
||||
exportTo:
|
||||
description: A list of namespaces to which this service is exported.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
hosts:
|
||||
description: The hosts associated with the ServiceEntry.
|
||||
items:
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: hostname cannot be wildcard
|
||||
rule: self != '*'
|
||||
maxItems: 256
|
||||
minItems: 1
|
||||
type: array
|
||||
location:
|
||||
description: 'Specify whether the service should be considered external to the mesh or part of the mesh.
|
||||
|
||||
|
||||
Valid Options: MESH_EXTERNAL, MESH_INTERNAL'
|
||||
enum:
|
||||
- MESH_EXTERNAL
|
||||
- MESH_INTERNAL
|
||||
type: string
|
||||
ports:
|
||||
description: The ports associated with the external service.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Label assigned to the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
number:
|
||||
description: A valid non-negative integer port number.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
protocol:
|
||||
description: The protocol exposed on the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
targetPort:
|
||||
description: The port number on the endpoint where the traffic will be received.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
required:
|
||||
- number
|
||||
- name
|
||||
type: object
|
||||
maxItems: 256
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
x-kubernetes-validations:
|
||||
- message: port number cannot be duplicated
|
||||
rule: self.all(l1, self.exists_one(l2, l1.number == l2.number))
|
||||
resolution:
|
||||
description: 'Service resolution mode for the hosts.
|
||||
|
||||
|
||||
Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN'
|
||||
enum:
|
||||
- NONE
|
||||
- STATIC
|
||||
- DNS
|
||||
- DNS_ROUND_ROBIN
|
||||
type: string
|
||||
subjectAltNames:
|
||||
description: If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
workloadSelector:
|
||||
description: Applicable only for MESH_INTERNAL services.
|
||||
properties:
|
||||
labels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard is not supported in selector
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
- hosts
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of WorkloadSelector or Endpoints can be set
|
||||
rule: (has(self.workloadSelector)?1:0)+(has(self.endpoints)?1:0)<=1
|
||||
- message: CIDR addresses are allowed only for NONE/STATIC resolution types
|
||||
rule: '!(has(self.addresses) && self.addresses.exists(k, k.contains(''/'')) && (has(self.resolution) && self.resolution != ''STATIC'' && self.resolution != ''NONE''))'
|
||||
- message: NONE mode cannot set endpoints
|
||||
rule: '(!has(self.resolution) || self.resolution == ''NONE'') ? !has(self.endpoints) : true'
|
||||
- message: DNS_ROUND_ROBIN mode cannot have multiple endpoints
|
||||
rule: '(has(self.resolution) && self.resolution == ''DNS_ROUND_ROBIN'') ? (!has(self.endpoints) || size(self.endpoints) == 1) : true'
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: The hosts associated with the ServiceEntry
|
||||
jsonPath: .spec.hosts
|
||||
name: Hosts
|
||||
type: string
|
||||
- description: Whether the service is external to the mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)
|
||||
jsonPath: .spec.location
|
||||
name: Location
|
||||
type: string
|
||||
- description: Service resolution mode for the hosts (NONE, STATIC, or DNS)
|
||||
jsonPath: .spec.resolution
|
||||
name: Resolution
|
||||
type: string
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html'
|
||||
properties:
|
||||
addresses:
|
||||
description: The virtual IP addresses associated with the service.
|
||||
items:
|
||||
maxLength: 64
|
||||
type: string
|
||||
maxItems: 256
|
||||
type: array
|
||||
endpoints:
|
||||
description: One or more endpoints associated with the service.
|
||||
items:
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Address is required
|
||||
rule: has(self.address) || has(self.network)
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
maxItems: 4096
|
||||
type: array
|
||||
exportTo:
|
||||
description: A list of namespaces to which this service is exported.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
hosts:
|
||||
description: The hosts associated with the ServiceEntry.
|
||||
items:
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: hostname cannot be wildcard
|
||||
rule: self != '*'
|
||||
maxItems: 256
|
||||
minItems: 1
|
||||
type: array
|
||||
location:
|
||||
description: 'Specify whether the service should be considered external to the mesh or part of the mesh.
|
||||
|
||||
|
||||
Valid Options: MESH_EXTERNAL, MESH_INTERNAL'
|
||||
enum:
|
||||
- MESH_EXTERNAL
|
||||
- MESH_INTERNAL
|
||||
type: string
|
||||
ports:
|
||||
description: The ports associated with the external service.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Label assigned to the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
number:
|
||||
description: A valid non-negative integer port number.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
protocol:
|
||||
description: The protocol exposed on the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
targetPort:
|
||||
description: The port number on the endpoint where the traffic will be received.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
required:
|
||||
- number
|
||||
- name
|
||||
type: object
|
||||
maxItems: 256
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
x-kubernetes-validations:
|
||||
- message: port number cannot be duplicated
|
||||
rule: self.all(l1, self.exists_one(l2, l1.number == l2.number))
|
||||
resolution:
|
||||
description: 'Service resolution mode for the hosts.
|
||||
|
||||
|
||||
Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN'
|
||||
enum:
|
||||
- NONE
|
||||
- STATIC
|
||||
- DNS
|
||||
- DNS_ROUND_ROBIN
|
||||
type: string
|
||||
subjectAltNames:
|
||||
description: If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
workloadSelector:
|
||||
description: Applicable only for MESH_INTERNAL services.
|
||||
properties:
|
||||
labels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard is not supported in selector
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
- hosts
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of WorkloadSelector or Endpoints can be set
|
||||
rule: (has(self.workloadSelector)?1:0)+(has(self.endpoints)?1:0)<=1
|
||||
- message: CIDR addresses are allowed only for NONE/STATIC resolution types
|
||||
rule: '!(has(self.addresses) && self.addresses.exists(k, k.contains(''/'')) && (has(self.resolution) && self.resolution != ''STATIC'' && self.resolution != ''NONE''))'
|
||||
- message: NONE mode cannot set endpoints
|
||||
rule: '(!has(self.resolution) || self.resolution == ''NONE'') ? !has(self.endpoints) : true'
|
||||
- message: DNS_ROUND_ROBIN mode cannot have multiple endpoints
|
||||
rule: '(has(self.resolution) && self.resolution == ''DNS_ROUND_ROBIN'') ? (!has(self.endpoints) || size(self.endpoints) == 1) : true'
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,868 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: telemetries.telemetry.istio.io
|
||||
spec:
|
||||
group: telemetry.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- telemetry-istio-io
|
||||
kind: Telemetry
|
||||
listKind: TelemetryList
|
||||
plural: telemetries
|
||||
shortNames:
|
||||
- telemetry
|
||||
singular: telemetry
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Telemetry configuration for workloads. See more details at: https://istio.io/docs/reference/config/telemetry.html'
|
||||
properties:
|
||||
accessLogging:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
disabled:
|
||||
description: Controls logging.
|
||||
nullable: true
|
||||
type: boolean
|
||||
filter:
|
||||
description: Optional.
|
||||
properties:
|
||||
expression:
|
||||
description: CEL expression for selecting when requests/connections should be logged.
|
||||
type: string
|
||||
type: object
|
||||
match:
|
||||
description: Allows tailoring of logging behavior to specific conditions.
|
||||
properties:
|
||||
mode:
|
||||
description: 'This determines whether or not to apply the access logging configuration based on the direction of traffic relative to the proxied workload.
|
||||
|
||||
|
||||
Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER'
|
||||
enum:
|
||||
- CLIENT_AND_SERVER
|
||||
- CLIENT
|
||||
- SERVER
|
||||
type: string
|
||||
type: object
|
||||
providers:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Required.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
metrics:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
overrides:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
disabled:
|
||||
description: Optional.
|
||||
nullable: true
|
||||
type: boolean
|
||||
match:
|
||||
description: Match allows providing the scope of the override.
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- metric
|
||||
- required:
|
||||
- customMetric
|
||||
- required:
|
||||
- metric
|
||||
- required:
|
||||
- customMetric
|
||||
properties:
|
||||
customMetric:
|
||||
description: Allows free-form specification of a metric.
|
||||
minLength: 1
|
||||
type: string
|
||||
metric:
|
||||
description: 'One of the well-known [Istio Standard Metrics](https://istio.io/latest/docs/reference/config/metrics/).
|
||||
|
||||
|
||||
Valid Options: ALL_METRICS, REQUEST_COUNT, REQUEST_DURATION, REQUEST_SIZE, RESPONSE_SIZE, TCP_OPENED_CONNECTIONS, TCP_CLOSED_CONNECTIONS, TCP_SENT_BYTES, TCP_RECEIVED_BYTES, GRPC_REQUEST_MESSAGES, GRPC_RESPONSE_MESSAGES'
|
||||
enum:
|
||||
- ALL_METRICS
|
||||
- REQUEST_COUNT
|
||||
- REQUEST_DURATION
|
||||
- REQUEST_SIZE
|
||||
- RESPONSE_SIZE
|
||||
- TCP_OPENED_CONNECTIONS
|
||||
- TCP_CLOSED_CONNECTIONS
|
||||
- TCP_SENT_BYTES
|
||||
- TCP_RECEIVED_BYTES
|
||||
- GRPC_REQUEST_MESSAGES
|
||||
- GRPC_RESPONSE_MESSAGES
|
||||
type: string
|
||||
mode:
|
||||
description: 'Controls which mode of metrics generation is selected: `CLIENT`, `SERVER`, or `CLIENT_AND_SERVER`.
|
||||
|
||||
|
||||
Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER'
|
||||
enum:
|
||||
- CLIENT_AND_SERVER
|
||||
- CLIENT
|
||||
- SERVER
|
||||
type: string
|
||||
type: object
|
||||
tagOverrides:
|
||||
additionalProperties:
|
||||
properties:
|
||||
operation:
|
||||
description: 'Operation controls whether or not to update/add a tag, or to remove it.
|
||||
|
||||
|
||||
Valid Options: UPSERT, REMOVE'
|
||||
enum:
|
||||
- UPSERT
|
||||
- REMOVE
|
||||
type: string
|
||||
value:
|
||||
description: Value is only considered if the operation is `UPSERT`.
|
||||
type: string
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: value must be set when operation is UPSERT
|
||||
rule: '((has(self.operation) ? self.operation : '''') == ''UPSERT'') ? self.value != '''' : true'
|
||||
- message: value must not be set when operation is REMOVE
|
||||
rule: '((has(self.operation) ? self.operation : '''') == ''REMOVE'') ? !has(self.value) : true'
|
||||
description: Optional.
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
providers:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Required.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
reportingInterval:
|
||||
description: Optional.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: must be a valid duration greater than 1ms
|
||||
rule: duration(self) >= duration('1ms')
|
||||
type: object
|
||||
type: array
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
tracing:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
customTags:
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- literal
|
||||
- required:
|
||||
- environment
|
||||
- required:
|
||||
- header
|
||||
- required:
|
||||
- literal
|
||||
- required:
|
||||
- environment
|
||||
- required:
|
||||
- header
|
||||
properties:
|
||||
environment:
|
||||
description: Environment adds the value of an environment variable to each span.
|
||||
properties:
|
||||
defaultValue:
|
||||
description: Optional.
|
||||
type: string
|
||||
name:
|
||||
description: Name of the environment variable from which to extract the tag value.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
header:
|
||||
description: RequestHeader adds the value of an header from the request to each span.
|
||||
properties:
|
||||
defaultValue:
|
||||
description: Optional.
|
||||
type: string
|
||||
name:
|
||||
description: Name of the header from which to extract the tag value.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
literal:
|
||||
description: Literal adds the same, hard-coded value to each span.
|
||||
properties:
|
||||
value:
|
||||
description: The tag value to use.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- value
|
||||
type: object
|
||||
type: object
|
||||
description: Optional.
|
||||
type: object
|
||||
disableSpanReporting:
|
||||
description: Controls span reporting.
|
||||
nullable: true
|
||||
type: boolean
|
||||
match:
|
||||
description: Allows tailoring of behavior to specific conditions.
|
||||
properties:
|
||||
mode:
|
||||
description: 'This determines whether or not to apply the tracing configuration based on the direction of traffic relative to the proxied workload.
|
||||
|
||||
|
||||
Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER'
|
||||
enum:
|
||||
- CLIENT_AND_SERVER
|
||||
- CLIENT
|
||||
- SERVER
|
||||
type: string
|
||||
type: object
|
||||
providers:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Required.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
randomSamplingPercentage:
|
||||
description: Controls the rate at which traffic will be selected for tracing if no prior sampling decision has been made.
|
||||
format: double
|
||||
maximum: 100
|
||||
minimum: 0
|
||||
nullable: true
|
||||
type: number
|
||||
useRequestIdForTraceSampling:
|
||||
nullable: true
|
||||
type: boolean
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Telemetry configuration for workloads. See more details at: https://istio.io/docs/reference/config/telemetry.html'
|
||||
properties:
|
||||
accessLogging:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
disabled:
|
||||
description: Controls logging.
|
||||
nullable: true
|
||||
type: boolean
|
||||
filter:
|
||||
description: Optional.
|
||||
properties:
|
||||
expression:
|
||||
description: CEL expression for selecting when requests/connections should be logged.
|
||||
type: string
|
||||
type: object
|
||||
match:
|
||||
description: Allows tailoring of logging behavior to specific conditions.
|
||||
properties:
|
||||
mode:
|
||||
description: 'This determines whether or not to apply the access logging configuration based on the direction of traffic relative to the proxied workload.
|
||||
|
||||
|
||||
Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER'
|
||||
enum:
|
||||
- CLIENT_AND_SERVER
|
||||
- CLIENT
|
||||
- SERVER
|
||||
type: string
|
||||
type: object
|
||||
providers:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Required.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
metrics:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
overrides:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
disabled:
|
||||
description: Optional.
|
||||
nullable: true
|
||||
type: boolean
|
||||
match:
|
||||
description: Match allows providing the scope of the override.
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- metric
|
||||
- required:
|
||||
- customMetric
|
||||
- required:
|
||||
- metric
|
||||
- required:
|
||||
- customMetric
|
||||
properties:
|
||||
customMetric:
|
||||
description: Allows free-form specification of a metric.
|
||||
minLength: 1
|
||||
type: string
|
||||
metric:
|
||||
description: 'One of the well-known [Istio Standard Metrics](https://istio.io/latest/docs/reference/config/metrics/).
|
||||
|
||||
|
||||
Valid Options: ALL_METRICS, REQUEST_COUNT, REQUEST_DURATION, REQUEST_SIZE, RESPONSE_SIZE, TCP_OPENED_CONNECTIONS, TCP_CLOSED_CONNECTIONS, TCP_SENT_BYTES, TCP_RECEIVED_BYTES, GRPC_REQUEST_MESSAGES, GRPC_RESPONSE_MESSAGES'
|
||||
enum:
|
||||
- ALL_METRICS
|
||||
- REQUEST_COUNT
|
||||
- REQUEST_DURATION
|
||||
- REQUEST_SIZE
|
||||
- RESPONSE_SIZE
|
||||
- TCP_OPENED_CONNECTIONS
|
||||
- TCP_CLOSED_CONNECTIONS
|
||||
- TCP_SENT_BYTES
|
||||
- TCP_RECEIVED_BYTES
|
||||
- GRPC_REQUEST_MESSAGES
|
||||
- GRPC_RESPONSE_MESSAGES
|
||||
type: string
|
||||
mode:
|
||||
description: 'Controls which mode of metrics generation is selected: `CLIENT`, `SERVER`, or `CLIENT_AND_SERVER`.
|
||||
|
||||
|
||||
Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER'
|
||||
enum:
|
||||
- CLIENT_AND_SERVER
|
||||
- CLIENT
|
||||
- SERVER
|
||||
type: string
|
||||
type: object
|
||||
tagOverrides:
|
||||
additionalProperties:
|
||||
properties:
|
||||
operation:
|
||||
description: 'Operation controls whether or not to update/add a tag, or to remove it.
|
||||
|
||||
|
||||
Valid Options: UPSERT, REMOVE'
|
||||
enum:
|
||||
- UPSERT
|
||||
- REMOVE
|
||||
type: string
|
||||
value:
|
||||
description: Value is only considered if the operation is `UPSERT`.
|
||||
type: string
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: value must be set when operation is UPSERT
|
||||
rule: '((has(self.operation) ? self.operation : '''') == ''UPSERT'') ? self.value != '''' : true'
|
||||
- message: value must not be set when operation is REMOVE
|
||||
rule: '((has(self.operation) ? self.operation : '''') == ''REMOVE'') ? !has(self.value) : true'
|
||||
description: Optional.
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
providers:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Required.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
reportingInterval:
|
||||
description: Optional.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: must be a valid duration greater than 1ms
|
||||
rule: duration(self) >= duration('1ms')
|
||||
type: object
|
||||
type: array
|
||||
selector:
|
||||
description: Optional.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
tracing:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
customTags:
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- literal
|
||||
- required:
|
||||
- environment
|
||||
- required:
|
||||
- header
|
||||
- required:
|
||||
- literal
|
||||
- required:
|
||||
- environment
|
||||
- required:
|
||||
- header
|
||||
properties:
|
||||
environment:
|
||||
description: Environment adds the value of an environment variable to each span.
|
||||
properties:
|
||||
defaultValue:
|
||||
description: Optional.
|
||||
type: string
|
||||
name:
|
||||
description: Name of the environment variable from which to extract the tag value.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
header:
|
||||
description: RequestHeader adds the value of an header from the request to each span.
|
||||
properties:
|
||||
defaultValue:
|
||||
description: Optional.
|
||||
type: string
|
||||
name:
|
||||
description: Name of the header from which to extract the tag value.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
literal:
|
||||
description: Literal adds the same, hard-coded value to each span.
|
||||
properties:
|
||||
value:
|
||||
description: The tag value to use.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- value
|
||||
type: object
|
||||
type: object
|
||||
description: Optional.
|
||||
type: object
|
||||
disableSpanReporting:
|
||||
description: Controls span reporting.
|
||||
nullable: true
|
||||
type: boolean
|
||||
match:
|
||||
description: Allows tailoring of behavior to specific conditions.
|
||||
properties:
|
||||
mode:
|
||||
description: 'This determines whether or not to apply the tracing configuration based on the direction of traffic relative to the proxied workload.
|
||||
|
||||
|
||||
Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER'
|
||||
enum:
|
||||
- CLIENT_AND_SERVER
|
||||
- CLIENT
|
||||
- SERVER
|
||||
type: string
|
||||
type: object
|
||||
providers:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Required.
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
type: array
|
||||
randomSamplingPercentage:
|
||||
description: Controls the rate at which traffic will be selected for tracing if no prior sampling decision has been made.
|
||||
format: double
|
||||
maximum: 100
|
||||
minimum: 0
|
||||
nullable: true
|
||||
type: number
|
||||
useRequestIdForTraceSampling:
|
||||
nullable: true
|
||||
type: boolean
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,340 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: wasmplugins.extensions.istio.io
|
||||
spec:
|
||||
group: extensions.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- extensions-istio-io
|
||||
kind: WasmPlugin
|
||||
listKind: WasmPluginList
|
||||
plural: wasmplugins
|
||||
singular: wasmplugin
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Extend the functionality provided by the Istio proxy through WebAssembly filters. See more details at: https://istio.io/docs/reference/config/proxy_extensions/wasm-plugin.html'
|
||||
properties:
|
||||
failStrategy:
|
||||
description: 'Specifies the failure behavior for the plugin due to fatal errors.
|
||||
|
||||
|
||||
Valid Options: FAIL_CLOSE, FAIL_OPEN'
|
||||
enum:
|
||||
- FAIL_CLOSE
|
||||
- FAIL_OPEN
|
||||
type: string
|
||||
imagePullPolicy:
|
||||
description: 'The pull behaviour to be applied when fetching Wasm module by either OCI image or `http/https`.
|
||||
|
||||
|
||||
Valid Options: IfNotPresent, Always'
|
||||
enum:
|
||||
- UNSPECIFIED_POLICY
|
||||
- IfNotPresent
|
||||
- Always
|
||||
type: string
|
||||
imagePullSecret:
|
||||
description: Credentials to use for OCI image pulling.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
match:
|
||||
description: Specifies the criteria to determine which traffic is passed to WasmPlugin.
|
||||
items:
|
||||
properties:
|
||||
mode:
|
||||
description: 'Criteria for selecting traffic by their direction.
|
||||
|
||||
|
||||
Valid Options: CLIENT, SERVER, CLIENT_AND_SERVER'
|
||||
enum:
|
||||
- UNDEFINED
|
||||
- CLIENT
|
||||
- SERVER
|
||||
- CLIENT_AND_SERVER
|
||||
type: string
|
||||
ports:
|
||||
description: Criteria for selecting traffic by their destination port.
|
||||
items:
|
||||
properties:
|
||||
number:
|
||||
maximum: 65535
|
||||
minimum: 1
|
||||
type: integer
|
||||
required:
|
||||
- number
|
||||
type: object
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- number
|
||||
x-kubernetes-list-type: map
|
||||
type: object
|
||||
type: array
|
||||
phase:
|
||||
description: 'Determines where in the filter chain this `WasmPlugin` is to be injected.
|
||||
|
||||
|
||||
Valid Options: AUTHN, AUTHZ, STATS'
|
||||
enum:
|
||||
- UNSPECIFIED_PHASE
|
||||
- AUTHN
|
||||
- AUTHZ
|
||||
- STATS
|
||||
type: string
|
||||
pluginConfig:
|
||||
description: The configuration that will be passed on to the plugin.
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
pluginName:
|
||||
description: The plugin name to be used in the Envoy configuration (used to be called `rootID`).
|
||||
maxLength: 256
|
||||
minLength: 1
|
||||
type: string
|
||||
priority:
|
||||
description: Determines ordering of `WasmPlugins` in the same `phase`.
|
||||
format: int32
|
||||
nullable: true
|
||||
type: integer
|
||||
selector:
|
||||
description: Criteria used to select the specific set of pods/VMs on which this plugin configuration should be applied.
|
||||
properties:
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
maxLength: 63
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label value match
|
||||
rule: '!self.contains(''*'')'
|
||||
description: One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.
|
||||
maxProperties: 4096
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: wildcard not allowed in label key match
|
||||
rule: self.all(key, !key.contains('*'))
|
||||
- message: key must not be empty
|
||||
rule: self.all(key, key.size() != 0)
|
||||
type: object
|
||||
sha256:
|
||||
description: SHA256 checksum that will be used to verify Wasm module or OCI container.
|
||||
pattern: (^$|^[a-f0-9]{64}$)
|
||||
type: string
|
||||
targetRef:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
targetRefs:
|
||||
description: Optional.
|
||||
items:
|
||||
properties:
|
||||
group:
|
||||
description: group is the group of the target resource.
|
||||
maxLength: 253
|
||||
pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
||||
type: string
|
||||
kind:
|
||||
description: kind is kind of the target resource.
|
||||
maxLength: 63
|
||||
minLength: 1
|
||||
pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
|
||||
type: string
|
||||
name:
|
||||
description: name is the name of the target resource.
|
||||
maxLength: 253
|
||||
minLength: 1
|
||||
type: string
|
||||
namespace:
|
||||
description: namespace is the namespace of the referent.
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: cross namespace referencing is not currently supported
|
||||
rule: self.size() == 0
|
||||
required:
|
||||
- kind
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Support kinds are core/Service, networking.istio.io/ServiceEntry, gateway.networking.k8s.io/Gateway
|
||||
rule: '[self.group, self.kind] in [[''core'',''Service''], ['''',''Service''], [''gateway.networking.k8s.io'',''Gateway''], [''networking.istio.io'',''ServiceEntry'']]'
|
||||
maxItems: 16
|
||||
type: array
|
||||
type:
|
||||
description: 'Specifies the type of Wasm Extension to be used.
|
||||
|
||||
|
||||
Valid Options: HTTP, NETWORK'
|
||||
enum:
|
||||
- UNSPECIFIED_PLUGIN_TYPE
|
||||
- HTTP
|
||||
- NETWORK
|
||||
type: string
|
||||
url:
|
||||
description: URL of a Wasm module or OCI container.
|
||||
minLength: 1
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: url must have schema one of [http, https, file, oci]
|
||||
rule: 'isURL(self) ? (url(self).getScheme() in ['''', ''http'', ''https'', ''oci'', ''file'']) : (isURL(''http://'' + self) && url(''http://'' +self).getScheme() in ['''', ''http'', ''https'', ''oci'', ''file''])'
|
||||
verificationKey:
|
||||
type: string
|
||||
vmConfig:
|
||||
description: Configuration for a Wasm VM.
|
||||
properties:
|
||||
env:
|
||||
description: Specifies environment variables to be injected to this VM.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
description: Name of the environment variable.
|
||||
maxLength: 256
|
||||
minLength: 1
|
||||
type: string
|
||||
value:
|
||||
description: Value for the environment variable.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
valueFrom:
|
||||
description: 'Source for the environment variable''s value.
|
||||
|
||||
|
||||
Valid Options: INLINE, HOST'
|
||||
enum:
|
||||
- INLINE
|
||||
- HOST
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: value may only be set when valueFrom is INLINE
|
||||
rule: '(has(self.valueFrom) ? self.valueFrom : '''') != ''HOST'' || !has(self.value)'
|
||||
maxItems: 256
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
type: object
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: only one of targetRefs or selector can be set
|
||||
rule: (has(self.selector)?1:0)+(has(self.targetRef)?1:0)+(has(self.targetRefs)?1:0)<=1
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,446 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: workloadentries.networking.istio.io
|
||||
spec:
|
||||
group: networking.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- networking-istio-io
|
||||
kind: WorkloadEntry
|
||||
listKind: WorkloadEntryList
|
||||
plural: workloadentries
|
||||
shortNames:
|
||||
- we
|
||||
singular: workloadentry
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
- description: Address associated with the network endpoint.
|
||||
jsonPath: .spec.address
|
||||
name: Address
|
||||
type: string
|
||||
name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting VMs onboarded into the mesh. See more details at: https://istio.io/docs/reference/config/networking/workload-entry.html'
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Address is required
|
||||
rule: has(self.address) || has(self.network)
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
- description: Address associated with the network endpoint.
|
||||
jsonPath: .spec.address
|
||||
name: Address
|
||||
type: string
|
||||
name: v1alpha3
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting VMs onboarded into the mesh. See more details at: https://istio.io/docs/reference/config/networking/workload-entry.html'
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Address is required
|
||||
rule: has(self.address) || has(self.network)
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
- description: Address associated with the network endpoint.
|
||||
jsonPath: .spec.address
|
||||
name: Address
|
||||
type: string
|
||||
name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Configuration affecting VMs onboarded into the mesh. See more details at: https://istio.io/docs/reference/config/networking/workload-entry.html'
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: Address is required
|
||||
rule: has(self.address) || has(self.network)
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
@ -0,0 +1,807 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
name: workloadgroups.networking.istio.io
|
||||
spec:
|
||||
group: networking.istio.io
|
||||
names:
|
||||
categories:
|
||||
- istio-io
|
||||
- networking-istio-io
|
||||
kind: WorkloadGroup
|
||||
listKind: WorkloadGroupList
|
||||
plural: workloadgroups
|
||||
shortNames:
|
||||
- wg
|
||||
singular: workloadgroup
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Describes a collection of workload instances. See more details at: https://istio.io/docs/reference/config/networking/workload-group.html'
|
||||
properties:
|
||||
metadata:
|
||||
description: Metadata that will be used for all corresponding `WorkloadEntries`.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
maxProperties: 256
|
||||
type: object
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
probe:
|
||||
description: '`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.'
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- httpGet
|
||||
- required:
|
||||
- tcpSocket
|
||||
- required:
|
||||
- exec
|
||||
- required:
|
||||
- httpGet
|
||||
- required:
|
||||
- tcpSocket
|
||||
- required:
|
||||
- exec
|
||||
properties:
|
||||
exec:
|
||||
description: Health is determined by how the command that is executed exited.
|
||||
properties:
|
||||
command:
|
||||
description: Command to run.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- command
|
||||
type: object
|
||||
failureThreshold:
|
||||
description: Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
httpGet:
|
||||
description: '`httpGet` is performed to a given endpoint and the status/able to connect determines health.'
|
||||
properties:
|
||||
host:
|
||||
description: Host name to connect to, defaults to the pod IP.
|
||||
type: string
|
||||
httpHeaders:
|
||||
description: Headers the proxy will pass on to make the request.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
pattern: ^[-_A-Za-z0-9]+$
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
path:
|
||||
description: Path to access on the HTTP server.
|
||||
type: string
|
||||
port:
|
||||
description: Port on which the endpoint lives.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
scheme:
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: scheme must be one of [HTTP, HTTPS]
|
||||
rule: self in ['', 'HTTP', 'HTTPS']
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
initialDelaySeconds:
|
||||
description: Number of seconds after the container has started before readiness probes are initiated.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
periodSeconds:
|
||||
description: How often (in seconds) to perform the probe.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
successThreshold:
|
||||
description: Minimum consecutive successes for the probe to be considered successful after having failed.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
tcpSocket:
|
||||
description: Health is determined by if the proxy is able to connect.
|
||||
properties:
|
||||
host:
|
||||
type: string
|
||||
port:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
timeoutSeconds:
|
||||
description: Number of seconds after which the probe times out.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
template:
|
||||
description: Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
required:
|
||||
- template
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1alpha3
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Describes a collection of workload instances. See more details at: https://istio.io/docs/reference/config/networking/workload-group.html'
|
||||
properties:
|
||||
metadata:
|
||||
description: Metadata that will be used for all corresponding `WorkloadEntries`.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
maxProperties: 256
|
||||
type: object
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
probe:
|
||||
description: '`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.'
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- httpGet
|
||||
- required:
|
||||
- tcpSocket
|
||||
- required:
|
||||
- exec
|
||||
- required:
|
||||
- httpGet
|
||||
- required:
|
||||
- tcpSocket
|
||||
- required:
|
||||
- exec
|
||||
properties:
|
||||
exec:
|
||||
description: Health is determined by how the command that is executed exited.
|
||||
properties:
|
||||
command:
|
||||
description: Command to run.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- command
|
||||
type: object
|
||||
failureThreshold:
|
||||
description: Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
httpGet:
|
||||
description: '`httpGet` is performed to a given endpoint and the status/able to connect determines health.'
|
||||
properties:
|
||||
host:
|
||||
description: Host name to connect to, defaults to the pod IP.
|
||||
type: string
|
||||
httpHeaders:
|
||||
description: Headers the proxy will pass on to make the request.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
pattern: ^[-_A-Za-z0-9]+$
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
path:
|
||||
description: Path to access on the HTTP server.
|
||||
type: string
|
||||
port:
|
||||
description: Port on which the endpoint lives.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
scheme:
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: scheme must be one of [HTTP, HTTPS]
|
||||
rule: self in ['', 'HTTP', 'HTTPS']
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
initialDelaySeconds:
|
||||
description: Number of seconds after the container has started before readiness probes are initiated.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
periodSeconds:
|
||||
description: How often (in seconds) to perform the probe.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
successThreshold:
|
||||
description: Minimum consecutive successes for the probe to be considered successful after having failed.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
tcpSocket:
|
||||
description: Health is determined by if the proxy is able to connect.
|
||||
properties:
|
||||
host:
|
||||
type: string
|
||||
port:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
timeoutSeconds:
|
||||
description: Number of seconds after which the probe times out.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
template:
|
||||
description: Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
required:
|
||||
- template
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
- description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
|
||||
jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
description: 'Describes a collection of workload instances. See more details at: https://istio.io/docs/reference/config/networking/workload-group.html'
|
||||
properties:
|
||||
metadata:
|
||||
description: Metadata that will be used for all corresponding `WorkloadEntries`.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
maxProperties: 256
|
||||
type: object
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
maxProperties: 256
|
||||
type: object
|
||||
type: object
|
||||
probe:
|
||||
description: '`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.'
|
||||
oneOf:
|
||||
- not:
|
||||
anyOf:
|
||||
- required:
|
||||
- httpGet
|
||||
- required:
|
||||
- tcpSocket
|
||||
- required:
|
||||
- exec
|
||||
- required:
|
||||
- httpGet
|
||||
- required:
|
||||
- tcpSocket
|
||||
- required:
|
||||
- exec
|
||||
properties:
|
||||
exec:
|
||||
description: Health is determined by how the command that is executed exited.
|
||||
properties:
|
||||
command:
|
||||
description: Command to run.
|
||||
items:
|
||||
minLength: 1
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- command
|
||||
type: object
|
||||
failureThreshold:
|
||||
description: Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
httpGet:
|
||||
description: '`httpGet` is performed to a given endpoint and the status/able to connect determines health.'
|
||||
properties:
|
||||
host:
|
||||
description: Host name to connect to, defaults to the pod IP.
|
||||
type: string
|
||||
httpHeaders:
|
||||
description: Headers the proxy will pass on to make the request.
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
pattern: ^[-_A-Za-z0-9]+$
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
path:
|
||||
description: Path to access on the HTTP server.
|
||||
type: string
|
||||
port:
|
||||
description: Port on which the endpoint lives.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
scheme:
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: scheme must be one of [HTTP, HTTPS]
|
||||
rule: self in ['', 'HTTP', 'HTTPS']
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
initialDelaySeconds:
|
||||
description: Number of seconds after the container has started before readiness probes are initiated.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
periodSeconds:
|
||||
description: How often (in seconds) to perform the probe.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
successThreshold:
|
||||
description: Minimum consecutive successes for the probe to be considered successful after having failed.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
tcpSocket:
|
||||
description: Health is determined by if the proxy is able to connect.
|
||||
properties:
|
||||
host:
|
||||
type: string
|
||||
port:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
required:
|
||||
- port
|
||||
type: object
|
||||
timeoutSeconds:
|
||||
description: Number of seconds after which the probe times out.
|
||||
format: int32
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
template:
|
||||
description: Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
|
||||
properties:
|
||||
address:
|
||||
description: Address associated with the network endpoint without the port.
|
||||
maxLength: 256
|
||||
type: string
|
||||
x-kubernetes-validations:
|
||||
- message: UDS must be an absolute path or abstract socket
|
||||
rule: 'self.startsWith(''unix://'') ? (self.substring(7,8) == ''/'' || self.substring(7,8) == ''@'') : true'
|
||||
- message: UDS may not be a dir
|
||||
rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'') : true'
|
||||
labels:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: One or more labels associated with the endpoint.
|
||||
maxProperties: 256
|
||||
type: object
|
||||
locality:
|
||||
description: The locality associated with the endpoint.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
network:
|
||||
description: Network enables Istio to group endpoints resident in the same L3 domain/network.
|
||||
maxLength: 2048
|
||||
type: string
|
||||
ports:
|
||||
additionalProperties:
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
x-kubernetes-validations:
|
||||
- message: port must be between 1-65535
|
||||
rule: 0 < self && self <= 65535
|
||||
description: Set of ports associated with the endpoint.
|
||||
maxProperties: 128
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: port name must be valid
|
||||
rule: self.all(key, size(key) < 63 && key.matches('^[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?$'))
|
||||
serviceAccount:
|
||||
description: The service account associated with the workload if a sidecar is present in the workload.
|
||||
maxLength: 253
|
||||
type: string
|
||||
weight:
|
||||
description: The load balancing weight associated with the endpoint.
|
||||
maximum: 4294967295
|
||||
minimum: 0
|
||||
type: integer
|
||||
type: object
|
||||
x-kubernetes-validations:
|
||||
- message: UDS may not include ports
|
||||
rule: '(has(self.address) && self.address.startsWith(''unix://'')) ? !has(self.ports) : true'
|
||||
required:
|
||||
- template
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
description: Current service state of the resource.
|
||||
items:
|
||||
properties:
|
||||
lastProbeTime:
|
||||
description: Last time we probed the condition.
|
||||
format: date-time
|
||||
type: string
|
||||
lastTransitionTime:
|
||||
description: Last time the condition transitioned from one status to another.
|
||||
format: date-time
|
||||
type: string
|
||||
message:
|
||||
description: Human-readable message indicating details about last transition.
|
||||
type: string
|
||||
reason:
|
||||
description: Unique, one-word, CamelCase reason for the condition's last transition.
|
||||
type: string
|
||||
status:
|
||||
description: Status is the status of the condition.
|
||||
type: string
|
||||
type:
|
||||
description: Type is the type of the condition.
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
observedGeneration:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: Resource Generation to which the Reconciled Condition refers.
|
||||
x-kubernetes-int-or-string: true
|
||||
validationMessages:
|
||||
description: Includes any errors or warnings detected by Istio's analyzers.
|
||||
items:
|
||||
properties:
|
||||
documentationUrl:
|
||||
description: A url pointing to the Istio documentation for this specific error type.
|
||||
type: string
|
||||
level:
|
||||
description: 'Represents how severe a message is.
|
||||
|
||||
|
||||
Valid Options: UNKNOWN, ERROR, WARNING, INFO'
|
||||
enum:
|
||||
- UNKNOWN
|
||||
- ERROR
|
||||
- WARNING
|
||||
- INFO
|
||||
type: string
|
||||
type:
|
||||
properties:
|
||||
code:
|
||||
description: A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
|
||||
type: string
|
||||
name:
|
||||
description: A human-readable name for the message type.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
type: array
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
4
rmk/infrastructure/istio-base/namespace-gateway.yaml
Normal file
4
rmk/infrastructure/istio-base/namespace-gateway.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: gateway
|
||||
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: istio-system
|
||||
@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
metadata:
|
||||
name: istio-reader-service-account
|
||||
namespace: istio-system
|
||||
labels:
|
||||
app: istio-reader
|
||||
release: istio-base
|
||||
app.kubernetes.io/name: istio-reader
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
@ -0,0 +1,39 @@
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: ValidatingWebhookConfiguration
|
||||
metadata:
|
||||
name: istiod-default-validator
|
||||
labels:
|
||||
app: istiod
|
||||
release: istio-base
|
||||
istio: istiod
|
||||
istio.io/rev: default
|
||||
app.kubernetes.io/name: istiod
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/instance: istio-base
|
||||
app.kubernetes.io/part-of: istio
|
||||
app.kubernetes.io/version: 1.24.0
|
||||
helm.sh/chart: istio-base-contour-1.24.0
|
||||
webhooks:
|
||||
- name: validation.istio.io
|
||||
clientConfig:
|
||||
service:
|
||||
name: istiod
|
||||
namespace: istio-system
|
||||
path: /validate
|
||||
rules:
|
||||
- operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
apiGroups:
|
||||
- security.istio.io
|
||||
- networking.istio.io
|
||||
- telemetry.istio.io
|
||||
- extensions.istio.io
|
||||
apiVersions:
|
||||
- '*'
|
||||
resources:
|
||||
- '*'
|
||||
failurePolicy: Ignore
|
||||
sideEffects: None
|
||||
admissionReviewVersions:
|
||||
- v1
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: attachments
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: auth-flow
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: bi
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: bim
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: cde
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: checklists
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: comparisons
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: contracts
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: control-interface
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,73 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: cors-json-401
|
||||
namespace: istio-system
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
workloadSelector:
|
||||
labels:
|
||||
istio: ingressgateway
|
||||
configPatches:
|
||||
- applyTo: HTTP_FILTER
|
||||
match:
|
||||
context: GATEWAY
|
||||
listener:
|
||||
filterChain:
|
||||
filter:
|
||||
name: envoy.filters.http.jwt_authn
|
||||
patch:
|
||||
operation: INSERT_BEFORE
|
||||
value:
|
||||
name: envoy.filters.http.cors
|
||||
typed_config:
|
||||
'@type': type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
|
||||
cors:
|
||||
allow_credentials: true
|
||||
allow_headers: Authorization,Content-Type
|
||||
allow_methods: GET,POST,PUT,PATCH,DELETE,OPTIONS
|
||||
allow_origin_string_match:
|
||||
- safe_regex:
|
||||
regex: https://.*\.stand\.sarex\.tech
|
||||
- safe_regex:
|
||||
regex: https://localhost:.*
|
||||
max_age: '86400'
|
||||
- applyTo: NETWORK_FILTER
|
||||
match:
|
||||
context: GATEWAY
|
||||
listener:
|
||||
filterChain:
|
||||
filter:
|
||||
name: envoy.filters.network.http_connection_manager
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
typed_config:
|
||||
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
||||
local_reply_config:
|
||||
mappers:
|
||||
- body:
|
||||
inline_string: '{"error":"unauthorized","detail":"Invalid or expired token"}
|
||||
|
||||
'
|
||||
filter:
|
||||
status_code_filter:
|
||||
comparison:
|
||||
op: EQ
|
||||
value:
|
||||
default_value: 401
|
||||
runtime_key: default
|
||||
headers_to_add:
|
||||
- append_action: OVERWRITE_IF_EXISTS_OR_ADD
|
||||
header:
|
||||
key: Content-Type
|
||||
value: application/json
|
||||
- append_action: OVERWRITE_IF_EXISTS_OR_ADD
|
||||
header:
|
||||
key: Access-Control-Allow-Origin
|
||||
value: '%REQ(Origin)%'
|
||||
- append_action: OVERWRITE_IF_EXISTS_OR_ADD
|
||||
header:
|
||||
key: Access-Control-Allow-Credentials
|
||||
value: 'true'
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: cross-section
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,28 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: decode-zitadel-headers
|
||||
namespace: istio-system
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
workloadSelector:
|
||||
labels:
|
||||
istio: ingressgateway
|
||||
configPatches:
|
||||
- applyTo: HTTP_FILTER
|
||||
match:
|
||||
context: GATEWAY
|
||||
listener:
|
||||
filterChain:
|
||||
filter:
|
||||
name: envoy.filters.network.http_connection_manager
|
||||
subFilter:
|
||||
name: envoy.filters.http.router
|
||||
patch:
|
||||
operation: INSERT_BEFORE
|
||||
value:
|
||||
name: envoy.filters.http.lua
|
||||
typed_config:
|
||||
'@type': type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
|
||||
inlineCode: "function base64_decode(input)\n local b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\n input = input:gsub('[^'..b..'=]', '')\n local result = {}\n local bits = 0\n local acc = 0\n for i = 1, #input do\n local c = input:sub(i, i)\n if c == '=' then break end\n local idx = b:find(c, 1, true)\n if idx then\n acc = acc * 64 + (idx - 1)\n bits = bits + 6\n while bits >= 8 do\n bits = bits - 8\n local byte = math.floor(acc / (2 ^ bits)) % 256\n result[#result + 1] = string.char(byte)\n end\n end\n end\n return table.concat(result)\nend\n\nfunction is_numeric(value)\n return value ~= nil and value:match(\"^%d+$\") ~= nil\nend\n\nfunction decode_header_if_needed(handle, header_name)\n local value = handle:headers():get(header_name)\n if not value or value == \"\" then\n return\n end\n\n -- Если уже число (например \"1234\"), не декодируем\n if is_numeric(value) then\n return\n end\n\n local decoded = base64_decode(value)\n -- Отличие от prod: заменяем только на ожидаемый вид (id/список id),\n -- иначе удаляем заголовок — мусорные байты валят приложение\n -- (\"invalid header value for: x-user-id\").\n if decoded and decoded:match(\"^[%d,]+$\") then\n handle:headers():replace(header_name, decoded)\n else\n handle:headers():remove(header_name)\n end\nend\n\nfunction envoy_on_request(handle)\n decode_header_if_needed(handle, \"x-user-id\")\n decode_header_if_needed(handle, \"x-company-ids\")\nend\n"
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: django
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: document-link
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: documentations
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: drawings
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: eav
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: faas
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: flows
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: gateway
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,23 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: gateway-hsts
|
||||
namespace: istio-system
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
workloadSelector:
|
||||
labels:
|
||||
istio: ingressgateway
|
||||
configPatches:
|
||||
- applyTo: HTTP_ROUTE
|
||||
match:
|
||||
context: GATEWAY
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
response_headers_to_add:
|
||||
- append_action: OVERWRITE_IF_EXISTS_OR_ADD
|
||||
header:
|
||||
key: Strict-Transport-Security
|
||||
value: max-age=31536000
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: iam
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: inspections
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: issues
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: mapper
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: measurements
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: message-hub
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: notes
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: pm
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: prescriptions
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
@ -0,0 +1,25 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
name: add-traceparent
|
||||
namespace: processing
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
configPatches:
|
||||
- applyTo: ROUTE_CONFIGURATION
|
||||
match:
|
||||
context: SIDECAR_INBOUND
|
||||
patch:
|
||||
operation: MERGE
|
||||
value:
|
||||
request_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
response_headers_to_add:
|
||||
- append: false
|
||||
header:
|
||||
key: traceparent
|
||||
value: 00-%REQ(x-b3-traceid)%-%REQ(x-b3-spanid)%-01
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user