From 23121454f564013ec4ed10b68b3b0f1e6c1212c6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 04:12:38 +0000 Subject: [PATCH 1/3] Squashed 'charts/backstage/vendor/backstage/' changes from b45464c..2853164 2853164 chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 (#327) git-subtree-dir: charts/backstage/vendor/backstage git-subtree-split: 2853164e6fa4b7eb87b0bea6ee507545e909e48c --- .../backstage/.codespellrc => .codespellrc | 0 .github/CODEOWNERS | 20 +- .github/actions/test-charts/action.yml | 184 - .../.github => .github}/dependabot.yml | 0 .github/pull_request_template.md | 26 +- .github/renovate.json | 10 - .../workflows/automate_stale.yml | 0 .github/workflows/bump-version.yaml | 133 - .github/workflows/lint.yaml | 35 +- .github/workflows/nightly.yaml | 49 - .github/workflows/pre-commit-comment.yaml | 60 +- .github/workflows/pre-commit.yaml | 21 +- .github/workflows/release.yaml | 41 - .../.github => .github}/workflows/release.yml | 0 .github/workflows/renovate-checks.yaml | 20 - .github/workflows/scripts-checks.yaml | 43 - .github/workflows/snyk.yaml | 53 - .../workflows/spellcheck.yaml | 0 .../workflows/sync-upstream-backstage.yaml | 139 - .github/workflows/test.yaml | 37 - .../.github => .github}/workflows/test.yml | 0 .github/workflows/toml-checks.yaml | 21 - .gitignore | 6 - .gitleaks.toml | 22 - .helmdocsignore | 2 - .helmignore | 2 + .pr_agent.toml | 28 - .pre-commit-config.yaml | 17 +- .pre-commit/jsonschema-dereference.py | 93 - .../jsonschema_dereference.py | 0 .rhdh/docs/installing-ci-charts.adoc | 21 - .rhdh/scripts/install.sh | 157 - .sonarcloud.properties | 1 - CONTRIBUTING.md | 63 +- LICENSE | 2 +- .../vendor/backstage/NOTICE => NOTICE | 0 OWNERS | 16 - README.md | 55 +- charts/backstage/.helmignore | 26 - charts/backstage/Chart.lock | 14 +- charts/backstage/Chart.yaml | 49 +- charts/backstage/README.md | 517 +- charts/backstage/README.md.gotmpl | 316 +- .../backstage => }/artifacthub-repo.yml | 0 .../backstage => }/ci/appConfig-values.yaml | 0 .../backstage => }/ci/autoscaling-values.yaml | 0 charts/backstage/ci/default-values.yaml | 8 - .../backstage => }/ci/extraDeploy-values.yaml | 0 .../ci/extraVolumes-values.yaml | 0 .../ci/image-digest-values.yaml | 0 .../ci/ingress-extraHosts-values.yaml | 0 .../backstage => }/ci/ingress-values.yaml | 0 .../ci/postgres-generated-creds-values.yaml | 0 .../ci/postgres-provided-creds-values.yaml | 0 .../backstage => }/ci/probes-values.yaml | 0 .../service-dualstack-ip-family-values.yaml | 0 .../backstage => }/ci/service-monitor.yaml | 0 .../ci/topologySpreadConstraints-values.yaml | 0 ...-custom-dynamic-pvc-claim-spec-values.yaml | 52 - ...with-custom-image-for-test-pod-values.yaml | 14 - ...ator-and-dynamic-plugins-npmrc-values.yaml | 23 - .../ci/with-orchestrator-values.yaml | 20 - .../ci/with-test-pod-disabled-values.yaml | 11 - charts/backstage/templates/_helpers.tpl | 102 +- .../templates/app-config-configmap.yaml | 0 .../templates/backstage-deployment.yaml | 0 .../templates/dynamic-plugins-configmap.yaml | 22 - .../backstage => }/templates/extra-list.yaml | 0 .../charts/backstage => }/templates/hpa.yaml | 0 .../backstage => }/templates/ingress.yaml | 0 .../backstage/templates/network-policies.yaml | 81 - .../templates/networkpolicy-egress.yaml | 0 .../templates/networkpolicy.yaml | 0 .../charts/backstage => }/templates/pdb.yaml | 0 charts/backstage/templates/route.yaml | 59 - charts/backstage/templates/secrets.yaml | 19 - .../backstage => }/templates/service.yaml | 0 .../templates/serviceaccount.yaml | 0 .../templates/servicemonitor.yaml | 0 charts/backstage/templates/sonataflows.yaml | 196 - .../templates/tests/test-connection.yaml | 40 - .../templates/tests/test-secret.yaml | 16 - charts/backstage/values.schema.json | 12154 ++++++++-------- charts/backstage/values.schema.tmpl.json | 1234 +- charts/backstage/values.yaml | 894 +- .../vendor/backstage/.github/CODEOWNERS | 1 - .../.github/pull_request_template.md | 28 - .../backstage/.github/workflows/lint.yaml | 44 - .../.github/workflows/pre-commit-comment.yaml | 101 - .../.github/workflows/pre-commit.yaml | 36 - charts/backstage/vendor/backstage/.gitignore | 14 - charts/backstage/vendor/backstage/.helmignore | 25 - .../vendor/backstage/.pre-commit-config.yaml | 25 - .../vendor/backstage/CONTRIBUTING.md | 8 - charts/backstage/vendor/backstage/LICENSE | 201 - charts/backstage/vendor/backstage/README.md | 55 - .../vendor/backstage/charts/_templates.gotmpl | 7 - .../backstage/charts/backstage/Chart.lock | 9 - .../backstage/charts/backstage/Chart.yaml | 41 - .../backstage/charts/backstage/README.md | 353 - .../charts/backstage/README.md.gotmpl | 226 - .../charts/backstage/chart_schema.yaml | 37 - .../charts/backstage/charts/common-2.10.0.tgz | Bin 13187 -> 0 bytes .../backstage/charts/postgresql-12.10.0.tgz | Bin 61605 -> 0 bytes .../charts/backstage/ci/default-values.yaml | 0 .../charts/backstage/templates/_helpers.tpl | 74 - .../charts/backstage/values.schema.json | 7310 ---------- .../charts/backstage/values.schema.tmpl.json | 988 -- .../backstage/charts/backstage/values.yaml | 504 - charts/backstage/vendor/backstage/cr.yaml | 2 - .../vendor/backstage/ct-install.yaml | 5 - charts/backstage/vendor/backstage/ct.yaml | 5 - charts/must-gather/.helmignore | 23 - charts/must-gather/Chart.yaml | 38 - charts/must-gather/README.md | 159 - charts/must-gather/README.md.gotmpl | 93 - charts/must-gather/ci/default-values.yaml | 1 - .../ci/with-minimal-collection-values.yaml | 8 - .../ci/with-namespace-rbac-values.yaml | 9 - .../ci/with-namespace-scoped-values.yaml | 6 - .../with-secrets-and-cluster-info-values.yaml | 10 - .../ci/with-test-disabled-values.yaml | 3 - charts/must-gather/templates/NOTES.txt | 32 - charts/must-gather/templates/_helpers.tpl | 84 - charts/must-gather/templates/clusterrbac.yaml | 96 - charts/must-gather/templates/deployment.yaml | 215 - charts/must-gather/templates/rbac.yaml | 84 - .../must-gather/templates/serviceaccount.yaml | 11 - charts/must-gather/templates/tests/test.yaml | 154 - charts/must-gather/values.schema.json | 1723 --- charts/must-gather/values.schema.tmpl.json | 569 - charts/must-gather/values.yaml | 189 - charts/orchestrator-infra/Chart.yaml | 17 - charts/orchestrator-infra/README.md | 120 - charts/orchestrator-infra/README.md.gotmpl | 95 - charts/orchestrator-infra/chart_schema.yaml | 37 - .../ci/upstream-olm-values.yaml | 12 - .../knative-eventing-crd.yaml | 2286 --- .../knative-serving/knative-serving-crd.yaml | 2389 --- charts/orchestrator-infra/templates/NOTES.txt | 46 - .../orchestrator-infra/templates/_helpers.tpl | 37 - .../templates/serverless-logic/namespace.yaml | 8 - .../serverless-logic/operator-group.yaml | 8 - .../serverless-logic/subscription.yaml | 10 - .../templates/serverless/knatives.yaml | 55 - .../templates/serverless/namespace.yaml | 9 - .../templates/serverless/operator-group.yaml | 8 - .../templates/serverless/subscription.yaml | 10 - .../templates/tests/infra-test.yaml | 115 - charts/orchestrator-infra/values.schema.json | 134 - .../values.schema.tmpl.json | 135 - charts/orchestrator-infra/values.yaml | 41 - .../.helmignore | 23 - .../Chart.yaml | 16 - .../README.md | 147 - .../README.md.gotmpl | 77 - .../ci/upstream-values.yaml | 26 - .../docs/GitopsOperator.md | 52 - .../templates/NOTES.txt | 50 - .../templates/_helpers.tpl | 37 - .../templates/catalogsource.yaml | 24 - ...cd-application-controller-clusterrole.yaml | 19 - ...ication-controller-clusterrolebinding.yaml | 25 - .../templates/openshift-gitops/argocd-cr.yaml | 22 - .../argocd-credential-template.yaml | 23 - .../openshift-gitops/argocd-initial-apps.yaml | 28 - .../argocd-initial-repositories.yaml | 20 - .../argocd-server-clusterrole.yaml | 18 - .../argocd-server-clusterrolebinding.yaml | 25 - .../openshift-gitops/crd-reader.yaml | 35 - .../templates/openshift-gitops/namespace.yaml | 22 - .../openshift-gitops/post-cleanup.yaml | 138 - .../templates/openshift-gitops/secrets.yaml | 30 - .../openshift-gitops/subscription.yaml | 21 - .../openshift-gitops/wait-for-crd.yaml | 89 - .../openshift-pipelines/post-cleanup.yaml | 108 - .../openshift-pipelines/subscription.yaml | 18 - .../templates/tests/infra-test.yaml | 91 - .../values.yaml | 163 - .../.helmignore | 23 - .../Chart.yaml | 17 - .../orchestrator-software-templates/README.md | 157 - .../README.md.gotmpl | 130 - .../ci/upstream-values.yaml | 15 - ...rchestrator-templates-values.yaml.template | 211 - .../templates/NOTES.txt | 69 - .../templates/_helpers.tpl | 153 - .../templates/argocd/argocd-project.yaml | 14 - .../templates/rbac.yaml | 69 - .../software-templates/orchestrator-auth.yaml | 54 - .../orchestrator-catalog.yaml | 40 - .../templates/tekton/tekton-pipeline.yaml | 175 - .../templates/tekton/tekton-tasks.yaml | 243 - .../values.yaml | 50 - cr.yaml | 1 + ct-install.yaml | 7 +- ct-lint.yaml | 5 - ct.yaml | 6 +- docs/catalog-index-configuration.md | 29 - docs/external-db.md | 118 - docs/images/openshift-metrics.png | Bin 217899 -> 0 bytes docs/monitoring.md | 175 - hack/merge_secrets.sh | 52 - hack/orchestrator-templates-setup.sh | 389 - 204 files changed, 7719 insertions(+), 32252 deletions(-) rename charts/backstage/vendor/backstage/.codespellrc => .codespellrc (100%) delete mode 100644 .github/actions/test-charts/action.yml rename {charts/backstage/vendor/backstage/.github => .github}/dependabot.yml (100%) delete mode 100644 .github/renovate.json rename {charts/backstage/vendor/backstage/.github => .github}/workflows/automate_stale.yml (100%) delete mode 100755 .github/workflows/bump-version.yaml delete mode 100644 .github/workflows/nightly.yaml delete mode 100644 .github/workflows/release.yaml rename {charts/backstage/vendor/backstage/.github => .github}/workflows/release.yml (100%) delete mode 100644 .github/workflows/renovate-checks.yaml delete mode 100644 .github/workflows/scripts-checks.yaml delete mode 100644 .github/workflows/snyk.yaml rename {charts/backstage/vendor/backstage/.github => .github}/workflows/spellcheck.yaml (100%) delete mode 100644 .github/workflows/sync-upstream-backstage.yaml delete mode 100644 .github/workflows/test.yaml rename {charts/backstage/vendor/backstage/.github => .github}/workflows/test.yml (100%) delete mode 100644 .github/workflows/toml-checks.yaml delete mode 100644 .gitleaks.toml delete mode 100644 .helmdocsignore delete mode 100644 .pr_agent.toml delete mode 100644 .pre-commit/jsonschema-dereference.py rename {charts/backstage/vendor/backstage/.pre-commit => .pre-commit}/jsonschema_dereference.py (100%) delete mode 100644 .rhdh/docs/installing-ci-charts.adoc delete mode 100755 .rhdh/scripts/install.sh delete mode 100644 .sonarcloud.properties rename charts/backstage/vendor/backstage/NOTICE => NOTICE (100%) delete mode 100644 OWNERS delete mode 100644 charts/backstage/.helmignore rename charts/backstage/{vendor/backstage/charts/backstage => }/artifacthub-repo.yml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/appConfig-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/autoscaling-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/extraDeploy-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/extraVolumes-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/image-digest-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/ingress-extraHosts-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/ingress-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/postgres-generated-creds-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/postgres-provided-creds-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/probes-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/service-dualstack-ip-family-values.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/service-monitor.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/ci/topologySpreadConstraints-values.yaml (100%) delete mode 100644 charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml delete mode 100644 charts/backstage/ci/with-custom-image-for-test-pod-values.yaml delete mode 100644 charts/backstage/ci/with-orchestrator-and-dynamic-plugins-npmrc-values.yaml delete mode 100644 charts/backstage/ci/with-orchestrator-values.yaml delete mode 100644 charts/backstage/ci/with-test-pod-disabled-values.yaml rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/app-config-configmap.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/backstage-deployment.yaml (100%) delete mode 100644 charts/backstage/templates/dynamic-plugins-configmap.yaml rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/extra-list.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/hpa.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/ingress.yaml (100%) delete mode 100644 charts/backstage/templates/network-policies.yaml rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/networkpolicy-egress.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/networkpolicy.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/pdb.yaml (100%) delete mode 100644 charts/backstage/templates/route.yaml delete mode 100644 charts/backstage/templates/secrets.yaml rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/service.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/serviceaccount.yaml (100%) rename charts/backstage/{vendor/backstage/charts/backstage => }/templates/servicemonitor.yaml (100%) delete mode 100644 charts/backstage/templates/sonataflows.yaml delete mode 100644 charts/backstage/templates/tests/test-connection.yaml delete mode 100644 charts/backstage/templates/tests/test-secret.yaml delete mode 100644 charts/backstage/vendor/backstage/.github/CODEOWNERS delete mode 100644 charts/backstage/vendor/backstage/.github/pull_request_template.md delete mode 100644 charts/backstage/vendor/backstage/.github/workflows/lint.yaml delete mode 100644 charts/backstage/vendor/backstage/.github/workflows/pre-commit-comment.yaml delete mode 100644 charts/backstage/vendor/backstage/.github/workflows/pre-commit.yaml delete mode 100644 charts/backstage/vendor/backstage/.gitignore delete mode 100644 charts/backstage/vendor/backstage/.helmignore delete mode 100644 charts/backstage/vendor/backstage/.pre-commit-config.yaml delete mode 100644 charts/backstage/vendor/backstage/CONTRIBUTING.md delete mode 100644 charts/backstage/vendor/backstage/LICENSE delete mode 100644 charts/backstage/vendor/backstage/README.md delete mode 100644 charts/backstage/vendor/backstage/charts/_templates.gotmpl delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/Chart.lock delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/Chart.yaml delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/README.md delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/README.md.gotmpl delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/chart_schema.yaml delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/charts/common-2.10.0.tgz delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/charts/postgresql-12.10.0.tgz delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/ci/default-values.yaml delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/templates/_helpers.tpl delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/values.schema.json delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/values.schema.tmpl.json delete mode 100644 charts/backstage/vendor/backstage/charts/backstage/values.yaml delete mode 100644 charts/backstage/vendor/backstage/cr.yaml delete mode 100644 charts/backstage/vendor/backstage/ct-install.yaml delete mode 100644 charts/backstage/vendor/backstage/ct.yaml delete mode 100644 charts/must-gather/.helmignore delete mode 100644 charts/must-gather/Chart.yaml delete mode 100644 charts/must-gather/README.md delete mode 100644 charts/must-gather/README.md.gotmpl delete mode 100644 charts/must-gather/ci/default-values.yaml delete mode 100644 charts/must-gather/ci/with-minimal-collection-values.yaml delete mode 100644 charts/must-gather/ci/with-namespace-rbac-values.yaml delete mode 100644 charts/must-gather/ci/with-namespace-scoped-values.yaml delete mode 100644 charts/must-gather/ci/with-secrets-and-cluster-info-values.yaml delete mode 100644 charts/must-gather/ci/with-test-disabled-values.yaml delete mode 100644 charts/must-gather/templates/NOTES.txt delete mode 100644 charts/must-gather/templates/_helpers.tpl delete mode 100644 charts/must-gather/templates/clusterrbac.yaml delete mode 100644 charts/must-gather/templates/deployment.yaml delete mode 100644 charts/must-gather/templates/rbac.yaml delete mode 100644 charts/must-gather/templates/serviceaccount.yaml delete mode 100644 charts/must-gather/templates/tests/test.yaml delete mode 100644 charts/must-gather/values.schema.json delete mode 100644 charts/must-gather/values.schema.tmpl.json delete mode 100644 charts/must-gather/values.yaml delete mode 100644 charts/orchestrator-infra/Chart.yaml delete mode 100644 charts/orchestrator-infra/README.md delete mode 100644 charts/orchestrator-infra/README.md.gotmpl delete mode 100644 charts/orchestrator-infra/chart_schema.yaml delete mode 100644 charts/orchestrator-infra/ci/upstream-olm-values.yaml delete mode 100644 charts/orchestrator-infra/crds/knative-eventing/knative-eventing-crd.yaml delete mode 100644 charts/orchestrator-infra/crds/knative-serving/knative-serving-crd.yaml delete mode 100644 charts/orchestrator-infra/templates/NOTES.txt delete mode 100644 charts/orchestrator-infra/templates/_helpers.tpl delete mode 100644 charts/orchestrator-infra/templates/serverless-logic/namespace.yaml delete mode 100644 charts/orchestrator-infra/templates/serverless-logic/operator-group.yaml delete mode 100644 charts/orchestrator-infra/templates/serverless-logic/subscription.yaml delete mode 100644 charts/orchestrator-infra/templates/serverless/knatives.yaml delete mode 100644 charts/orchestrator-infra/templates/serverless/namespace.yaml delete mode 100644 charts/orchestrator-infra/templates/serverless/operator-group.yaml delete mode 100644 charts/orchestrator-infra/templates/serverless/subscription.yaml delete mode 100644 charts/orchestrator-infra/templates/tests/infra-test.yaml delete mode 100644 charts/orchestrator-infra/values.schema.json delete mode 100644 charts/orchestrator-infra/values.schema.tmpl.json delete mode 100644 charts/orchestrator-infra/values.yaml delete mode 100644 charts/orchestrator-software-templates-infra/.helmignore delete mode 100644 charts/orchestrator-software-templates-infra/Chart.yaml delete mode 100644 charts/orchestrator-software-templates-infra/README.md delete mode 100644 charts/orchestrator-software-templates-infra/README.md.gotmpl delete mode 100644 charts/orchestrator-software-templates-infra/ci/upstream-values.yaml delete mode 100644 charts/orchestrator-software-templates-infra/docs/GitopsOperator.md delete mode 100644 charts/orchestrator-software-templates-infra/templates/NOTES.txt delete mode 100644 charts/orchestrator-software-templates-infra/templates/_helpers.tpl delete mode 100644 charts/orchestrator-software-templates-infra/templates/catalogsource.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-application-controller-clusterrole.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-application-controller-clusterrolebinding.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-cr.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-credential-template.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-initial-apps.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-initial-repositories.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-server-clusterrole.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-server-clusterrolebinding.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/crd-reader.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/namespace.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/post-cleanup.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/secrets.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/subscription.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-gitops/wait-for-crd.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-pipelines/post-cleanup.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/openshift-pipelines/subscription.yaml delete mode 100644 charts/orchestrator-software-templates-infra/templates/tests/infra-test.yaml delete mode 100644 charts/orchestrator-software-templates-infra/values.yaml delete mode 100644 charts/orchestrator-software-templates/.helmignore delete mode 100644 charts/orchestrator-software-templates/Chart.yaml delete mode 100644 charts/orchestrator-software-templates/README.md delete mode 100644 charts/orchestrator-software-templates/README.md.gotmpl delete mode 100644 charts/orchestrator-software-templates/ci/upstream-values.yaml delete mode 100644 charts/orchestrator-software-templates/orchestrator-templates-values.yaml.template delete mode 100644 charts/orchestrator-software-templates/templates/NOTES.txt delete mode 100644 charts/orchestrator-software-templates/templates/_helpers.tpl delete mode 100644 charts/orchestrator-software-templates/templates/argocd/argocd-project.yaml delete mode 100644 charts/orchestrator-software-templates/templates/rbac.yaml delete mode 100644 charts/orchestrator-software-templates/templates/software-templates/orchestrator-auth.yaml delete mode 100644 charts/orchestrator-software-templates/templates/software-templates/orchestrator-catalog.yaml delete mode 100644 charts/orchestrator-software-templates/templates/tekton/tekton-pipeline.yaml delete mode 100644 charts/orchestrator-software-templates/templates/tekton/tekton-tasks.yaml delete mode 100644 charts/orchestrator-software-templates/values.yaml delete mode 100644 ct-lint.yaml delete mode 100644 docs/catalog-index-configuration.md delete mode 100644 docs/external-db.md delete mode 100644 docs/images/openshift-metrics.png delete mode 100644 docs/monitoring.md delete mode 100755 hack/merge_secrets.sh delete mode 100755 hack/orchestrator-templates-setup.sh diff --git a/charts/backstage/vendor/backstage/.codespellrc b/.codespellrc similarity index 100% rename from charts/backstage/vendor/backstage/.codespellrc rename to .codespellrc diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 65a78d4b..183f96fa 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,19 +1 @@ -# Lines starting with '#' are comments. -# Each line is a file pattern followed by one or more owners. - -# More details are here: https://help.github.com/articles/about-codeowners/ - -# The '*' pattern is global owners. - -# Order is important. The last matching pattern has the most precedence. -# The folders are ordered as follows: - -# In each subsection folders are ordered first by depth, then alphabetically. -# This should make it easy to add new rules without breaking existing ones. - -# Global rule: -* @redhat-developer/rhdh-helm - -# Documentation: -*.md.gotmpl @redhat-developer/RHDH-content -/README.md @redhat-developer/RHDH-content +* @backstage/helm-charts diff --git a/.github/actions/test-charts/action.yml b/.github/actions/test-charts/action.yml deleted file mode 100644 index 0ebc6269..00000000 --- a/.github/actions/test-charts/action.yml +++ /dev/null @@ -1,184 +0,0 @@ -name: 'Test Charts' -description: 'Set up environment and run chart testing' - -inputs: - target_branch: - description: 'Target branch for chart-testing' - required: true - extra_helm_args: - description: 'Extra Helm arguments to pass to ct install' - required: false - default: '' - all_charts: - description: 'Install all charts instead of only changed ones' - required: false - default: 'false' - -runs: - using: 'composite' - steps: - - name: Set up Helm - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # renovate: tag=v3.5 - with: - version: v3.10.0 - - - name: Set up Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 - with: - python-version: 3.14 - - - name: Set up chart-testing - uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0 - with: - version: '3.14.0' - yamllint_version: '1.37.1' - yamale_version: '6.0.0' - - - name: Run chart-testing (list-changed) - id: list-changed - shell: bash - env: - INPUT_TARGET_BRANCH: ${{ inputs.target_branch }} - INPUT_ALL_CHARTS: ${{ inputs.all_charts }} - run: | - if [[ "$INPUT_ALL_CHARTS" == "true" ]]; then - echo "changed=true" >> "$GITHUB_OUTPUT" - echo "backstageChartChanged=true" >> "$GITHUB_OUTPUT" - else - listChanged=$(ct list-changed --target-branch "$INPUT_TARGET_BRANCH") - if [[ -n "$listChanged" ]]; then - echo "changed=true" >> "$GITHUB_OUTPUT" - if grep 'charts/backstage' <<< "$listChanged"; then - echo "backstageChartChanged=true" >> "$GITHUB_OUTPUT" - fi - fi - fi - - - name: Remove unnecessary files to free up disk space - if: steps.list-changed.outputs.changed == 'true' - uses: endersonmenezes/free-disk-space@7901478139cff6e9d44df5972fd8ab8fcade4db1 # v3 - with: - remove_android: true - remove_dotnet: true - remove_haskell: true - rm_cmd: "rmz" - - - name: Add Helm Repositories - if: steps.list-changed.outputs.changed == 'true' - shell: bash - run: | - helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx - helm repo add bitnami https://charts.bitnami.com/bitnami - helm repo update - - - name: Generate KinD Config - if: steps.list-changed.outputs.changed == 'true' - shell: bash - run: | - cat < /tmp/kind-config.yaml - apiVersion: kind.x-k8s.io/v1alpha4 - kind: Cluster - nodes: - - role: control-plane - extraPortMappings: - - containerPort: 80 - hostPort: 80 - protocol: TCP - - containerPort: 443 - hostPort: 443 - protocol: TCP - EOF - - - name: Create KIND Cluster - if: steps.list-changed.outputs.changed == 'true' - uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0 - with: - config: /tmp/kind-config.yaml - - - name: Create custom storage class - if: steps.list-changed.outputs.changed == 'true' - shell: bash - run: | - export defaultScProvisioner=$(kubectl get storageclass -o jsonpath='{.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].provisioner}') - if [[ -z "$defaultScProvisioner" ]]; then - echo "No default storage class found or it has no provisioner. Exiting early because the test using the custom Storage Class will likely fail. Use a cluster that has a default storage class." - exit 1 - fi - echo "[INFO] defaultScProvisioner=$defaultScProvisioner" - - cat < + --> ## Description of the change -## Which issue(s) does this PR fix or relate to +## Existing or Associated Issue(s) -- _JIRA_issue_link_ +## Additional Information -## How to test changes / Special notes to the reviewer - - + ## Checklist -- [ ] For each Chart updated, version bumped in the corresponding `Chart.yaml` according to [Semantic Versioning](http://semver.org/). -- [ ] For each Chart updated, variables are documented in the `values.yaml` and added to the corresponding README.md. The [pre-commit](https://pre-commit.com/) utility can be used to generate the necessary content. Run `pre-commit run --all-files` to run the hooks and then push any resulting changes. The [pre-commit Workflow](./workflows/pre-commit.yaml) will enforce this and warn you if needed. -- [ ] JSON Schema template updated and re-generated the raw schema via the `pre-commit` hook. -- [ ] Tests pass using the [Chart Testing](https://github.com/helm/chart-testing) tool and the `ct lint` command. -- [ ] If you updated the [orchestrator-infra](../charts/orchestrator-infra) chart, make sure the versions of the [Knative CRDs](../charts/orchestrator-infra/crds) are aligned with the versions of the CRDs installed by the OpenShift Serverless operators declared in the [values.yaml](../charts/orchestrator-infra/values.yaml) file. See [Installing Knative Eventing and Knative Serving CRDs](../charts/orchestrator-infra/README.md#installing-knative-eventing-and-knative-serving-crds) for more details. +- [ ] Chart version bumped in `Chart.yaml` according to [semver](http://semver.org/). +- [ ] Variables are documented in the `values.yaml` and added to the README.md. The [helm-docs](https://github.com/norwoodj/helm-docs) utility can be used to generate the necessary content. Use `helm-docs --dry-run` to preview the content. +- [ ] JSON Schema generated. +- [ ] List tests pass for Chart using the [Chart Testing](https://github.com/helm/chart-testing) tool and the `ct lint` command. diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index e2e38f8b..00000000 --- a/.github/renovate.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended", - "helpers:pinGitHubActionDigests" - ], - "ignorePaths": [ - "charts/**/vendor/**" - ] -} diff --git a/charts/backstage/vendor/backstage/.github/workflows/automate_stale.yml b/.github/workflows/automate_stale.yml similarity index 100% rename from charts/backstage/vendor/backstage/.github/workflows/automate_stale.yml rename to .github/workflows/automate_stale.yml diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml deleted file mode 100755 index 0c11a064..00000000 --- a/.github/workflows/bump-version.yaml +++ /dev/null @@ -1,133 +0,0 @@ -name: Bump - -on: - issue_comment: - types: [created] - -jobs: - chart-version: - name: Chart Version - runs-on: ubuntu-latest - - permissions: - contents: write - id-token: write - issues: write - pull-requests: write - - steps: - - name: Check for command - id: command - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 - with: - script: | - const commentBody = context.payload.comment.body; - const commandPrefix = "/bump "; - let commandName = ""; - let chartName = ""; - let bumpLevel = ""; - - if (commentBody.startsWith(commandPrefix)) { - commandName = "bump"; - const args = commentBody.slice(commandPrefix.length).trim().split(" "); - - if (args.length > 0 && args[0]) { - chartName = args[0]; - bumpLevel = args[1] || "patch"; - - console.log(`Chart Name: ${chartName}, Bump Level: ${bumpLevel}`); - console.log(`Args array: ${JSON.stringify(args)}`); - - const fs = require('fs'); - fs.appendFileSync(process.env.GITHUB_OUTPUT, `chart-name=${chartName}\n`); - fs.appendFileSync(process.env.GITHUB_OUTPUT, `bump-level=${bumpLevel}\n`); - fs.appendFileSync(process.env.GITHUB_OUTPUT, `command-name=${commandName}\n`); - - } else { - commandName = ""; - core.warning("No chart name provided. Format: /bump [level]"); - } - } - - - name: Add eyes reaction - if: steps.command.outputs.command-name == 'bump' - uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - repository: ${{ github.repository }} - comment-id: ${{ github.event.comment.id }} - reactions: eyes - - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 - if: steps.command.outputs.command-name == 'bump' - with: - python-version: 3.14 - - - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 - if: steps.command.outputs.command-name == 'bump' - with: - go-version: ^1 - - - name: Setup helm-docs - if: steps.command.outputs.command-name == 'bump' - run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest - - - name: Generate token - if: steps.command.outputs.command-name == 'bump' - id: generate_token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 - with: - app_id: ${{ vars.RHDH_GITHUB_APP_ID }} - private_key: ${{ secrets.RHDH_GITHUB_APP_PRIVATE_KEY }} - - - name: Checkout Repository - if: steps.command.outputs.command-name == 'bump' - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - token: ${{ steps.generate_token.outputs.token }} - - - name: Checkout Pull Request - if: steps.command.outputs.command-name == 'bump' - run: gh pr checkout ${{ github.event.issue.number }} - env: - GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} - - - name: Get version - if: steps.command.outputs.command-name == 'bump' - id: get_version - uses: mikefarah/yq@0f4fb8d35ec1a939d78dd6862f494d19ec589f19 # v4.52.5 - with: - cmd: yq ".version" charts/${{ steps.command.outputs.chart-name }}/Chart.yaml - - - uses: actions-ecosystem/action-bump-semver@34e334551143a5301f38c830e44a22273c6ff5c5 # v1 - if: steps.command.outputs.command-name == 'bump' - id: semver - with: - current_version: ${{ steps.get_version.outputs.result }} - level: ${{ steps.command.outputs.bump-level }} - - - name: Bump the version - if: steps.command.outputs.command-name == 'bump' - uses: mikefarah/yq@0f4fb8d35ec1a939d78dd6862f494d19ec589f19 # v4.52.5 - with: - cmd: yq -i '.version = "${{ steps.semver.outputs.new_version }}"' charts/${{ steps.command.outputs.chart-name }}/Chart.yaml - - - name: Run pre-commit - if: steps.command.outputs.command-name == 'bump' - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 - continue-on-error: true - - - name: Setup Gitsign - if: steps.command.outputs.command-name == 'bump' - uses: chainguard-dev/actions/setup-gitsign@061bc0e921116bde1470f51fb5c86d5318f16558 # main - - - name: Commit pre-commit changes - if: steps.command.outputs.command-name == 'bump' - uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7 - with: - commit_message: Bump ${{ steps.command.outputs.chart-name }} version to ${{ steps.semver.outputs.new_version }} - commit_options: "-s" - commit_user_name: RHDH Bot - commit_user_email: 146280956+rhdh-bot@users.noreply.github.com - commit_author: RHDH Bot <146280956+rhdh-bot@users.noreply.github.com > diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 24638246..b6bb58a2 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -2,45 +2,28 @@ name: Lint Charts on: pull_request: - branches: - - main - - rhdh-1.[0-9]+ - - 1.[0-9]+.x - - release-1.[0-9]+ concurrency: group: ${{ github.workflow }}-${{ github.event.number }} cancel-in-progress: true jobs: - - lint-chart: - name: Lint Metadata + lint: runs-on: ubuntu-latest env: GO111MODULE: on - steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 0 - - name: Set up Helm - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # renovate: tag=v3.5 - with: - version: v3.10.0 - - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v4 with: - python-version: 3.14 + python-version: 3.12 - name: Set up chart-testing - uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0 - with: - version: '3.14.0' - yamllint_version: '1.37.1' - yamale_version: '6.0.0' + uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # pin@v2.3.0 - name: Run chart-testing (list-changed) id: list-changed @@ -50,16 +33,12 @@ jobs: echo "changed=true" >> "$GITHUB_OUTPUT" fi - - name: Add Helm Repositories + - name: "Add NGINX Ingress and Bitnami Repository" if: steps.list-changed.outputs.changed == 'true' run: | - helm repo add bitnami https://charts.bitnami.com/bitnami + helm repo add ingress-nginx "https://kubernetes.github.io/ingress-nginx" helm repo update - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' - run: | - ct lint \ - --debug \ - --config ct-lint.yaml \ - --target-branch "${{ github.event.pull_request.base.ref }}" + run: ct lint --config ct.yaml --target-branch "${{ github.event.pull_request.base.ref }}" diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml deleted file mode 100644 index b1c7e2db..00000000 --- a/.github/workflows/nightly.yaml +++ /dev/null @@ -1,49 +0,0 @@ -name: Nightly Test Charts - -on: - schedule: - - cron: '38 21 * * *' - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }} - cancel-in-progress: true - -jobs: - - test-chart: - name: Nightly Test (${{ matrix.branch }}) - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - branch: - - main - - release-1.9 - - release-1.8 - - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - ref: ${{ matrix.branch }} - fetch-depth: 0 - - - name: Compute image tag - id: image - run: | - if [[ "${{ matrix.branch }}" == "main" ]]; then - echo "tag=next" >> "$GITHUB_OUTPUT" - else - # release-x.y -> next-x.y - echo "tag=next-${BRANCH#release-}" >> "$GITHUB_OUTPUT" - fi - env: - BRANCH: ${{ matrix.branch }} - - - name: Test charts - uses: ./.github/actions/test-charts - with: - target_branch: ${{ matrix.branch }} - all_charts: 'true' - extra_helm_args: '--set upstream.backstage.image.repository=rhdh-community/rhdh --set upstream.backstage.image.tag=${{ steps.image.outputs.tag }} --set upstream.backstage.image.pullPolicy=Always' diff --git a/.github/workflows/pre-commit-comment.yaml b/.github/workflows/pre-commit-comment.yaml index e9904edb..958502e2 100644 --- a/.github/workflows/pre-commit-comment.yaml +++ b/.github/workflows/pre-commit-comment.yaml @@ -1,4 +1,4 @@ -name: Pre-commit comment +name: Pre-commit Comment on: workflow_run: @@ -13,27 +13,31 @@ jobs: if: github.event.workflow_run.event == 'pull_request' permissions: pull-requests: write - steps: - - - name: Get the PR number from the workflow run + - name: Get PR number from workflow run id: pr-number - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | - const prs = context.payload.workflow_run.pull_requests; - if (prs.length > 0) { - const num = prs[0].number; - if (Number.isInteger(num)) { - core.setOutput('number', num); - } else { - core.setFailed(`Invalid PR number detected: ${num}`); - } - } + // Get PR number from the workflow run event + const headRepo = context.payload.workflow_run.head_repository.owner.login; + const headBranch = context.payload.workflow_run.head_branch; + console.log(`Looking for PR with head: ${headRepo}:${headBranch}`); + + const { data: pullRequests } = await github.rest.pulls.list({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open', + head: `${headRepo}:${headBranch}`, + }); + + if (pullRequests.length > 0) { + core.setOutput('number', pullRequests[0].number); + } - name: Delete previous pre-commit failure comments if: steps.pr-number.outputs.number - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.pr-number.outputs.number }} with: @@ -52,38 +56,33 @@ jobs: const botComments = comments.filter(comment => { return comment.user.login === 'github-actions[bot]' && comment.body && - comment.body.includes('⚠️ Pre-commit hook failures'); + comment.body.includes('⚠️ Pre-commit Hook Failures'); }); for (const comment of botComments) { - try { - await github.rest.issues.deleteComment({ - owner: context.repo.owner, - repo: context.repo.repo, - comment_id: comment.id, - }); - } catch (error) { - console.warn(`Failed to delete comment ${comment.id}:`, error.message); - } + await github.rest.issues.deleteComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: comment.id, + }); } - name: Post comment if: steps.pr-number.outputs.number && github.event.workflow_run.conclusion == 'failure' - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.pr-number.outputs.number }} with: script: | const prNumber = parseInt(process.env.PR_NUMBER, 10); - const body = ` - ## ⚠️ Pre-commit hook failures + const body = `## ⚠️ Pre-commit Hook Failures The pre-commit hooks detected issues that need to be fixed. **To fix these issues:** - 1. Install the required dependencies: + 1. Install required dependencies: - [pre-commit](https://pre-commit.com/#install) - [helm-docs](https://github.com/norwoodj/helm-docs#installation) @@ -92,8 +91,7 @@ jobs: pre-commit run --all-files \`\`\` - 3. Commit and push any resulting changes - `.trim().replace(/^ {12}/gm, ''); + 3. Commit and push the changes`; await github.rest.issues.createComment({ issue_number: prNumber, diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 339648fc..b8144247 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -2,18 +2,11 @@ name: Pre-commit on: pull_request: - branches: - - main - - release-1.[0-9]+ concurrency: group: ${{ github.workflow }}-${{ github.event.number }} cancel-in-progress: true -# Revoke all permissions by default, then grant only what is needed -permissions: - contents: read - jobs: pre-commit: name: Pre-commit @@ -25,25 +18,19 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 0 - persist-credentials: false # Avoid token leakage to hooks - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v4 with: - python-version: 3.14 + python-version: 3.12 - - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 + - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # pin@v3 with: go-version: ^1 - - name: Set up Helm - uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0 - with: - version: v3.17.0 - - name: Setup helm-docs run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest - name: Run pre-commit - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 + uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # pin@v3.0.1 with: extra_args: --verbose --all-files --show-diff-on-failure diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 42665243..00000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Release Charts - -on: - push: - branches: - - main - - release-1.[0-9]+ - paths: - - "charts/**" - -jobs: - release: - runs-on: ubuntu-latest - - permissions: - contents: write - packages: write - id-token: write - - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - - - name: Configure Git - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor }}@users.noreply.github.com" - - - name: Add dependencies - run: | - helm repo add bitnami https://charts.bitnami.com/bitnami - - - name: Run chart-releaser - uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0 - with: - config: cr.yaml - mark_as_latest: ${{ github.ref == 'refs/heads/main' }} - env: - CR_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/charts/backstage/vendor/backstage/.github/workflows/release.yml b/.github/workflows/release.yml similarity index 100% rename from charts/backstage/vendor/backstage/.github/workflows/release.yml rename to .github/workflows/release.yml diff --git a/.github/workflows/renovate-checks.yaml b/.github/workflows/renovate-checks.yaml deleted file mode 100644 index 7a166e40..00000000 --- a/.github/workflows/renovate-checks.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: PR Renovate Config Validator - -on: - pull_request: - paths: - - '.github/renovate.json' - # Renovate always uses the config from the repository default branch - # https://docs.renovatebot.com/configuration-options/ - branches: [ 'main' ] - -jobs: - renovate-config-validator: - runs-on: ubuntu-latest - name: Renovate Config Validator - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - name: Validate config - # See https://docs.renovatebot.com/config-validation/ - run: | - npx --yes --package renovate -- renovate-config-validator --strict .github/renovate.json diff --git a/.github/workflows/scripts-checks.yaml b/.github/workflows/scripts-checks.yaml deleted file mode 100644 index 86a22541..00000000 --- a/.github/workflows/scripts-checks.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: Differential ShellCheck - -on: - push: - paths: - - '**.sh' - - '.github/workflows/scripts-checks.yaml' - branches: [ main ] - pull_request: - paths: - - '**.sh' - - '.github/workflows/scripts-checks.yaml' - branches: [ 'main' ] - -permissions: - contents: read - -jobs: - shellcheck-lint: - runs-on: ubuntu-latest - - permissions: - security-events: write - - steps: - - name: Repository checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - # Differential ShellCheck requires full git history - fetch-depth: 0 - - - id: ShellCheck - name: Differential ShellCheck - uses: redhat-plumbers-in-action/differential-shellcheck@d965e66ec0b3b2f821f75c8eff9b12442d9a7d1e # v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - if: always() - name: Upload artifact with ShellCheck defects in SARIF format - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 - with: - name: Differential ShellCheck SARIF - path: ${{ steps.ShellCheck.outputs.sarif }} \ No newline at end of file diff --git a/.github/workflows/snyk.yaml b/.github/workflows/snyk.yaml deleted file mode 100644 index ef282c6b..00000000 --- a/.github/workflows/snyk.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: SNYK - -on: - workflow_dispatch: # allow manual runs from UI - schedule: - - cron: "0 0 * * 0" # weekly scan (every Sunday at 00:00 UTC) - -jobs: - scan-iac: - name: Scan Rendered Templates (${{ matrix.chartConfig.name }}) - runs-on: ubuntu-latest - - strategy: - matrix: - chartConfig: - - name: "backstage" - path: "backstage" - - name: "orchestrator-infra" - path: "orchestrator-infra" - - name: "backstage-orchestrator" - path: "backstage" - cliArgs: "--set orchestrator.enabled=true" - - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - - - name: Set up Helm - uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0 - with: - version: v3.17.0 - - - name: Render Templates for ${{ matrix.chartConfig.name }} - run: | - helm repo add bitnami https://charts.bitnami.com/bitnami - helm repo update - - helm dependency build ./charts/${{ matrix.chartConfig.path }} - helm template ./charts/${{ matrix.chartConfig.path }} \ - ${{ matrix.chartConfig.cliArgs || '' }} \ - --output-dir ./output/${{ matrix.chartConfig.name }} - - - name: Run Snyk IaC Scan for ${{ matrix.chartConfig.name }} - continue-on-error: true - uses: snyk/actions/iac@9adf32b1121593767fc3c057af55b55db032dc04 # v1.0.0 - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - SNYK_ORG_ID: ${{ secrets.SNYK_ORG_ID }} - with: - args: --report --org=$SNYK_ORG_ID --target-name="redhat-developer/rhdh-chart/${{ matrix.chartConfig.name }}" - file: ./output/${{ matrix.chartConfig.name }} diff --git a/charts/backstage/vendor/backstage/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml similarity index 100% rename from charts/backstage/vendor/backstage/.github/workflows/spellcheck.yaml rename to .github/workflows/spellcheck.yaml diff --git a/.github/workflows/sync-upstream-backstage.yaml b/.github/workflows/sync-upstream-backstage.yaml deleted file mode 100644 index 98bfe79f..00000000 --- a/.github/workflows/sync-upstream-backstage.yaml +++ /dev/null @@ -1,139 +0,0 @@ -name: Sync Upstream Backstage Chart - -on: - schedule: - - cron: '0 3 * * 1' - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }} - cancel-in-progress: true - -jobs: - sync-upstream: - name: Sync Upstream Backstage - runs-on: ubuntu-latest - - permissions: - contents: write - pull-requests: write - - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - - - name: Set up Helm - uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0 - with: - version: v3.17.0 - - - name: Set up yq - uses: mikefarah/yq@0f4fb8d35ec1a939d78dd6862f494d19ec589f19 # v4.52.5 - with: - cmd: yq --version - - - name: Configure Git - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - - - name: Sync upstream Backstage subtree - id: sync - run: | - BEFORE_SHA=$(git rev-parse HEAD) - - git remote add upstream-backstage https://github.com/backstage/charts.git - git fetch upstream-backstage main - git subtree pull --prefix charts/backstage/vendor/backstage upstream-backstage main --squash \ - -m "Squashed sync of upstream Backstage chart" - - AFTER_SHA=$(git rev-parse HEAD) - - if [ "$BEFORE_SHA" = "$AFTER_SHA" ]; then - echo "No changes from upstream." - echo "has_changes=false" >> "$GITHUB_OUTPUT" - else - echo "Changes detected from upstream." - echo "has_changes=true" >> "$GITHUB_OUTPUT" - fi - - - name: Apply RHDH-specific changes to vendored chart - if: steps.sync.outputs.has_changes == 'true' - run: | - VENDOR_GITIGNORE="charts/backstage/vendor/backstage/.gitignore" - RHDH_MARKER="# RHDH: track vendored chart dependencies" - - # Fix directory ignore pattern: "charts/*/charts/" ignores the directory itself, - # which prevents un-ignoring files inside it. Change to "charts/*/charts/*" to - # ignore contents instead, allowing the negation pattern to work. - sed -i 's|^charts/\*/charts/$|charts/*/charts/*|' "${VENDOR_GITIGNORE}" - - # Ensure the .gitignore has the RHDH-specific exception to track tgz files - if ! grep -q "${RHDH_MARKER}" "${VENDOR_GITIGNORE}"; then - cat >> "${VENDOR_GITIGNORE}" << 'EOF' - - # RHDH: track vendored chart dependencies - # Since this chart is vendored, we commit its dependencies rather than fetching them at install time - !charts/*/charts/*.tgz - EOF - fi - - # Rebuild vendored chart dependencies to restore tgz files - helm dependency update charts/backstage/vendor/backstage/charts/backstage - - git add "${VENDOR_GITIGNORE}" - git add charts/backstage/vendor/backstage/charts/backstage/charts/*.tgz - if ! git diff --cached --quiet; then - git commit -m "chore: apply RHDH-specific changes to vendored Backstage chart" - fi - - - name: Align dependency version and open PR - if: steps.sync.outputs.has_changes == 'true' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - CHART_VERSION=$(yq '.version' charts/backstage/vendor/backstage/charts/backstage/Chart.yaml) - TITLE="chore(deps): update upstream Backstage chart to ${CHART_VERSION}" - BRANCH="chore/sync-upstream-backstage-${CHART_VERSION}" - - EXISTING_PR=$(gh pr list --head "${BRANCH}" --state open --json number --jq '.[0].number // empty') - - # Align the backstage dependency version declared in Chart.yaml - export CHART_VERSION - yq -i '(.dependencies[] | select(.name == "backstage")).version = env(CHART_VERSION)' charts/backstage/Chart.yaml - - # Rebuild the Helm dependency lock file - helm repo add bitnami https://charts.bitnami.com/bitnami - helm dependency update charts/backstage - - # Commit version and lock file changes, if any - git add charts/backstage/Chart.yaml charts/backstage/Chart.lock - if ! git diff --cached --quiet; then - git commit -m "${TITLE}" - fi - - git checkout -b "${BRANCH}" - - if [ -n "${EXISTING_PR}" ]; then - echo "Updating existing PR #${EXISTING_PR} for version ${CHART_VERSION}." - git push --force origin "${BRANCH}" - else - git push origin "${BRANCH}" - - BODY=$(cat < [!CAUTION] - > The subtree pull may have silently overwritten RHDH-specific local changes to the vendored chart. Please review the changes carefully and restore any local modifications if needed. See [CONTRIBUTING.md](../CONTRIBUTING.md#note-on-the-backstage-chart-dependencies) for details. - EOF - ) - - gh pr create \ - --title "${TITLE}" \ - --body "${BODY}" \ - --base "${{ github.ref_name }}" - fi diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 72431407..00000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: Test Charts - -on: - pull_request: - branches: - - main - - release-1.[0-9]+ - -concurrency: - group: ${{ github.workflow }}-${{ github.event.number }} - cancel-in-progress: true - -jobs: - - test-chart: - # Aligning job name with the OpenShift CI config: https://github.com/openshift/release/blob/master/core-services/prow/02_config/redhat-developer/rhdh-chart/_prowconfig.yaml#L18 - name: Test Latest Release - runs-on: ubuntu-latest - # Make CI for PRs more stable by using the latest stable/RC RHDH image. - # We have a workflow that tests the unstable 'next' image tag on a nightly basis. - # Image repository and tag can be configured via GitHub repository variables. - env: - RHDH_IMAGE_REPOSITORY: ${{ vars.RHDH_IMAGE_REPOSITORY || 'rhdh/rhdh-hub-rhel9' }} - RHDH_IMAGE_TAG: ${{ vars.RHDH_IMAGE_TAG || 'latest' }} - - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - - - name: Test charts - uses: ./.github/actions/test-charts - with: - target_branch: ${{ github.event.pull_request.base.ref }} - # The RHDH image tag is already pinned to a specific version for the 'release-1.y' branches. - extra_helm_args: ${{ github.event.pull_request.base.ref == 'main' && format('--set upstream.backstage.image.repository={0} --set upstream.backstage.image.tag={1}', env.RHDH_IMAGE_REPOSITORY, env.RHDH_IMAGE_TAG) || '' }} diff --git a/charts/backstage/vendor/backstage/.github/workflows/test.yml b/.github/workflows/test.yml similarity index 100% rename from charts/backstage/vendor/backstage/.github/workflows/test.yml rename to .github/workflows/test.yml diff --git a/.github/workflows/toml-checks.yaml b/.github/workflows/toml-checks.yaml deleted file mode 100644 index 34196df9..00000000 --- a/.github/workflows/toml-checks.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: PR TOML Validator - -on: - push: - paths: - - '**.toml' - pull_request: - paths: - - '**.toml' - -jobs: - validate: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - uses: tombi-toml/setup-tombi@04531a538f559c50feccb0da6f79a41d4048ad93 # v1.0.9 - with: - version: 'v0.9.9' - checksum: 'b50dbc90ec27591dbaf564b628bd3b3e4ead371a60931bc8ea5f34d7cd1d3607' - - name: Validate TOML files - run: tombi lint diff --git a/.gitignore b/.gitignore index 64cb1073..c57c5470 100644 --- a/.gitignore +++ b/.gitignore @@ -4,12 +4,6 @@ .LSOverride .idea -*.tar.gz - # helm chart dependencies charts/*/charts/ **/charts/*.tgz -output - -# Vendored charts need to be updated manually with `helm dependency update` -!charts/*/vendor/**/charts/*.tgz diff --git a/.gitleaks.toml b/.gitleaks.toml deleted file mode 100644 index a33f8041..00000000 --- a/.gitleaks.toml +++ /dev/null @@ -1,22 +0,0 @@ -[allowlist] - description = "Global Allowlist" - - # Ignore based on any subset of the file path - paths = [ - # Ignore all example certs - # '''\/example.*\.pem$''', - - # Ignore anything with the word funkymonkey anywhere in the path - # '''funkymonkey''', - - # CI values - '''.*\/ci\/default-values\.yaml$''', - '''.*\/ci\/appConfig-values\.yaml$''', - '''.*\/ci\/probes-values\.yaml$''', - ] - - # Ignore based on any subset of the line - #regexes = [ - # # Ignore lines containing pickles - # '''pickles''', - #] diff --git a/.helmdocsignore b/.helmdocsignore deleted file mode 100644 index a826d760..00000000 --- a/.helmdocsignore +++ /dev/null @@ -1,2 +0,0 @@ -charts/backstage/vendor - diff --git a/.helmignore b/.helmignore index 0e8a0eb3..28e1bfbb 100644 --- a/.helmignore +++ b/.helmignore @@ -21,3 +21,5 @@ .idea/ *.tmproj .vscode/ + +values.schema.tmpl.json diff --git a/.pr_agent.toml b/.pr_agent.toml deleted file mode 100644 index 03af3148..00000000 --- a/.pr_agent.toml +++ /dev/null @@ -1,28 +0,0 @@ -[jira] -jira_base_url = "https://redhat.atlassian.net" - -[github_app] -# what should be launched automatically -pr_commands = [ - "/agentic_review", - "/agentic_describe --pr_description.final_update_message=false", - "/generate_labels", -] - -[pr_test] -enable=false - -[review_agent] -comments_location_policy = "summary" - -[checks] -enable_auto_checks_feedback = true -persistent_comment = true -final_update_message = false - -[config] -ignore_pr_authors = ["renovate"] - -[rag_arguments] -enable_rag=true -rag_repo_list=['redhat-developer/rhdh','redhat-developer/red-hat-developers-documentation-rhdh','redhat-developer/rhdh-operator','redhat-developer/rhdh-chart'] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96400e8a..2133a137 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,6 @@ repos: rev: v1.2.0 hooks: - id: helm-docs - files: (README\.md(\.gotmpl)?|(Chart|requirements|values)\.ya?ml)$ args: # Make the tool search for charts only under the ``charts` directory - --chart-search-root=charts @@ -13,16 +12,14 @@ repos: - --template-files=README.md.gotmpl - repo: local hooks: - - id: helm-dependency-update - name: helm-dependency-update - entry: helm dependency update charts/backstage/vendor/backstage/charts/backstage - language: unsupported - pass_filenames: false - files: charts/backstage/vendor/backstage/charts/backstage/Chart\.(ya?ml|lock)$ - id: jsonschema-dereference name: jsonschema-dereference - entry: python .pre-commit/jsonschema-dereference.py - additional_dependencies: [jsonref, Jinja2, pyyaml] + entry: python .pre-commit/jsonschema_dereference.py + additional_dependencies: [jsonref] language: python - pass_filenames: false types_or: [yaml, json] + + - repo: https://github.com/codespell-project/codespell + rev: v2.4.1 + hooks: + - id: codespell \ No newline at end of file diff --git a/.pre-commit/jsonschema-dereference.py b/.pre-commit/jsonschema-dereference.py deleted file mode 100644 index 120e5d10..00000000 --- a/.pre-commit/jsonschema-dereference.py +++ /dev/null @@ -1,93 +0,0 @@ -import json -from typing import List, Dict, Any -from pathlib import Path - -import jsonref -import yaml -try: - from yaml import CLoader as Loader -except ImportError: - from yaml import Loader -from jinja2 import Template - -JSONSCHEMA_TEMPLATE_NAME = "values.schema.tmpl.json" -JSONSCHEMA_NAME = "values.schema.json" -VALUES_FILE = "values.yaml" -CHART_YAML = "Chart.yaml" - -CHARTS_DIR = Path("charts") - -def read_yaml(file_path: Path): - """Open and load Chart.yaml file.""" - with open(file_path, "r", encoding="utf-8") as f: - return yaml.load(f, Loader=Loader) - -def template_schema(chart_dir: Path, my_chart_yaml: Dict[str, Any]): - """Load values.schema.tmpl.json and template it via Jinja2. - - Returns None if the template file does not exist. - """ - template_path = chart_dir / JSONSCHEMA_TEMPLATE_NAME - if not template_path.exists(): - print(f"INFO: '{template_path}' not found; '{JSONSCHEMA_NAME}' will not be created or updated for '{chart_dir}'") - return None - - with open(template_path, "r", encoding="utf-8") as f: - my_schema_template = Template(f.read(), autoescape=True) - - return json.loads(my_schema_template.render(my_chart_yaml)) - -def tidy_schema(my_schema: Any, my_values: Any): - """Hack to support OCP Form view. - - https://issues.redhat.com/browse/OCPBUGS-14874 - https://issues.redhat.com/browse/OCPBUGS-14875 - """ - if isinstance(my_schema, dict): - my_schema.pop("$schema", None) - my_schema.pop("format", None) - - # Override existing defaults so OCP form view - # doesn't try to override our defaults - if my_schema.get("default") is not None and my_values is not None: - my_schema["default"] = my_values - - # Tidy up properties for type: object - properties: Dict[str, Any] = my_schema.get("properties", {}) - for k, v in properties.items(): - if isinstance(my_values, dict): - new_values = my_values.get(k, None) - else: - new_values = None - tidy_schema(v, new_values) - - # Tidy up properties for type: array - items: Dict[str, Any] = my_schema.get("items", {}) - if items: - tidy_schema(items, my_values) - return my_schema - -def save(chart_dir: Path, my_schema: Any): - """Take schema containing $refs and dereference them.""" - with open(chart_dir / JSONSCHEMA_NAME, "w", encoding="utf-8") as f: - json.dump(my_schema, f, indent=4, sort_keys=True) - -if __name__ == '__main__': - charts = [p.parent for p in CHARTS_DIR.glob(f"*/{CHART_YAML}")] - errors: List[Exception] = [] - for chart in charts: - try: - chart_yaml = read_yaml(chart / CHART_YAML) - values = read_yaml(chart / VALUES_FILE) - schema_template = template_schema(chart, chart_yaml) - if schema_template is None: - continue - schema = jsonref.replace_refs(schema_template) - schema = tidy_schema(schema, values) - - save(chart, schema) - except Exception as e: - print(f"Could not process schema for '{chart}': {e}") - errors.append(e) - if errors: - exit(1) diff --git a/charts/backstage/vendor/backstage/.pre-commit/jsonschema_dereference.py b/.pre-commit/jsonschema_dereference.py similarity index 100% rename from charts/backstage/vendor/backstage/.pre-commit/jsonschema_dereference.py rename to .pre-commit/jsonschema_dereference.py diff --git a/.rhdh/docs/installing-ci-charts.adoc b/.rhdh/docs/installing-ci-charts.adoc deleted file mode 100644 index 20c49f8c..00000000 --- a/.rhdh/docs/installing-ci-charts.adoc +++ /dev/null @@ -1,21 +0,0 @@ -== Installing CI builds of RHDH through the chart - -=== Script install prerequisites -* Openshift CLI -* Helm CLI - -=== Scripted installation - -To link:../scripts/install.sh[install] from a Helm Chart Registry, run the following commands: - -``` -cd /tmp -# Create or select a namespace -# Install the chart repo -# Install the chart, then update the clusterRouterBase -# NOTE: Replace 1.y-zzz with an actual chart from https://quay.io/repository/rhdh/chart?tab=tags&tag=latest -curl -sSLO https://raw.githubusercontent.com/redhat-developer/rhdh-chart/refs/heads/main/.rhdh/scripts/install.sh && chmod +x install.sh -./install.sh 1.y-zzz-CI --namespace rhdh-ci -``` - -That's it! diff --git a/.rhdh/scripts/install.sh b/.rhdh/scripts/install.sh deleted file mode 100755 index 84665f5d..00000000 --- a/.rhdh/scripts/install.sh +++ /dev/null @@ -1,157 +0,0 @@ -#!/bin/bash -# install a helm chart with the correct global.clusterRouterBase - -# default namespace if none set -namespace="rhdh-helm" -# chartrepo=0 # by default don't create a new chart repo unless the version chart version includes "CI" suffix - -usage () -{ - echo "Usage: $0 CHART_VERSION [-n namespace] - -Requires an existing connection to an OCP or k8s cluster -Requires helm, plus oc or kubectl, to be installed and on the path - -Examples: - $0 1.5.1 - $0 1.7-zzz-CI -n rhdh-ci - -Options: - -n, --namespace Project or namespace into which to install specified chart; default: $namespace - --chartrepo If set, a Helm Chart Repo will be applied to the cluster, based on the chart version. - If CHART_VERSION ends in CI, this is done by default. - --router If set, the cluster router base is manually set. - Required for non-admin users - Redundant for admin users -" -} - -if [[ $# -lt 1 ]]; then usage; exit 0; fi - -while [[ "$#" -gt 0 ]]; do - case $1 in - '--chartrepo') chartrepo=1;; - '-n'|'--namespace') namespace="$2"; shift 1;; - '-h') usage; exit 0;; - '--router') CLUSTER_ROUTER_BASE="$2"; shift 1;; - *) CV="$1";; - esac - shift 1 -done - -if [[ ! "$CV" ]]; then usage; exit 1; fi - -CHART_URL="oci://quay.io/rhdh/chart" - -if ! helm show chart $CHART_URL --version "$CV" &> /dev/null; then - echo "Error: could not load chart $CV from $CHART_URL !" - echo - usage - exit 1 - fi - -echo "Using ${CHART_URL} to install Helm chart" - -# choose namespace for the install (or create if non-existent) -oc new-project "$namespace" || oc project "$namespace" - -# generate repo.yaml and index.yaml so we don't have to publish a new file every time -if [[ "$CV" == *"-CI" ]] || [[ $chartrepo -eq 1 ]]; then - mkdir -p /tmp/"$CV"-unpacked && pushd /tmp/"$CV"-unpacked >/dev/null 2>&1 || exit 1 - helm pull oci://quay.io/rhdh/chart --version "$CV" -d /tmp/"$CV"-unpacked # get tarball - helm repo index /tmp/"$CV"-unpacked # create index.yaml - - # HelmChartRepository does not support OCI artifacts. - # Host an in-cluster Helm repo serving both the index and chart files. - if oc -n "$namespace" get configmap helm-repo-files > /dev/null; then - oc -n "$namespace" delete configmap helm-repo-files - fi - oc -n "$namespace" create configmap helm-repo-files \ - --from-file=/tmp/"$CV"-unpacked/index.yaml \ - --from-file="/tmp/$CV-unpacked/chart-${CV}.tgz" - cat < helm-repo.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: helm-repo - annotations: - rhdh.redhat.com/chart-version: "$CV" -spec: - replicas: 1 - selector: - matchLabels: - app: helm-repo - template: - metadata: - labels: - app: helm-repo - annotations: - rhdh.redhat.com/chart-version: "$CV" - spec: - containers: - - name: nginx - image: quay.io/openshifttest/nginx-alpine:1.2.4 - ports: - - containerPort: 8080 - volumeMounts: - - name: chart-vol - mountPath: /data/http/charts - volumes: - - name: chart-vol - configMap: - name: helm-repo-files ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-repo -spec: - selector: - app: helm-repo - ports: - - port: 80 - targetPort: 8080 -EOF - oc apply -f helm-repo.yaml || kubectl apply -f helm-repo.yaml - - cat < repo.yaml -apiVersion: helm.openshift.io/v1beta1 -kind: HelmChartRepository -metadata: - name: rhdh-next-ci-repo - annotations: - rhdh.redhat.com/chart-version: "$CV" -spec: - connectionConfig: - url: http://helm-repo.${namespace}.svc.cluster.local/charts -EOF - - oc apply -f repo.yaml || kubectl apply -f repo.yaml - popd >/dev/null 2>&1 || exit 1 - - # clean up temp files - rm -fr /tmp/"$CV"-unpacked -fi - -if [[ $(oc auth can-i get route/openshift-console) == "yes" ]]; then - CLUSTER_ROUTER_BASE=$(oc get route console -n openshift-console -o=jsonpath='{.spec.host}' | sed 's/^[^.]*\.//') -elif [[ -z $CLUSTER_ROUTER_BASE ]]; then - echo "Error: openshift-console routes cannot be accessed with user permissions" - echo "Rerun command installation script with --router " - echo - usage - exit 1 -fi - -# change values -helm upgrade redhat-developer-hub -i "${CHART_URL}" --version "$CV" \ - --set global.clusterRouterBase="${CLUSTER_ROUTER_BASE}" - -echo " -While deploying you can watch at -https://console-openshift-console.${CLUSTER_ROUTER_BASE}/topology/ns/${namespace}?view=graph -" -echo " -Once deployed, Developer Hub $CV will be available at -https://redhat-developer-hub-${namespace}.${CLUSTER_ROUTER_BASE} -" diff --git a/.sonarcloud.properties b/.sonarcloud.properties deleted file mode 100644 index 9bbd823d..00000000 --- a/.sonarcloud.properties +++ /dev/null @@ -1 +0,0 @@ -sonar.exclusions = charts/backstage/vendor/**/* diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bdfb85a5..0cbbdefe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,59 +1,8 @@ -# Contributing - -## Checklist - -Before making a contribution to the charts in this repository, you will need to ensure the following steps have been done: +# Contributing to Backstage Charts +Before making a contribution to the [Backstage Helm Chart](https://github.com/backstage/charts) you will need to ensure the following steps have been done: +- [Sign your commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) - Run `helm template` on the changes you're making to ensure they are correctly rendered into Kubernetes manifests. -- Lint tests have been run for the Chart using the [Chart Testing](https://github.com/helm/chart-testing) tool and the `ct lint` command. -- For each Chart updated, version bumped in the corresponding `Chart.yaml` according to [Semantic Versioning](http://semver.org/). -- For each Chart updated, ensure variables are documented in the corresponding `values.yaml` file and the [pre-commit](https://pre-commit.com/) hook has been run with `pre-commit run --all-files` to generate the corresponding `README.md` documentation. The [pre-commit Workflow](./.github/workflows/pre-commit.yaml) will enforce this and warn you if needed. -- JSON Schema template updated and re-generated the raw schema via the `pre-commit` hook. -- [ ] If you updated the [orchestrator-infra](./charts/orchestrator-infra) chart, make sure the versions of the [Knative CRDs](./charts/orchestrator-infra/crds) are aligned with the versions of the CRDs installed by the OpenShift Serverless operators declared in the [values.yaml](./charts/orchestrator-infra/values.yaml) file. See [Installing Knative Eventing and Knative Serving CRDs](./charts/orchestrator-infra/README.md#installing-knative-eventing-and-knative-serving-crds) for more details. - -## Note on the Backstage chart dependencies - -This project uses a **Git Subtree** strategy to manage our dependency on the [upstream Backstage Helm chart](https://github.com/backstage/charts.git). This allows us to maintain local customizations while keeping a link to the upstream source for future updates. - -Unlike standard Helm dependencies that fetch tarballs from a remote repository, our dependency on Backstage is **vendored** directly into this repository under [`charts/backstage/vendor/backstage`](./charts/backstage/vendor/backstage). - -### Developer workflow - -To sync with the upstream Backstage repository, add it as a remote on your local machine: - -```bash -git remote add -f upstream-backstage https://github.com/backstage/charts.git -``` - -When the upstream Backstage team releases an update, we can pull their changes into our subtree: - -```bash -git fetch upstream-backstage main -git subtree pull --prefix charts/backstage/vendor/backstage upstream-backstage main --squash - -# You may also need to update the dependency version under charts/backstage/Chart.yaml -``` - -It is important to use `--squash` to avoid pulling the entire commit history of the upstream chart repository. - -> [!CAUTION] -> **Reviewing subtree syncs:** The subtree pull may silently overwrite RHDH-specific local changes to the vendored chart, even when there are no merge conflicts. This can happen because Git's merge algorithm may auto-resolve changes in favor of upstream. After each sync, carefully review the diff to ensure any local customizations (e.g., `.gitignore` exceptions, template modifications) are preserved. If local changes were lost, restore them manually before merging. - -*Note: If merge conflicts occur, resolve them in your editor, then `git add` and `git commit` the resolution as a normal merge.* - -**Important:** After any change to the dependency structure or version of the vendored chart, you must rebuild the lock file and local subchart dependencies: - -```bash -helm dependency update charts/backstage/vendor/backstage/charts/backstage -helm dependency update charts/backstage -``` - -To contribute changes back to the upstream repo, you can push them directly to your personal fork of the upstream Backstage charts and open up a PR: - -```bash -# Push to your personal fork of the upstream Backstage charts repo -git remote add my-upstream-fork ssh://git@github.com/${YOUR_USERNAME}/${MY_FORK}.git -git subtree push --prefix charts/backstage/vendor/backstage my-upstream-fork ${MY_BRANCH} - -# Open up a PR on the upstream Backstage charts repository -``` +- Lint tests has been run for the Chart using the [Chart Testing](https://github.com/helm/chart-testing) tool and the `ct lint` command. +- Ensure variables are documented in `values.yaml` and the [pre-commit](https://pre-commit.com/) hook has been run with `pre-commit run --all-files` to generate the `README.md` documentation. To preview the content, use `helm-docs --dry-run`. +- If you are making changes to the Chart - remember to bump the Chart version following [SemVer](https://semver.org/). You will need to change the [Chart Version](https://github.com/backstage/charts/blob/main/charts/backstage/Chart.yaml#L41) and the [Chart Badge](https://github.com/backstage/charts/blob/main/charts/backstage/README.md?plain=1#L5) on the README. diff --git a/LICENSE b/LICENSE index 877b6f9c..4a689f5e 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2022 The RHDH Authors +Copyright 2022 The Backstage Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/charts/backstage/vendor/backstage/NOTICE b/NOTICE similarity index 100% rename from charts/backstage/vendor/backstage/NOTICE rename to NOTICE diff --git a/OWNERS b/OWNERS deleted file mode 100644 index 1f693c81..00000000 --- a/OWNERS +++ /dev/null @@ -1,16 +0,0 @@ -# if adding/removing approvers, remember to update the .github/workflows/*.yaml files -# to add/remove them from the authorize job(s), if any -approvers: - - rm3l - - gazarenkov - - nickboldt - - kim-tsao - - kadel - -reviewers: - - rm3l - - gazarenkov - - Fortune-Ndlovu - - subhashkhileri - - zdrapela - - OpinionatedHeron diff --git a/README.md b/README.md index 31b830b4..748806b7 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,55 @@ +# Backstage Helm Chart -# UPDATE +[Backstage](https://backstage.io) is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy. -This repository now houses the only RHDH CI Helm chart after merging with the now deprecated repository: https://github.com/rhdh-bot/openshift-helm-charts/. +Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end. -See: https://issues.redhat.com/browse/RHIDP-1477 +> [!CAUTION] +> This Helm chart deploys a pre-packaged container image which contains a vanilla Backstage instance for demo purposes. This image is probably not suitable for use in production. For further customization of the Backstage instance (plugin installation, UI changes, etc.) please create your own custom instance and container image. For details please consult the [Backstage documentation](https://backstage.io/docs) -# RHDH Helm Chart for OpenShift +## Scope -See [charts/backstage/README.md](charts/backstage/README.md). +This chart focuses on providing users the same experience and functionality no matter what flavor of Kubernetes they use. This chart will support only patterns that are either customary for all Kubernetes flavors, are commonly used in the Bitnami charts ecosystem, and recognized as Backstage official patterns. -# RHDH orchestrator infra Helm chart for Openshift +We welcome other, more specialized, charts to use this canonical chart as a direct dependency, expanding the feature set further, beyond this scope. -See [charts/orchestrator-infra/README.md](charts/orchestrator-infra/README.md) +A list of derived charts: +- OpenShift specialized chart: [Red Hat Developer Hub Helm chart](https://github.com/redhat-developer/rhdh-chart/tree/main/charts/backstage) -## Contributing and reporting issues +## Usage -To report issues against this chart, please use JIRA (not GH issues): https://issues.redhat.com/browse/RHIDP \ No newline at end of file +> [!NOTE] +> Documentation for the Backstage chart can be found [here](charts/backstage) + +Charts are available in the following formats: + +* [Chart Repository](https://helm.sh/docs/topics/chart_repository/) +* [OCI Artifacts](https://helm.sh/docs/topics/registries/) + +### Installing from the Chart Repository + +The following command can be used to add the chart repository: + +```console +helm repo add backstage https://backstage.github.io/charts +``` + +Once the chart has been added, install one of the available charts: + +```console +helm upgrade -i backstage/backstage +``` + +### Installing from an OCI Registry + +Charts are also available in OCI format. The list of available charts can be found [here](https://github.com/orgs/backstage/packages?repo_name=charts). + +Install one of the available charts: + +```shell +helm upgrade -i oci://ghcr.io/backstage/charts/backstage --version= +``` + +## Backstage Chart + +More information can be found by inspecting the [backstage chart](charts/backstage). diff --git a/charts/backstage/.helmignore b/charts/backstage/.helmignore deleted file mode 100644 index e521419c..00000000 --- a/charts/backstage/.helmignore +++ /dev/null @@ -1,26 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ -# Templates files -README.md.gotmpl -values.schema.tmpll.json diff --git a/charts/backstage/Chart.lock b/charts/backstage/Chart.lock index 51258945..b88bfa73 100644 --- a/charts/backstage/Chart.lock +++ b/charts/backstage/Chart.lock @@ -1,9 +1,9 @@ dependencies: - name: common - repository: https://charts.bitnami.com/bitnami - version: 2.38.0 -- name: backstage - repository: file://./vendor/backstage/charts/backstage/ - version: 2.6.3 -digest: sha256:481944610f597c17348eb8751a7c7e912cdac691f798c6bda57471aad61d97cf -generated: "2026-03-30T12:43:49.416243615Z" + repository: oci://registry-1.docker.io/bitnamicharts + version: 2.10.0 +- name: postgresql + repository: oci://registry-1.docker.io/bitnamicharts + version: 12.10.0 +digest: sha256:77630aa988cef5e3a9f64a9fc3427345f451534e973dbece805850be587cb59e +generated: "2024-05-11T14:39:32.274594+01:00" diff --git a/charts/backstage/Chart.yaml b/charts/backstage/Chart.yaml index e97d0f4e..03749562 100644 --- a/charts/backstage/Chart.yaml +++ b/charts/backstage/Chart.yaml @@ -3,48 +3,39 @@ annotations: artifacthub.io/license: Apache-2.0 artifacthub.io/links: | - name: support - url: https://issues.redhat.com/browse/RHIDP + url: https://github.com/backstage/charts/issues - name: Chart Source - url: https://github.com/redhat-developer/rhdh-chart + url: https://github.com/backstage/charts - name: Default Image Source - url: https://github.com/redhat-developer/rhdh - charts.openshift.io/name: Red Hat Developer Hub - charts.openshift.io/provider: Red Hat - charts.openshift.io/archs: x86_64 - charts.openshift.io/supportURL: https://access.redhat.com/support + url: https://github.com/backstage/backstage apiVersion: v2 -description: | - A Helm chart for deploying Red Hat Developer Hub, which is a Red Hat supported version of Backstage. - - The telemetry data collection feature is enabled by default. Red Hat Developer Hub sends telemetry data to Red Hat by using the `backstage-plugin-analytics-provider-segment` plugin. To disable this and to learn what data is being collected, see https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.6/html-single/telemetry_data_collection_and_analysis/index +description: A Helm chart for deploying a Backstage application dependencies: - name: common - repository: https://charts.bitnami.com/bitnami + repository: oci://registry-1.docker.io/bitnamicharts tags: - bitnami-common - version: "2.38.0" - - name: backstage - repository: "file://./vendor/backstage/charts/backstage/" - version: "2.6.3" - alias: upstream -home: https://red.ht/rhdh -icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBl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LDQuOWUtNCAwLjI0ODYsMC4yNDg5IDAuNDAyNTksMC41OTIzNSAwLjQwMjU5LDAuOTcxMTkgMCwwLjc1ODMgLTAuNjE2NywxLjM3NSAtMS4zNzUsMS4zNzUgeiIKICAgICAgIGZpbGw9IiNmZmZmZmYiCiAgICAgICBzdHJva2Utd2lkdGg9IjAiCiAgICAgICBpZD0icGF0aDIxIiAvPgogIDwvZz4KPC9zdmc+Cg== + version: 2.10.0 + - condition: postgresql.enabled + name: postgresql + repository: oci://registry-1.docker.io/bitnamicharts + version: 12.10.0 +home: https://backstage.io +icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/backstage/icon/color/backstage-icon-color.svg keywords: - backstage - idp - - developer-hub - - redhat-developer-hub - - redhat -kubeVersion: ">= 1.27.0-0" +kubeVersion: ">= 1.19.0-0" maintainers: - - name: Red Hat - url: https://redhat.com + - name: Backstage + url: https://backstage.io name: backstage type: application -sources: [] +sources: + - https://github.com/backstage/charts + - https://github.com/backstage/backstage + # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -# Note that when this chart is published to https://github.com/openshift-helm-charts/charts -# it will follow the RHDH versioning 1.y.z -version: 5.7.1 +version: 2.6.3 diff --git a/charts/backstage/README.md b/charts/backstage/README.md index c01838d9..bbbcc9c9 100644 --- a/charts/backstage/README.md +++ b/charts/backstage/README.md @@ -1,35 +1,39 @@ -# RHDH Backstage Helm Chart for OpenShift +# Backstage Helm Chart -![Version: 5.7.1](https://img.shields.io/badge/Version-5.7.1-informational?style=flat-square) +[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage) +![Version: 2.6.3](https://img.shields.io/badge/Version-2.6.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) -A Helm chart for deploying Red Hat Developer Hub, which is a Red Hat supported version of Backstage. +A Helm chart for deploying a Backstage application -The telemetry data collection feature is enabled by default. Red Hat Developer Hub sends telemetry data to Red Hat by using the `backstage-plugin-analytics-provider-segment` plugin. To disable this and to learn what data is being collected, see https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.6/html-single/telemetry_data_collection_and_analysis/index +**Homepage:** -**Homepage:** +## Maintainers -## Productized RHDH +| Name | Email | Url | +| ---- | ------ | --- | +| Backstage | | | -This repository now provides the productized RHDH chart. -For the **Generally Available** version of this chart, see: +## Source Code -* https://github.com/openshift-helm-charts/charts - official releases to https://charts.openshift.io/ +* +* -## Maintainers +--- -| Name | Email | Url | -| ---- | ------ | --- | -| Red Hat | | | +[Backstage](https://backstage.io) is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy. + +Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end. + +> Disclaimer: This Helm chart deploys a pre-packaged container image which contains a vanilla Backstage instance for demo purposes. This image is probably not suitable for use in production. For further customization of the Backstage instance (plugin installation, UI changes, etc.) please create your own custom instance and container image. For details please consult the [Backstage documentation](https://backstage.io/docs) ## TL;DR ```console -helm repo add bitnami https://charts.bitnami.com/bitnami -helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart +helm repo add backstage https://backstage.github.io/charts -helm install my-backstage redhat-developer/backstage --version 5.7.1 +helm install my-release backstage/backstage ``` ## Introduction @@ -38,108 +42,53 @@ This chart bootstraps a [Backstage](https://backstage.io/docs/deployment/docker) ## Prerequisites -- Kubernetes 1.27+ ([OpenShift 4.14+](https://docs.redhat.com/en/documentation/openshift_container_platform/4.14/html-single/release_notes/index#ocp-4-14-about-this-release)) -- Helm 3.10+ or [latest release](https://github.com/helm/helm/releases) +- Kubernetes 1.25+ +- Helm 3.10+ minimum, 3.14+ recommended - PV provisioner support in the underlying infrastructure - [Backstage container image](https://backstage.io/docs/deployment/docker) +## Scope + +This chart focuses on providing users the same experience and functionality no matter what flavor of Kubernetes they use. This chart will support only patterns that are either customary for all Kubernetes flavors, are commonly used in the Bitnami charts ecosystem, and recognized as Backstage official patterns. + +We welcome other, more specialized, charts to use this canonical chart as a direct dependency, expanding the feature set further, beyond this scope. + +A list of derived charts: +- OpenShift specialized chart: [Janus Backstage Helm chart](https://github.com/janus-idp/helm-backstage/tree/main/charts/backstage) + ## Usage -Charts are available in the following formats: +Chart is available in the following formats: - [Chart Repository](https://helm.sh/docs/topics/chart_repository/) - [OCI Artifacts](https://helm.sh/docs/topics/registries/) -### Note - -Up-to-date instructions on installing RHDH through the chart can be found in the [installation docs](https://github.com/redhat-developer/rhdh-chart/tree/main/.rhdh/docs/installation-ci-charts.adoc). - ### Installing from the Chart Repository The following command can be used to add the chart repository: ```console -helm repo add bitnami https://charts.bitnami.com/bitnami -helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart +helm repo add backstage https://backstage.github.io/charts ``` -Once the chart has been added, install this chart. However before doing so, please review the default `values.yaml` and adjust as needed. - -- To get proper connection between frontend and backend of Backstage please update the `apps.example.com` to match your cluster host: - - ```yaml - global: - clusterRouterBase: apps.example.com - ``` - - > Tip: you can use `helm upgrade -i --set global.clusterRouterBase=apps.example.com ...` instead of a value file - -- If your cluster doesn't provide PVCs, you should disable PostgreSQL persistence via: - - ```yaml - upstream: - postgresql: - primary: - persistence: - enabled: false - ``` +Once the chart has been added, install one of the available charts: ```console -helm upgrade -i redhat-developer/backstage +helm upgrade -i backstage/backstage ``` ### Installing from an OCI Registry -Charts are also available in OCI format. The list of available releases can be found [here](https://quay.io/repository/rhdh/chart?tab=tags). +Chart is also available in OCI format. The list of available releases can be found [here](https://github.com/backstage/charts/pkgs/container/charts%2Fbackstage). Install one of the available versions: ```shell -helm upgrade -i oci://quay.io/rhdh/chart --version= +helm upgrade -i oci://ghcr.io/backstage/charts/backstage --version= ``` > **Tip**: List all releases using `helm list` -### Testing a Release - -Once an Helm Release has been deployed, you can test it using the [`helm test`](https://helm.sh/docs/helm/helm_test/) command: - -```sh -helm test -``` - -This will run a simple Pod in the cluster to check that the application deployed is up and running. - -You can control whether to disable this test pod or you can also customize the image it leverages. -See the `test.enabled` and `test.image` parameters in the [`values.yaml`](./values.yaml) file. - -> **Tip**: Disabling the test pod will not prevent the `helm test` command from passing later on. It will simply report that no test suite is available. - -Below are a few examples: - -
- -Disabling the test pod - -```sh -helm install \ - --set test.enabled=false -``` - -
- -
- -Customizing the test pod image - -```sh -helm install \ - --set test.image.repository=curl/curl-base \ - --set test.image.tag=8.11.1 -``` - -
- ### Uninstalling the Chart To uninstall/delete the `my-backstage-release` deployment: @@ -152,247 +101,253 @@ The command removes all the Kubernetes components associated with the chart and ## Requirements -Kubernetes: `>= 1.27.0-0` +Kubernetes: `>= 1.19.0-0` | Repository | Name | Version | |------------|------|---------| -| file://./vendor/backstage/charts/backstage/ | upstream(backstage) | 2.6.3 | -| https://charts.bitnami.com/bitnami | common | 2.38.0 | +| oci://registry-1.docker.io/bitnamicharts | common | 2.10.0 | +| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.10.0 | ## Values | Key | Description | Type | Default | |-----|-------------|------|---------| -| global.auth | Enable service authentication within Backstage instance | object | `{"backend":{"enabled":true,"existingSecret":"","value":""}}` | -| global.auth.backend | Backend service to service authentication
Ref: https://backstage.io/docs/auth/service-to-service-auth/ | object | `{"enabled":true,"existingSecret":"","value":""}` | -| global.auth.backend.enabled | Enable backend service to service authentication, unless configured otherwise it generates a secret value | bool | `true` | -| global.auth.backend.existingSecret | Instead of generating a secret value, refer to existing secret | string | `""` | -| global.auth.backend.value | Instead of generating a secret value, use the following value | string | `""` | -| global.catalogIndex | Catalog index configuration for automatic plugin discovery. The `install-dynamic-plugins.py` script pulls this image if the `CATALOG_INDEX_IMAGE` environment variable is set. The `dynamic-plugins.default.yaml` file will be extracted and written to `dynamic-plugins-root` volume mount. | object | `{"image":{"registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"1.10"}}` | -| global.clusterRouterBase | Shorthand for users who do not want to specify a custom HOSTNAME. Used ONLY with the DEFAULT upstream.backstage.appConfig value and with OCP Route enabled. | string | `"apps.example.com"` | -| global.dynamic.includes | Array of YAML files listing dynamic plugins to include with those listed in the `plugins` field. Relative paths are resolved from the working directory of the initContainer that will install the plugins (`/opt/app-root/src`). | list | `["dynamic-plugins.default.yaml"]` | -| global.dynamic.includes[0] | List of dynamic plugins included inside the `rhdh` container image, some of which are disabled by default. This file ONLY works with the `rhdh` container image. | string | `"dynamic-plugins.default.yaml"` | -| global.dynamic.plugins | List of dynamic plugins, possibly overriding the plugins listed in `includes` files. Every item defines the plugin `package` as a [NPM package spec](https://docs.npmjs.com/cli/v10/using-npm/package-spec), an optional `pluginConfig` with plugin-specific backstage configuration, and an optional `disabled` flag to disable/enable a plugin listed in `includes` files. It also includes an `integrity` field that is used to verify the plugin package [integrity](https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description). | list | `[]` | -| global.host | Custom hostname shorthand, overrides `global.clusterRouterBase`, `upstream.ingress.host`, `route.host`, and url values in `upstream.backstage.appConfig`. | string | `""` | -| nameOverride | | string | `"developer-hub"` | -| orchestrator.enabled | | bool | `false` | -| orchestrator.plugins | Orchestrator plugins and their configuration | list | `[{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:{{ \"{{inherit}}\" }}"},{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:{{ \"{{inherit}}\" }}"},{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:{{ \"{{inherit}}\" }}"},{"disabled":false,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:{{ \"{{inherit}}\" }}"}]` | -| orchestrator.serverlessLogicOperator.enabled | | bool | `true` | -| orchestrator.serverlessOperator.enabled | | bool | `true` | -| orchestrator.sonataflowPlatform.createDBJobImage | Image for the container used by the create-db job | string | `"{{ .Values.upstream.postgresql.image.registry }}/{{ .Values.upstream.postgresql.image.repository }}:{{ .Values.upstream.postgresql.image.tag }}"` | -| orchestrator.sonataflowPlatform.dataIndexImage | Image for the container used by the sonataflow data index, optional and used for disconnected environments | string | `""` | -| orchestrator.sonataflowPlatform.eventing.broker.name | | string | `""` | -| orchestrator.sonataflowPlatform.eventing.broker.namespace | | string | `""` | -| orchestrator.sonataflowPlatform.externalDBHost | Host for the user-configured external Database | string | `""` | -| orchestrator.sonataflowPlatform.externalDBName | Name for the user-configured external Database | string | `""` | -| orchestrator.sonataflowPlatform.externalDBPort | Port for the user-configured external Database | string | `""` | -| orchestrator.sonataflowPlatform.externalDBsecretRef | Secret name for the user-created secret to connect an external DB | string | `""` | -| orchestrator.sonataflowPlatform.initContainerImage | Image for the init container used by the create-db job | string | `"{{ .Values.upstream.postgresql.image.registry }}/{{ .Values.upstream.postgresql.image.repository }}:{{ .Values.upstream.postgresql.image.tag }}"` | -| orchestrator.sonataflowPlatform.jobServiceImage | Image for the container used by the sonataflow jobs service, optional and used for disconnected environments | string | `""` | -| orchestrator.sonataflowPlatform.monitoring.enabled | | bool | `true` | -| orchestrator.sonataflowPlatform.resources.limits.cpu | | string | `"500m"` | -| orchestrator.sonataflowPlatform.resources.limits.memory | | string | `"1Gi"` | -| orchestrator.sonataflowPlatform.resources.requests.cpu | | string | `"250m"` | -| orchestrator.sonataflowPlatform.resources.requests.memory | | string | `"64Mi"` | -| route | OpenShift Route parameters | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.global.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | -| route.annotations | Route specific annotations | object | `{}` | -| route.enabled | Enable the creation of the route resource | bool | `true` | -| route.host | Set the host attribute to a custom value. If not set, OpenShift will generate it, please make sure to match your baseUrl | string | `"{{ .Values.global.host }}"` | -| route.path | Path that the router watches for, to route traffic for to the service. | string | `"/"` | -| route.tls | Route TLS parameters
Ref: https://docs.openshift.com/container-platform/4.9/networking/routes/secured-routes.html | object | `{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"}` | -| route.tls.caCertificate | Cert authority certificate contents. Optional | string | `""` | -| route.tls.certificate | Certificate contents | string | `""` | -| route.tls.destinationCACertificate | Contents of the ca certificate of the final destination.
When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify. | string | `""` | -| route.tls.enabled | Enable TLS configuration for the host defined at `route.host` parameter | bool | `true` | -| route.tls.insecureEdgeTerminationPolicy | Indicates the desired behavior for insecure connections to a route.
While each router may make its own decisions on which ports to expose, this is normally port 80. The only valid values are None, Redirect, or empty for disabled. | string | `"Redirect"` | -| route.tls.key | Key file contents | string | `""` | -| route.tls.termination | Specify TLS termination. | string | `"edge"` | -| route.wildcardPolicy | Wildcard policy if any for the route. Currently only 'Subdomain' or 'None' is allowed. | string | `"None"` | -| test | Test pod parameters | object | `{"enabled":true,"image":{"registry":"quay.io","repository":"curl/curl","tag":"latest"},"injectTestNpmrcSecret":false}` | -| test.enabled | Whether to enable the test-connection pod used for testing the Release using `helm test`. | bool | `true` | -| test.image.registry | Test connection pod image registry | string | `"quay.io"` | -| test.image.repository | Test connection pod image repository. Note that the image needs to have both the `sh` and `curl` binaries in it. | string | `"curl/curl"` | -| test.image.tag | Test connection pod image tag. Note that the image needs to have both the `sh` and `curl` binaries in it. | string | `"latest"` | -| test.injectTestNpmrcSecret | Whether to inject a fake dynamic plugins npmrc secret.
See RHDHBUGS-1893 and RHDHBUGS-1464 for the motivation behind this.
This is only used for testing purposes and should not be used in production.
Only relevant when `test.enabled` field is set to `true`. | bool | `false` | -| upstream | Upstream Backstage [chart configuration](https://github.com/backstage/charts/blob/main/charts/backstage/values.yaml) | object | Use Openshift compatible settings | -| upstream.backstage.extraVolumes[0] | Ephemeral volume that will contain the dynamic plugins installed by the initContainer below at start. | object | `{"ephemeral":{"volumeClaimTemplate":{"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}}}}},"name":"dynamic-plugins-root"}` | -| upstream.backstage.extraVolumes[0].ephemeral.volumeClaimTemplate.spec.resources.requests.storage | Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. | string | `"5Gi"` | -| upstream.backstage.extraVolumes[5] | Ephemeral volume used by the install-dynamic-plugins init container to extract catalog entities from the catalog index image. Mounted at the /extensions path in the backstage-backend main container for automatic discovery by the extension catalog backend providers. | object | `{"emptyDir":{},"name":"extensions-catalog"}` | -| upstream.backstage.initContainers[0].image | Image used by the initContainer to install dynamic plugins into the `dynamic-plugins-root` volume mount. It could be replaced by a custom image based on this one. | string | `quay.io/rhdh-community/rhdh:next` | - -## Opinionated Backstage deployment - -This chart defaults to an opinionated deployment of Backstage that provides user with a usable Backstage instance out of the box. - -Features enabled by the default chart configuration: - -1. Uses [rhdh](https://github.com/redhat-developer/rhdh/) that pre-loads a lot of useful plugins and features -2. Exposes a `Route` for easy access to the instance -3. Enables OpenShift-compatible PostgreSQL database storage - -For additional instance features please consult the [documentation for `rhdh`](https://github.com/redhat-developer/rhdh/tree/main/showcase-docs). - -Additional features can be enabled by extending the default configuration at: +| backstage | Backstage parameters | object | See below | +| backstage.affinity | Affinity for pod assignment
Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | object | `{}` | +| backstage.annotations | Additional custom annotations for the `Deployment` resource | object | `{}` | +| backstage.appConfig | Generates ConfigMap and configures it in the Backstage pods | object | `{}` | +| backstage.args | Backstage container command arguments | list | `[]` | +| backstage.autoscaling | Autoscaling configuration.
Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ | object | `{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | +| backstage.command | Backstage container command | list | `["node","packages/backend"]` | +| backstage.containerPorts | Container ports on the Deployment | object | `{"backend":7007}` | +| backstage.containerSecurityContext | Security settings for a Container.
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container | object | `{}` | +| backstage.extraAppConfig | Extra app configuration files to inline into command arguments | list | `[]` | +| backstage.extraContainers | Deployment sidecars | list | `[]` | +| backstage.extraEnvVars | Backstage container environment variables | list | `[]` | +| backstage.extraEnvVarsCM | Backstage container environment variables from existing ConfigMaps | list | `[]` | +| backstage.extraEnvVarsSecrets | Backstage container environment variables from existing Secrets | list | `[]` | +| backstage.extraPorts | Backstage container additional ports | list | `[]` | +| backstage.extraVolumeMounts | Backstage container additional volume mounts | list | `[]` | +| backstage.extraVolumes | Backstage container additional volumes | list | `[]` | +| backstage.hostAliases | Host Aliases for the pod
Ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ | list | `[]` | +| backstage.image.digest | Backstage image digest (digest takes precedence over image tag) | string | `""` | +| backstage.image.pullPolicy | Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy | string | `""` | +| backstage.image.pullSecrets | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
E.g: `pullSecrets: [myRegistryKeySecretName]` | list | `[]` | +| backstage.image.registry | Backstage image registry | string | `"ghcr.io"` | +| backstage.image.repository | Backstage image repository | string | `"backstage/backstage"` | +| backstage.image.tag | Backstage image tag (immutable tags are recommended) | string | `"latest"` | +| backstage.initContainers | Backstage container init containers | list | `[]` | +| backstage.installDir | Directory containing the backstage installation | string | `"/app"` | +| backstage.livenessProbe | Liveness Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes | object | `{}` | +| backstage.revisionHistoryLimit | Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept. May be set to 0 in case of GitOps deployment approach. | int | `10` | +| backstage.startupProbe | Startup Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes | list | `[]` | +| ingress.extraTls | The TLS configuration for additional hostnames to be covered with this ingress record.
Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls | list | `[]` | +| ingress.host | Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io) | string | `""` | +| ingress.path | Path to be used to expose the full route to access the backstage application (e.g: IP.nip.io/backstage) | string | `"/"` | +| ingress.tls | Ingress TLS parameters | object | `{"enabled":false,"secretName":""}` | +| ingress.tls.enabled | Enable TLS configuration for the host defined at `ingress.host` parameter | bool | `false` | +| ingress.tls.secretName | The name to which the TLS Secret will be called | string | `""` | +| kubeVersion | Override Kubernetes version | string | `""` | +| metrics | Metrics configuration | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":null,"labels":{},"path":"/metrics","port":"http-backend"}}` | +| metrics.serviceMonitor | ServiceMonitor configuration
Allows configuring your backstage instance as a scrape target for [Prometheus](https://github.com/prometheus/prometheus) using a ServiceMonitor custom resource that [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator) can understand. | object | `{"annotations":{},"enabled":false,"interval":null,"labels":{},"path":"/metrics","port":"http-backend"}` | +| metrics.serviceMonitor.annotations | ServiceMonitor annotations | object | `{}` | +| metrics.serviceMonitor.enabled | If enabled, a ServiceMonitor resource for Prometheus Operator is created
Prometheus Operator must be installed in your cluster prior to enabling. | bool | `false` | +| metrics.serviceMonitor.interval | ServiceMonitor scrape interval | string | `nil` | +| metrics.serviceMonitor.labels | Additional ServiceMonitor labels | object | `{}` | +| metrics.serviceMonitor.path | ServiceMonitor endpoint path
Note that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the [Prometheus metrics tutorial](https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md). | string | `"/metrics"` | +| metrics.serviceMonitor.port | ServiceMonitor endpoint port
The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464. | string | `"http-backend"` | +| nameOverride | String to partially override common.names.fullname | string | `""` | +| networkPolicy.egressRules.customRules | Additional custom egress rules | list | `[]` | +| networkPolicy.egressRules.denyConnectionsToExternal | Deny external connections. Should not be enabled when working with an external database. | bool | `false` | +| networkPolicy.enabled | Specifies whether a NetworkPolicy should be created | bool | `false` | +| networkPolicy.ingressRules.customRules | Additional custom ingress rules | list | `[]` | +| networkPolicy.ingressRules.namespaceSelector | Namespace selector label allowed to access the Backstage instance | object | `{}` | +| networkPolicy.ingressRules.podSelector | Pod selector label allowed to access the Backstage instance | object | `{}` | +| postgresql | PostgreSQL [chart configuration](https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml) | object | See below | +| postgresql.architecture | PostgreSQL architecture (`standalone` or `replication`) | string | `"standalone"` | +| postgresql.auth | The authentication details of the Postgres database | object | `{"existingSecret":"","password":"","secretKeys":{"adminPasswordKey":"admin-password","replicationPasswordKey":"replication-password","userPasswordKey":"user-password"},"username":"bn_backstage"}` | +| postgresql.auth.existingSecret | Name of existing secret to use for PostgreSQL credentials | string | `""` | +| postgresql.auth.password | Password for the custom user to create | string | `""` | +| postgresql.auth.secretKeys | The secret keys Postgres will look for to retrieve the relevant password | object | `{"adminPasswordKey":"admin-password","replicationPasswordKey":"replication-password","userPasswordKey":"user-password"}` | +| postgresql.auth.secretKeys.adminPasswordKey | The key in which Postgres will look for, for the admin password, in the existing Secret | string | `"admin-password"` | +| postgresql.auth.secretKeys.replicationPasswordKey | The key in which Postgres will look for, for the replication password, in the existing Secret | string | `"replication-password"` | +| postgresql.auth.secretKeys.userPasswordKey | The key in which Postgres will look for, for the user password, in the existing Secret | string | `"user-password"` | +| postgresql.auth.username | Name for a custom user to create | string | `"bn_backstage"` | +| postgresql.enabled | Switch to enable or disable the PostgreSQL helm chart | bool | `false` | +| postgresql.image | Change default PostgreSQL image location (workaround for https://github.com/bitnami/charts/issues/35164) | object | `{"registry":"docker.io","repository":"bitnamilegacy/postgresql"}` | +| service | Service parameters | object | See below | +| service.annotations | Additional custom annotations for Backstage service | object | `{}` | +| service.clusterIP | Backstage service Cluster IP
E.g `clusterIP: None` | string | `""` | +| service.externalTrafficPolicy | Backstage service external traffic policy Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip | string | `"Cluster"` | +| service.extraPorts | Extra ports to expose in the Backstage service (normally used with the `sidecar` value) | list | `[]` | +| service.ipFamilies | IP Families
Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack | list | `[]` | +| service.ipFamilyPolicy | IP Family Policy
Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack | string | `""` | +| service.loadBalancerIP | Backstage service Load Balancer IP
Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer | string | `""` | +| service.loadBalancerSourceRanges | Load Balancer sources
Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
E.g `loadBalancerSourceRanges: [10.10.10.0/24]` | list | `[]` | +| service.nodePorts | Node port for the Backstage client connections Choose port between `30000-32767` | object | `{"backend":""}` | +| service.ports | Backstage svc port for client connections | object | `{"backend":7007,"name":"http-backend","targetPort":"backend"}` | +| service.ports.name | Backstage svc port name | string | `"http-backend"` | +| service.ports.targetPort | Backstage svc target port referencing receiving pod container port | string | `"backend"` | +| service.sessionAffinity | Control where client requests go, to the same pod or round-robin (values: `ClientIP` or `None`)
Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness | string | `"None"` | +| service.type | Kubernetes Service type | string | `"ClusterIP"` | +| serviceAccount | Service Account Configuration | object | See below | +| serviceAccount.annotations | Additional custom annotations for the ServiceAccount. | object | `{}` | +| serviceAccount.automountServiceAccountToken | Auto-mount the service account token in the pod | bool | `true` | +| serviceAccount.create | Enable the creation of a ServiceAccount for Backstage pods | bool | `false` | +| serviceAccount.labels | Additional custom labels to the service ServiceAccount. | object | `{}` | +| serviceAccount.name | Name of the ServiceAccount to use If not set and `serviceAccount.create` is true, a name is generated | string | `""` | + +## Configure your Backstage instance + +The Backstage Chart makes it possible to configure your backstage instance by passing extra environment variables or static configuration files, without rebuilding the docker image. + +### Environment variables + +Use `backstage.extraEnvVars` to pass extra environment variables. **This is used for environment variables containing non sensitive information:** + +```diff + backstage: ++ extraEnvVars: ++ - name: MY_PLUGIN_HOST ++ value: http://my-plugin-host +``` -```yaml -upstream: +It is possible to override values defined in your `app-config.yaml` by appending the `APP_CONFIG` prefix to each environment variable, as described in the [official documentation](https://backstage.io/docs/conf/#supplying-configuration). +For example, to override the `backend.cache.store` property defined in your `app-config.yaml`, do: + +```diff backstage: - appConfig: - # Inline app-config.yaml for the instance extraEnvVars: - # Additional environment variables ++ - name: APP_CONFIG_backend_cache_store ++ value: memory ``` -## Features +### Sensitive environment variables -This charts defaults to using the [RHDH image](https://quay.io/rhdh-community/rhdh:next) that is OpenShift compatible: +In case your environment variables contain sensitive information, such as `BACKEND_SECRET` or `POSTGRES_PASSWORD` it is recommended store them in a [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/). -```console -quay.io/rhdh-community/rhdh:next +Create a new file named `my-backstage-secrets.yaml` containing the secrets you want to store: + +```yaml +# my-backstage-secrets.yaml +apiVersion: v1 +kind: Secret +metadata: + name: my-backstage-secrets +type: Opaque +data: + BACKEND_SECRET: YmFja3N0YWdl + POSTGRES_PASSWORD: aHVudGVyMg== ``` -Additionally this chart enhances the upstream Backstage chart with following OpenShift-specific features: +Make sure to customize the name of the secret by changing `metadata.name` properly. -### OpenShift Routes +Now create the new secret in your Kubernetes cluster by running the following command: -This chart offers a drop-in replacement for the `Ingress` resource already provided by the upstream chart via an OpenShift `Route`. +```bash +$ kubectl apply -f my-backstage-secrets.yaml` +``` -OpenShift routes are enabled by default. In order to use the chart without it, please set `route.enabled` to `false` and switch to the `Ingress` resource via `upstream.ingress` values. +Once the secret has been created, pass the secret's reference to your backstage instance by adding the following lines to your `values.yaml`: -Routes can be further configured via the `route` field. +```diff + backstage: ++ extraEnvVarsSecrets: ++ - my-backstage-secrets +``` -To manually provide the Backstage pod with the right context, please add the following value: +The chart will make sure to pass the secrets to your Backstage instance. -```yaml -# values.yaml -global: - clusterRouterBase: apps.example.com -``` +### Pass extra configuration files -> Tip: you can use `helm upgrade -i --set global.clusterRouterBase=apps.example.com ...` instead of a value file +A generated Backstage docker image contains some static configuration files, such as `app-config.yaml` and `app-config.production.yaml`. +It is possible to pass extra configuration files by defining them as [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/), without rebuilding the Docker image. -Custom hosts are also supported via the following shorthand: +To do so, run: -```yaml -# values.yaml -global: - host: backstage.example.com +```bash +$ kubectl create configmap my-app-config --from-file=app-config.extra.yaml=./local/path/to/your/app-config.extra.yaml` ``` -> Note: Setting either `global.host` or `global.clusterRouterBase` will disable the automatic hostname discovery. - When both fields are set, `global.host` will take precedence. - These are just templating shorthands. For full manual configuration please pay attention to values under the `route` key. +This command parses your local `app-config.extra.yaml` and creates a new ConfigMap called `my-app-config` which internally contains a file called `app-config.extra.yaml` with the content of the parsed file. -Any custom modifications to how backstage is being exposed may require additional changes to the `values.yaml`: +Now that the ConfigMap has been created on your Kubernetes cluster, you can reference the ConfigMap: -```yaml -# values.yaml -upstream: +```diff backstage: - appConfig: - app: - baseUrl: 'https://{{- include "rhdh.hostname" . }}' - backend: - baseUrl: 'https://{{- include "rhdh.hostname" . }}' - cors: - origin: 'https://{{- include "rhdh.hostname" . }}' ++ extraAppConfig: ++ - filename: app-config.extra.yaml ++ configMapRef: my-app-config ``` -### Catalog Index Configuration +The chart will mount the content of the ConfigMap as a new `app-config.extra.yaml` file and automatically pass the extra configuration to your instance. -The chart supports automatic plugin discovery through a catalog index OCI image. This is configured via `global.catalogIndex.image` (with `registry`, `repository`, and `tag` fields) and lets you use a pre-defined set of dynamic plugins. +### Pass configuration to be stored in a ConfigMap -For detailed information on configuring the catalog index, including how to override the default image or use a private registry, see the [Catalog Index Configuration documentation](../../docs/catalog-index-configuration.md). +> :warning: In case of using both appConfig and extraAppConfig, appConfig will have higher priority over extraAppConfig. For more information you can check the [Backstage docs](https://backstage.io/docs/conf/writing#configuration-files) and how this [Helm Chart configures the Backstage arguments](templates/backstage-deployment.yaml) -### Vanilla Kubernetes compatibility mode +In addition to following the [previous step "Pass extra configuration files"](#pass-extra-configuration-files), you can get the Config Map automatically deployed with this Helm Chart by defining the key `appConfig`: -To deploy this chart on vanilla Kubernetes or any other non-OCP platform, apply the following changes. Note that further customizations might be required, depending on your exact Kubernetes setup: - -```yaml -# values.yaml -global: - host: # Specify your own Ingress host -route: - enabled: false # OpenShift Routes do not exist on vanilla Kubernetes -upstream: - ingress: - enabled: true # Use Kubernetes Ingress instead of OpenShift Route +```diff backstage: - podSecurityContext: # Vanilla Kubernetes doesn't feature OpenShift default SCCs with dynamic UIDs, adjust accordingly to the deployed image - runAsUser: 1001 - runAsGroup: 1001 - fsGroup: 1001 - postgresql: - primary: - podSecurityContext: - enabled: true - fsGroup: 26 - runAsUser: 26 - volumePermissions: - enabled: true ++ appConfig: ++ app: ++ baseUrl: https://somedomain.tld ``` -## Installing RHDH with Orchestrator on OpenShift +The chart will mount the content of the ConfigMap as a new `app-config-from-configmap.yaml` file and automatically pass the extra configuration to your instance. -Orchestrator brings serverless workflows into Backstage, focusing on the journey for application migration to the cloud, onboarding developers, and user-made workflows of Backstage actions or external systems. -Orchestrator is a flavor of RHDH, and can be installed alongside RHDH in the same namespace and in the following way: +### Configuring Chart PostgreSQL -1. Have an admin install the [orchestrator-infra Helm Chart](https://github.com/redhat-developer/rhdh-chart/tree/main/charts/orchestrator-infra#readme), which will install the prerequisites required to deploy the Orchestrator-flavored RHDH. This process will include installing cluster-wide resources, so should be done with admin privileges: -``` -helm repo add bitnami https://charts.bitnami.com/bitnami -helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart +With the Backstage Helm Chart, it offers - as a subchart - a Bitnami PostgreSQL database. This can be enabled by switching `postgresql.enabled` to true (it is `false` by default). If switched on, the Helm Chart, on deployment, will automatically deploy a PostgreSQL instance and configure it with the credentials you specify. There are multiple ways of doing this that will be detailed below. -helm install redhat-developer/redhat-developer-hub-orchestrator-infra -``` -2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed. To do so, follow the post-install notes given by the chart, or see them [here](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/orchestrator-infra/templates/NOTES.txt) -3. Install the `backstage` chart with Helm, enabling orchestrator, like so: +#### Automatic Database Credential Creation -``` -helm install redhat-developer/backstage --set orchestrator.enabled=true -``` -Note that serverlessLogicOperator, and serverlessOperator are enabled by default. They can be disabled together or seperately by passing the following flags: -`--set orchestrator.serverlessLogicOperator.enabled=false --set orchestrator.serverlessOperator.enabled=false` +This is the easiest of the configuration options. Here, the credentials for both the Admin and Database users will be automatically generated and put into a Kubernetes secret. This will then be automatically used by Backstage. In order to use this method, ensure the following: -### Enablement of Notifications Plugin +- Keep `postgresql.auth.existingSecret` & `postgresql.auth.password` empty. -Workflows running with Orchestrator may use the Notifications plugin. -For this, you must enable the Notifications and Signals plugins. -To do so, you would need to edit the [default Helm values.yaml](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/backstage/values.yaml) file, and add the plugins listed below to the global.dynamic.plugins list. -Do this before installing the Helm Chart, or upgrade the Helm release with the new values file. +#### Specifying Password for PostgreSQL to Use -```yaml -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-notifications" -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-signals" -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-notifications-backend-dynamic" -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic" -``` -Enabling these plugins will allow you to recieve notifications from workflows running with Orchestrator. +Here, you can specify the password that you want PostgreSQL to use for its Database User (The user that Backstage will use to connect to the database). In order to use this method, ensure the following: -### Using Orchestrator while configuring an ExternalDB +- Keep `postgresql.auth.existingSecret` empty. +- Set `postgresql.auth.password` to your desired User password value. -To use orchestrator with an external DB, please follow the instructions in [our documentation](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md) -and populate the following values in the values.yaml: -```bash - externalDBsecretRef: - externalDBName: "" - externalDBHost: "" - externalDBPort: "" -``` -The values for externalDBHost and externalDBPort should match the ones configured in the cred-secret. +> **_NOTE:_** Be careful that you provide this value securely. -Please note that `externalDBName` is the name of the user-configured existing database, not the database that the orchestrator and sonataflow resources will use. -A Job will run to create the 'sonataflow' database in the external database for the workflows to use. +#### Specifying Existing Secret for PostgreSQL to Use -Finally, install the Helm Chart (including [setting up the external DB](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md)): -``` -helm install redhat-developer/backstage \ - --set orchestrator.enabled=true \ - --set orchestrator.sonataflowPlatform.externalDBsecretRef= \ - --set orchestrator.sonataflowPlatform.externalDBName=example \ - --set orchestrator.sonataflowPlatform.externalDBHost=example \ - --set orchestrator.sonataflowPlatform.externalDBPort=example -``` \ No newline at end of file +Here, you can specify an existing Kubernetes secret that you have created which contains the Password that you want PostgreSQL to use. The secret must be in the same namespace as where you are deploying the Helm Chart. In order to use this method, ensure the following: + +- Create the Kubernetes secret with the Password inside. +- Set `postgresql.auth.existingSecret` to the name of the Secret +- PostgreSQL by default will look for the relevant Password keys that are set by default here `postgresql.auth.secretKeys`. So make sure that the Keys in the Secret match the default `secretKeys` values. More information [here](https://artifacthub.io/packages/helm/bitnami/postgresql) +- For example, if you want PostgreSQL to use an existing Secret called `my-user-secret` that has the User password that you want to use inside it: make sure that you create a Key inside that secret called `user-password` (this key can be found here `postgresql.auth.secretKeys.userPasswordKey`). i.e. `user-password=Password123`. diff --git a/charts/backstage/README.md.gotmpl b/charts/backstage/README.md.gotmpl index e82f7acb..7c26da3f 100644 --- a/charts/backstage/README.md.gotmpl +++ b/charts/backstage/README.md.gotmpl @@ -1,7 +1,8 @@ -# RHDH Backstage Helm Chart for OpenShift +# Backstage Helm Chart {{ template "chart.deprecationWarning" . }} +[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage) {{ template "chart.versionBadge" . }} {{ template "chart.typeBadge" . }} @@ -9,25 +10,24 @@ {{ template "chart.homepageLine" . }} -## Productized RHDH +{{ template "chart.maintainersSection" . }} -This repository now provides the productized RHDH chart. -For the **Generally Available** version of this chart, see: +{{ template "chart.sourcesSection" . }} -* https://github.com/openshift-helm-charts/charts - official releases to https://charts.openshift.io/ +--- -{{ template "chart.maintainersSection" . }} +[Backstage](https://backstage.io) is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy. -{{ template "chart.sourcesSection" . }} +Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end. +> Disclaimer: This Helm chart deploys a pre-packaged container image which contains a vanilla Backstage instance for demo purposes. This image is probably not suitable for use in production. For further customization of the Backstage instance (plugin installation, UI changes, etc.) please create your own custom instance and container image. For details please consult the [Backstage documentation](https://backstage.io/docs) ## TL;DR ```console -helm repo add bitnami https://charts.bitnami.com/bitnami -helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart +helm repo add backstage https://backstage.github.io/charts -helm install my-backstage redhat-developer/backstage --version {{ template "chart.version" . }} +helm install my-release backstage/backstage ``` ## Introduction @@ -36,108 +36,53 @@ This chart bootstraps a [Backstage](https://backstage.io/docs/deployment/docker) ## Prerequisites -- Kubernetes 1.27+ ([OpenShift 4.14+](https://docs.redhat.com/en/documentation/openshift_container_platform/4.14/html-single/release_notes/index#ocp-4-14-about-this-release)) -- Helm 3.10+ or [latest release](https://github.com/helm/helm/releases) +- Kubernetes 1.25+ +- Helm 3.10+ minimum, 3.14+ recommended - PV provisioner support in the underlying infrastructure - [Backstage container image](https://backstage.io/docs/deployment/docker) +## Scope + +This chart focuses on providing users the same experience and functionality no matter what flavor of Kubernetes they use. This chart will support only patterns that are either customary for all Kubernetes flavors, are commonly used in the Bitnami charts ecosystem, and recognized as Backstage official patterns. + +We welcome other, more specialized, charts to use this canonical chart as a direct dependency, expanding the feature set further, beyond this scope. + +A list of derived charts: +- OpenShift specialized chart: [Janus Backstage Helm chart](https://github.com/janus-idp/helm-backstage/tree/main/charts/backstage) + ## Usage -Charts are available in the following formats: +Chart is available in the following formats: - [Chart Repository](https://helm.sh/docs/topics/chart_repository/) - [OCI Artifacts](https://helm.sh/docs/topics/registries/) -### Note - -Up-to-date instructions on installing RHDH through the chart can be found in the [installation docs](https://github.com/redhat-developer/rhdh-chart/tree/main/.rhdh/docs/installation-ci-charts.adoc). - ### Installing from the Chart Repository The following command can be used to add the chart repository: ```console -helm repo add bitnami https://charts.bitnami.com/bitnami -helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart +helm repo add backstage https://backstage.github.io/charts ``` -Once the chart has been added, install this chart. However before doing so, please review the default `values.yaml` and adjust as needed. - -- To get proper connection between frontend and backend of Backstage please update the `apps.example.com` to match your cluster host: - - ```yaml - global: - clusterRouterBase: apps.example.com - ``` - - > Tip: you can use `helm upgrade -i --set global.clusterRouterBase=apps.example.com ...` instead of a value file - -- If your cluster doesn't provide PVCs, you should disable PostgreSQL persistence via: - - ```yaml - upstream: - postgresql: - primary: - persistence: - enabled: false - ``` +Once the chart has been added, install one of the available charts: ```console -helm upgrade -i redhat-developer/backstage +helm upgrade -i backstage/backstage ``` ### Installing from an OCI Registry -Charts are also available in OCI format. The list of available releases can be found [here](https://quay.io/repository/rhdh/chart?tab=tags). +Chart is also available in OCI format. The list of available releases can be found [here](https://github.com/backstage/charts/pkgs/container/charts%2Fbackstage). Install one of the available versions: ```shell -helm upgrade -i oci://quay.io/rhdh/chart --version= +helm upgrade -i oci://ghcr.io/backstage/charts/backstage --version= ``` > **Tip**: List all releases using `helm list` -### Testing a Release - -Once an Helm Release has been deployed, you can test it using the [`helm test`](https://helm.sh/docs/helm/helm_test/) command: - -```sh -helm test -``` - -This will run a simple Pod in the cluster to check that the application deployed is up and running. - -You can control whether to disable this test pod or you can also customize the image it leverages. -See the `test.enabled` and `test.image` parameters in the [`values.yaml`](./values.yaml) file. - -> **Tip**: Disabling the test pod will not prevent the `helm test` command from passing later on. It will simply report that no test suite is available. - -Below are a few examples: - -
- -Disabling the test pod - -```sh -helm install \ - --set test.enabled=false -``` - -
- -
- -Customizing the test pod image - -```sh -helm install \ - --set test.image.repository=curl/curl-base \ - --set test.image.tag=8.11.1 -``` - -
- ### Uninstalling the Chart To uninstall/delete the `my-backstage-release` deployment: @@ -152,179 +97,130 @@ The command removes all the Kubernetes components associated with the chart and {{ template "chart.valuesSection" . }} -## Opinionated Backstage deployment +## Configure your Backstage instance -This chart defaults to an opinionated deployment of Backstage that provides user with a usable Backstage instance out of the box. +The Backstage Chart makes it possible to configure your backstage instance by passing extra environment variables or static configuration files, without rebuilding the docker image. -Features enabled by the default chart configuration: +### Environment variables -1. Uses [rhdh](https://github.com/redhat-developer/rhdh/) that pre-loads a lot of useful plugins and features -2. Exposes a `Route` for easy access to the instance -3. Enables OpenShift-compatible PostgreSQL database storage +Use `backstage.extraEnvVars` to pass extra environment variables. **This is used for environment variables containing non sensitive information:** -For additional instance features please consult the [documentation for `rhdh`](https://github.com/redhat-developer/rhdh/tree/main/showcase-docs). +```diff + backstage: ++ extraEnvVars: ++ - name: MY_PLUGIN_HOST ++ value: http://my-plugin-host +``` -Additional features can be enabled by extending the default configuration at: +It is possible to override values defined in your `app-config.yaml` by appending the `APP_CONFIG` prefix to each environment variable, as described in the [official documentation](https://backstage.io/docs/conf/#supplying-configuration). +For example, to override the `backend.cache.store` property defined in your `app-config.yaml`, do: -```yaml -upstream: +```diff backstage: - appConfig: - # Inline app-config.yaml for the instance extraEnvVars: - # Additional environment variables ++ - name: APP_CONFIG_backend_cache_store ++ value: memory ``` -## Features +### Sensitive environment variables -This charts defaults to using the [RHDH image](https://quay.io/rhdh-community/rhdh:next) that is OpenShift compatible: +In case your environment variables contain sensitive information, such as `BACKEND_SECRET` or `POSTGRES_PASSWORD` it is recommended store them in a [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/). -```console -quay.io/rhdh-community/rhdh:next +Create a new file named `my-backstage-secrets.yaml` containing the secrets you want to store: + +```yaml +# my-backstage-secrets.yaml +apiVersion: v1 +kind: Secret +metadata: + name: my-backstage-secrets +type: Opaque +data: + BACKEND_SECRET: YmFja3N0YWdl + POSTGRES_PASSWORD: aHVudGVyMg== ``` -Additionally this chart enhances the upstream Backstage chart with following OpenShift-specific features: +Make sure to customize the name of the secret by changing `metadata.name` properly. -### OpenShift Routes +Now create the new secret in your Kubernetes cluster by running the following command: -This chart offers a drop-in replacement for the `Ingress` resource already provided by the upstream chart via an OpenShift `Route`. +```bash +$ kubectl apply -f my-backstage-secrets.yaml` +``` -OpenShift routes are enabled by default. In order to use the chart without it, please set `route.enabled` to `false` and switch to the `Ingress` resource via `upstream.ingress` values. +Once the secret has been created, pass the secret's reference to your backstage instance by adding the following lines to your `values.yaml`: -Routes can be further configured via the `route` field. +```diff + backstage: ++ extraEnvVarsSecrets: ++ - my-backstage-secrets +``` -To manually provide the Backstage pod with the right context, please add the following value: +The chart will make sure to pass the secrets to your Backstage instance. -```yaml -# values.yaml -global: - clusterRouterBase: apps.example.com -``` +### Pass extra configuration files -> Tip: you can use `helm upgrade -i --set global.clusterRouterBase=apps.example.com ...` instead of a value file +A generated Backstage docker image contains some static configuration files, such as `app-config.yaml` and `app-config.production.yaml`. +It is possible to pass extra configuration files by defining them as [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/), without rebuilding the Docker image. -Custom hosts are also supported via the following shorthand: +To do so, run: -```yaml -# values.yaml -global: - host: backstage.example.com +```bash +$ kubectl create configmap my-app-config --from-file=app-config.extra.yaml=./local/path/to/your/app-config.extra.yaml` ``` -> Note: Setting either `global.host` or `global.clusterRouterBase` will disable the automatic hostname discovery. - When both fields are set, `global.host` will take precedence. - These are just templating shorthands. For full manual configuration please pay attention to values under the `route` key. +This command parses your local `app-config.extra.yaml` and creates a new ConfigMap called `my-app-config` which internally contains a file called `app-config.extra.yaml` with the content of the parsed file. -Any custom modifications to how backstage is being exposed may require additional changes to the `values.yaml`: +Now that the ConfigMap has been created on your Kubernetes cluster, you can reference the ConfigMap: -```yaml -# values.yaml -upstream: +```diff backstage: - appConfig: - app: - baseUrl: 'https://{{"{{"}}- include "rhdh.hostname" . {{"}}"}}' - backend: - baseUrl: 'https://{{"{{"}}- include "rhdh.hostname" . {{"}}"}}' - cors: - origin: 'https://{{"{{"}}- include "rhdh.hostname" . {{"}}"}}' ++ extraAppConfig: ++ - filename: app-config.extra.yaml ++ configMapRef: my-app-config ``` -### Catalog Index Configuration - -The chart supports automatic plugin discovery through a catalog index OCI image. This is configured via `global.catalogIndex.image` (with `registry`, `repository`, and `tag` fields) and lets you use a pre-defined set of dynamic plugins. +The chart will mount the content of the ConfigMap as a new `app-config.extra.yaml` file and automatically pass the extra configuration to your instance. -For detailed information on configuring the catalog index, including how to override the default image or use a private registry, see the [Catalog Index Configuration documentation](../../docs/catalog-index-configuration.md). +### Pass configuration to be stored in a ConfigMap -### Vanilla Kubernetes compatibility mode +> :warning: In case of using both appConfig and extraAppConfig, appConfig will have higher priority over extraAppConfig. For more information you can check the [Backstage docs](https://backstage.io/docs/conf/writing#configuration-files) and how this [Helm Chart configures the Backstage arguments](templates/backstage-deployment.yaml) -To deploy this chart on vanilla Kubernetes or any other non-OCP platform, apply the following changes. Note that further customizations might be required, depending on your exact Kubernetes setup: +In addition to following the [previous step "Pass extra configuration files"](#pass-extra-configuration-files), you can get the Config Map automatically deployed with this Helm Chart by defining the key `appConfig`: -```yaml -# values.yaml -global: - host: # Specify your own Ingress host -route: - enabled: false # OpenShift Routes do not exist on vanilla Kubernetes -upstream: - ingress: - enabled: true # Use Kubernetes Ingress instead of OpenShift Route +```diff backstage: - podSecurityContext: # Vanilla Kubernetes doesn't feature OpenShift default SCCs with dynamic UIDs, adjust accordingly to the deployed image - runAsUser: 1001 - runAsGroup: 1001 - fsGroup: 1001 - postgresql: - primary: - podSecurityContext: - enabled: true - fsGroup: 26 - runAsUser: 26 - volumePermissions: - enabled: true ++ appConfig: ++ app: ++ baseUrl: https://somedomain.tld ``` -## Installing RHDH with Orchestrator on OpenShift +The chart will mount the content of the ConfigMap as a new `app-config-from-configmap.yaml` file and automatically pass the extra configuration to your instance. -Orchestrator brings serverless workflows into Backstage, focusing on the journey for application migration to the cloud, onboarding developers, and user-made workflows of Backstage actions or external systems. -Orchestrator is a flavor of RHDH, and can be installed alongside RHDH in the same namespace and in the following way: +### Configuring Chart PostgreSQL -1. Have an admin install the [orchestrator-infra Helm Chart](https://github.com/redhat-developer/rhdh-chart/tree/main/charts/orchestrator-infra#readme), which will install the prerequisites required to deploy the Orchestrator-flavored RHDH. This process will include installing cluster-wide resources, so should be done with admin privileges: -``` -helm repo add bitnami https://charts.bitnami.com/bitnami -helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart +With the Backstage Helm Chart, it offers - as a subchart - a Bitnami PostgreSQL database. This can be enabled by switching `postgresql.enabled` to true (it is `false` by default). If switched on, the Helm Chart, on deployment, will automatically deploy a PostgreSQL instance and configure it with the credentials you specify. There are multiple ways of doing this that will be detailed below. -helm install redhat-developer/redhat-developer-hub-orchestrator-infra -``` -2. Manually approve the Install Plans created by the chart, and wait for the Openshift Serverless and Openshift Serverless Logic Operators to be deployed. To do so, follow the post-install notes given by the chart, or see them [here](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/orchestrator-infra/templates/NOTES.txt) -3. Install the `backstage` chart with Helm, enabling orchestrator, like so: +#### Automatic Database Credential Creation -``` -helm install redhat-developer/backstage --set orchestrator.enabled=true -``` -Note that serverlessLogicOperator, and serverlessOperator are enabled by default. They can be disabled together or seperately by passing the following flags: -`--set orchestrator.serverlessLogicOperator.enabled=false --set orchestrator.serverlessOperator.enabled=false` +This is the easiest of the configuration options. Here, the credentials for both the Admin and Database users will be automatically generated and put into a Kubernetes secret. This will then be automatically used by Backstage. In order to use this method, ensure the following: -### Enablement of Notifications Plugin +- Keep `postgresql.auth.existingSecret` & `postgresql.auth.password` empty. -Workflows running with Orchestrator may use the Notifications plugin. -For this, you must enable the Notifications and Signals plugins. -To do so, you would need to edit the [default Helm values.yaml](https://github.com/redhat-developer/rhdh-chart/blob/main/charts/backstage/values.yaml) file, and add the plugins listed below to the global.dynamic.plugins list. -Do this before installing the Helm Chart, or upgrade the Helm release with the new values file. +#### Specifying Password for PostgreSQL to Use -```yaml -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-notifications" -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-signals" -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-notifications-backend-dynamic" -- disabled: false - package: "./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic" -``` -Enabling these plugins will allow you to recieve notifications from workflows running with Orchestrator. +Here, you can specify the password that you want PostgreSQL to use for its Database User (The user that Backstage will use to connect to the database). In order to use this method, ensure the following: -### Using Orchestrator while configuring an ExternalDB +- Keep `postgresql.auth.existingSecret` empty. +- Set `postgresql.auth.password` to your desired User password value. -To use orchestrator with an external DB, please follow the instructions in [our documentation](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md) -and populate the following values in the values.yaml: -```bash - externalDBsecretRef: - externalDBName: "" - externalDBHost: "" - externalDBPort: "" -``` -The values for externalDBHost and externalDBPort should match the ones configured in the cred-secret. +> **_NOTE:_** Be careful that you provide this value securely. -Please note that `externalDBName` is the name of the user-configured existing database, not the database that the orchestrator and sonataflow resources will use. -A Job will run to create the 'sonataflow' database in the external database for the workflows to use. +#### Specifying Existing Secret for PostgreSQL to Use -Finally, install the Helm Chart (including [setting up the external DB](https://github.com/redhat-developer/rhdh-chart/blob/main/docs/external-db.md)): -``` -helm install redhat-developer/backstage \ - --set orchestrator.enabled=true \ - --set orchestrator.sonataflowPlatform.externalDBsecretRef= \ - --set orchestrator.sonataflowPlatform.externalDBName=example \ - --set orchestrator.sonataflowPlatform.externalDBHost=example \ - --set orchestrator.sonataflowPlatform.externalDBPort=example -``` \ No newline at end of file +Here, you can specify an existing Kubernetes secret that you have created which contains the Password that you want PostgreSQL to use. The secret must be in the same namespace as where you are deploying the Helm Chart. In order to use this method, ensure the following: + +- Create the Kubernetes secret with the Password inside. +- Set `postgresql.auth.existingSecret` to the name of the Secret +- PostgreSQL by default will look for the relevant Password keys that are set by default here `postgresql.auth.secretKeys`. So make sure that the Keys in the Secret match the default `secretKeys` values. More information [here](https://artifacthub.io/packages/helm/bitnami/postgresql) +- For example, if you want PostgreSQL to use an existing Secret called `my-user-secret` that has the User password that you want to use inside it: make sure that you create a Key inside that secret called `user-password` (this key can be found here `postgresql.auth.secretKeys.userPasswordKey`). i.e. `user-password=Password123`. diff --git a/charts/backstage/vendor/backstage/charts/backstage/artifacthub-repo.yml b/charts/backstage/artifacthub-repo.yml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/artifacthub-repo.yml rename to charts/backstage/artifacthub-repo.yml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/appConfig-values.yaml b/charts/backstage/ci/appConfig-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/appConfig-values.yaml rename to charts/backstage/ci/appConfig-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/autoscaling-values.yaml b/charts/backstage/ci/autoscaling-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/autoscaling-values.yaml rename to charts/backstage/ci/autoscaling-values.yaml diff --git a/charts/backstage/ci/default-values.yaml b/charts/backstage/ci/default-values.yaml index da4457ad..e69de29b 100644 --- a/charts/backstage/ci/default-values.yaml +++ b/charts/backstage/ci/default-values.yaml @@ -1,8 +0,0 @@ -# Workaround for kind cluster in CI which has no Routes and no PVCs -route: - enabled: false -upstream: - postgresql: - primary: - persistence: - enabled: false diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/extraDeploy-values.yaml b/charts/backstage/ci/extraDeploy-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/extraDeploy-values.yaml rename to charts/backstage/ci/extraDeploy-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/extraVolumes-values.yaml b/charts/backstage/ci/extraVolumes-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/extraVolumes-values.yaml rename to charts/backstage/ci/extraVolumes-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/image-digest-values.yaml b/charts/backstage/ci/image-digest-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/image-digest-values.yaml rename to charts/backstage/ci/image-digest-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/ingress-extraHosts-values.yaml b/charts/backstage/ci/ingress-extraHosts-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/ingress-extraHosts-values.yaml rename to charts/backstage/ci/ingress-extraHosts-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/ingress-values.yaml b/charts/backstage/ci/ingress-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/ingress-values.yaml rename to charts/backstage/ci/ingress-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/postgres-generated-creds-values.yaml b/charts/backstage/ci/postgres-generated-creds-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/postgres-generated-creds-values.yaml rename to charts/backstage/ci/postgres-generated-creds-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/postgres-provided-creds-values.yaml b/charts/backstage/ci/postgres-provided-creds-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/postgres-provided-creds-values.yaml rename to charts/backstage/ci/postgres-provided-creds-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/probes-values.yaml b/charts/backstage/ci/probes-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/probes-values.yaml rename to charts/backstage/ci/probes-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/service-dualstack-ip-family-values.yaml b/charts/backstage/ci/service-dualstack-ip-family-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/service-dualstack-ip-family-values.yaml rename to charts/backstage/ci/service-dualstack-ip-family-values.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/service-monitor.yaml b/charts/backstage/ci/service-monitor.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/service-monitor.yaml rename to charts/backstage/ci/service-monitor.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/topologySpreadConstraints-values.yaml b/charts/backstage/ci/topologySpreadConstraints-values.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/ci/topologySpreadConstraints-values.yaml rename to charts/backstage/ci/topologySpreadConstraints-values.yaml diff --git a/charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml b/charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml deleted file mode 100644 index 8a13ec41..00000000 --- a/charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml +++ /dev/null @@ -1,52 +0,0 @@ -# Workaround for kind cluster in CI which has no Routes -route: - enabled: false - -upstream: - postgresql: - primary: - persistence: - # This custom-sc storage class is created in the test GH Workflow - storageClass: custom-sc - - backstage: - extraVolumes: - # -- Ephemeral volume that will contain the dynamic plugins installed by the initContainer below at start. - - name: dynamic-plugins-root - ephemeral: - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - # -- Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. - storage: 3Gi - storageClassName: custom-sc - # Volume that will expose the `dynamic-plugins.yaml` file from the `dynamic-plugins` config map. - # The `dynamic-plugins` config map is created by the helm chart from the content of the `global.dynamic` field. - - name: dynamic-plugins - configMap: - defaultMode: 420 - name: '{{ printf "%s-dynamic-plugins" .Release.Name }}' - optional: true - # Optional volume that allows exposing the `.npmrc` file (through a `dynamic-plugins-npmrc` secret) - # to be used when running `npm pack` during the dynamic plugins installation by the initContainer. - - name: dynamic-plugins-npmrc - secret: - defaultMode: 420 - optional: true - secretName: '{{ printf "%s-dynamic-plugins-npmrc" .Release.Name }}' - # Optional volume that allows adding a container registry `auth.json` file (through a `dynamic-plugins-registry-auth` secret) - # to be used when installing plugins from secure container registries during the dynamic plugins installation by the initContainer. - - name: dynamic-plugins-registry-auth - secret: - defaultMode: 416 - optional: true - secretName: '{{ printf "%s-dynamic-plugins-registry-auth" .Release.Name }}' - - name: npmcacache - emptyDir: {} - - name: temp - emptyDir: {} - - name: extensions-catalog - emptyDir: {} diff --git a/charts/backstage/ci/with-custom-image-for-test-pod-values.yaml b/charts/backstage/ci/with-custom-image-for-test-pod-values.yaml deleted file mode 100644 index 121bb215..00000000 --- a/charts/backstage/ci/with-custom-image-for-test-pod-values.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Workaround for kind cluster in CI which has no Routes and no PVCs -route: - enabled: false -upstream: - postgresql: - primary: - persistence: - enabled: false - -test: - image: - registry: quay.io - repository: curl/curl-base - tag: 8.11.1 diff --git a/charts/backstage/ci/with-orchestrator-and-dynamic-plugins-npmrc-values.yaml b/charts/backstage/ci/with-orchestrator-and-dynamic-plugins-npmrc-values.yaml deleted file mode 100644 index d5db2ac1..00000000 --- a/charts/backstage/ci/with-orchestrator-and-dynamic-plugins-npmrc-values.yaml +++ /dev/null @@ -1,23 +0,0 @@ -route: - enabled: false - -upstream: - postgresql: - primary: - persistence: - enabled: false - -global: - dynamic: - plugins: - # Enable additional plugins, which should be merged with the Orchestrator plugins - - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-bulk-import-backend-dynamic - disabled: false - - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-bulk-import - disabled: false - -orchestrator: - enabled: true - -test: - injectTestNpmrcSecret: true diff --git a/charts/backstage/ci/with-orchestrator-values.yaml b/charts/backstage/ci/with-orchestrator-values.yaml deleted file mode 100644 index bf438861..00000000 --- a/charts/backstage/ci/with-orchestrator-values.yaml +++ /dev/null @@ -1,20 +0,0 @@ -route: - enabled: false - -upstream: - postgresql: - primary: - persistence: - enabled: false - -global: - dynamic: - plugins: - # Enable additional plugins, which should be merged with the Orchestrator plugins - - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-bulk-import-backend-dynamic - disabled: false - - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-bulk-import - disabled: false - -orchestrator: - enabled: true diff --git a/charts/backstage/ci/with-test-pod-disabled-values.yaml b/charts/backstage/ci/with-test-pod-disabled-values.yaml deleted file mode 100644 index 4a4257cb..00000000 --- a/charts/backstage/ci/with-test-pod-disabled-values.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# Workaround for kind cluster in CI which has no Routes and no PVCs -route: - enabled: false -upstream: - postgresql: - primary: - persistence: - enabled: false - -test: - enabled: false diff --git a/charts/backstage/templates/_helpers.tpl b/charts/backstage/templates/_helpers.tpl index e3b2968b..89f93b37 100644 --- a/charts/backstage/templates/_helpers.tpl +++ b/charts/backstage/templates/_helpers.tpl @@ -1,78 +1,74 @@ {{/* -Returns custom hostname +Return the proper image name */}} -{{- define "rhdh.hostname" -}} - {{- if .Values.global.host -}} - {{- .Values.global.host -}} - {{- else if .Values.global.clusterRouterBase -}} - {{- printf "%s-%s.%s" (include "common.names.fullname" .) .Release.Namespace .Values.global.clusterRouterBase -}} - {{- else -}} - {{ fail "Unable to generate hostname" }} - {{- end -}} +{{- define "backstage.image" -}} +{{ include "common.images.image" (dict "imageRoot" .Values.backstage.image "global" .Values.global) }} {{- end -}} {{/* -Returns a secret name for service to service auth +Return the proper Docker Image Registry Secret Names */}} -{{- define "rhdh.backend-secret-name" -}} - {{- if .Values.global.auth.backend.existingSecret -}} - {{- .Values.global.auth.backend.existingSecret -}} - {{- else -}} - {{- printf "%s-auth" .Release.Name -}} - {{- end -}} +{{- define "backstage.renderImagePullSecrets" -}} +{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.backstage.image) "context" $) -}} {{- end -}} {{/* -Sets the secretKeyRef name for Backstage to the PostgreSQL existing secret if it present -*/}} -{{- define "rhdh.postgresql.secretName" -}} - {{- if ((((.Values).global).postgresql).auth).existingSecret -}} - {{- .Values.global.postgresql.auth.existingSecret -}} - {{- else if .Values.postgresql.auth.existingSecret -}} - {{- .Values.postgresql.auth.existingSecret -}} - {{- else -}} - {{- printf "%s-%s" .Release.Name "postgresql" -}} - {{- end -}} + Create the name of the service account to use + */}} +{{- define "backstage.serviceAccountName" -}} +{{- if .Values.serviceAccount.create -}} + {{ default (include "common.names.fullname" .) .Values.serviceAccount.name }} +{{- else -}} + {{ default "default" .Values.serviceAccount.name }} {{- end -}} - -{{/* -Get the password secret. -Referenced from: https://github.com/bitnami/charts/blob/main/bitnami/postgresql/templates/_helpers.tpl#L94-L105 -*/}} -{{- define "postgresql.v1.secretName" -}} - {{- if .Values.global.postgresql.auth.existingSecret -}} - {{- printf "%s" (tpl .Values.global.postgresql.auth.existingSecret $) -}} - {{- else if .Values.auth.existingSecret -}} - {{- printf "%s" (tpl .Values.auth.existingSecret $) -}} - {{- else -}} - {{- printf "%s" (include "common.names.fullname" .) -}} - {{- end -}} {{- end -}} {{/* -DEPRECATED: The following templates are deprecated. Please use the corresponding "rhdh.*" templates instead. +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} +{{- define "backstage.postgresql.fullname" -}} +{{- include "common.names.dependency.fullname" (dict "chartName" "postgresql" "chartValues" .Values.postgresql "context" $) -}} +{{- end -}} {{/* -DEPRECATED: Use "rhdh.hostname" instead. -Returns custom hostname +Return the Postgres Database hostname */}} -{{- define "janus-idp.hostname" -}} - {{- include "rhdh.hostname" . -}} +{{- define "backstage.postgresql.host" -}} +{{- if eq .Values.postgresql.architecture "replication" }} +{{- include "backstage.postgresql.fullname" . -}}-primary +{{- else -}} +{{- include "backstage.postgresql.fullname" . -}} +{{- end -}} {{- end -}} {{/* -DEPRECATED: Use "rhdh.backend-secret-name" instead. -Returns a secret name for service to service auth +Return the Postgres Database Secret Name */}} -{{- define "janus-idp.backend-secret-name" -}} - {{- include "rhdh.backend-secret-name" . -}} +{{- define "backstage.postgresql.databaseSecretName" -}} +{{- if ((((.Values).global).postgresql).auth).existingSecret }} + {{- tpl .Values.global.postgresql.auth.existingSecret $ -}} +{{- else if .Values.postgresql.auth.existingSecret }} + {{- tpl .Values.postgresql.auth.existingSecret $ -}} +{{- else -}} + {{- default (include "backstage.postgresql.fullname" .) (tpl .Values.postgresql.auth.existingSecret $) -}} +{{- end -}} {{- end -}} {{/* -DEPRECATED: Use "rhdh.postgresql.secretName" instead. -Sets the secretKeyRef name for Backstage to the PostgreSQL existing secret if it present +Return the Postgres databaseSecret key to retrieve credentials for database */}} -{{- define "janus-idp.postgresql.secretName" -}} - {{- include "rhdh.postgresql.secretName" . -}} -{{- end -}} \ No newline at end of file +{{- define "backstage.postgresql.databaseSecretKey" -}} +{{- $defaultDatabaseSecretKey := "password" -}} +{{- if (or ((((.Values).global).postgresql).auth).existingSecret .Values.postgresql.auth.existingSecret) }} + {{- if (((((.Values).global).postgresql).auth).secretKeys).userPasswordKey -}} + {{- .Values.global.postgresql.auth.secretKeys.userPasswordKey -}} + {{- else if ((((.Values).postgresql).auth).secretKeys).userPasswordKey -}} + {{- .Values.postgresql.auth.secretKeys.userPasswordKey -}} + {{- else -}} + {{- print $defaultDatabaseSecretKey -}} + {{- end -}} +{{- else -}} + {{- print $defaultDatabaseSecretKey -}} +{{- end -}} +{{- end -}} diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/app-config-configmap.yaml b/charts/backstage/templates/app-config-configmap.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/app-config-configmap.yaml rename to charts/backstage/templates/app-config-configmap.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/backstage-deployment.yaml b/charts/backstage/templates/backstage-deployment.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/backstage-deployment.yaml rename to charts/backstage/templates/backstage-deployment.yaml diff --git a/charts/backstage/templates/dynamic-plugins-configmap.yaml b/charts/backstage/templates/dynamic-plugins-configmap.yaml deleted file mode 100644 index 321fd177..00000000 --- a/charts/backstage/templates/dynamic-plugins-configmap.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ printf "%s-dynamic-plugins" .Release.Name }} -data: - dynamic-plugins.yaml: | - {{- $dynamic := deepCopy .Values.global.dynamic }} - {{- $plugins := list }} - - {{- range .Values.global.dynamic.plugins }} - {{- $plugins = append $plugins . }} - {{- end }} - - {{- if .Values.orchestrator.enabled }} - {{- range .Values.orchestrator.plugins }} - {{- $plugins = append $plugins . }} - {{- end }} - {{- end }} - - {{- $_ := set $dynamic "plugins" $plugins }} - - {{- include "common.tplvalues.render" (dict "value" $dynamic "context" $) | nindent 4 }} diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/extra-list.yaml b/charts/backstage/templates/extra-list.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/extra-list.yaml rename to charts/backstage/templates/extra-list.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/hpa.yaml b/charts/backstage/templates/hpa.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/hpa.yaml rename to charts/backstage/templates/hpa.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/ingress.yaml b/charts/backstage/templates/ingress.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/ingress.yaml rename to charts/backstage/templates/ingress.yaml diff --git a/charts/backstage/templates/network-policies.yaml b/charts/backstage/templates/network-policies.yaml deleted file mode 100644 index 6cfb9e7a..00000000 --- a/charts/backstage/templates/network-policies.yaml +++ /dev/null @@ -1,81 +0,0 @@ -{{- if .Values.orchestrator.enabled }} -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: {{ .Release.Name }}-allow-infra-ns-to-workflow-ns - # Sonataflow and Workflows are using the RHDH target namespace. - namespace: {{ .Release.Namespace | quote }} -spec: - podSelector: {} - ingress: - - from: - - namespaceSelector: - matchLabels: - # Allow knative events to be delivered to workflows. - kubernetes.io/metadata.name: knative-eventing - - namespaceSelector: - matchLabels: - # Allow auxiliary knative function for workflow (such as m2k-save-transformation) - kubernetes.io/metadata.name: knative-serving - - namespaceSelector: - matchLabels: - # Allow communication between the serverless logic operator and the workflow namespace. - kubernetes.io/metadata.name: openshift-serverless-logic - ---- -# NetworkPolicy to unblock incoming traffic to the namespace -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: {{ .Release.Name }}-allow-external-communication - namespace: {{ .Release.Namespace | quote }} -spec: - podSelector: {} - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - # Allow knative events to be delivered to workflows. - policy-group.network.openshift.io/ingress: "" ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: {{ .Release.Name }}-allow-intra-network - namespace: {{ .Release.Namespace | quote }} -spec: - # Apply this policy to all pods in the namespace - podSelector: {} - # Specify policy type as 'Ingress' to control incoming traffic rules - policyTypes: - - Ingress - ingress: - - from: - # Allow ingress from any pod within the same namespace - - podSelector: {} - - -{{- end }} ---- -{{- if and .Values.orchestrator.enabled .Values.orchestrator.sonataflowPlatform.monitoring.enabled }} -# NetworkPolicy to allow openshift-user-workload-monitoring pods to access all pods within the workflow's namespace -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: {{ .Release.Name }}-allow-monitoring-to-sonataflow-and-workflows - namespace: {{ .Release.Namespace | quote }} -spec: - # Apply this policy to all pods in the namespace - podSelector: {} - # Specify policy type as 'Ingress' to control incoming traffic rules - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - # Allow openshift-user-workload-monitoring pods to access the workflow. - kubernetes.io/metadata.name: openshift-user-workload-monitoring -{{- end }} \ No newline at end of file diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/networkpolicy-egress.yaml b/charts/backstage/templates/networkpolicy-egress.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/networkpolicy-egress.yaml rename to charts/backstage/templates/networkpolicy-egress.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/networkpolicy.yaml b/charts/backstage/templates/networkpolicy.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/networkpolicy.yaml rename to charts/backstage/templates/networkpolicy.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/pdb.yaml b/charts/backstage/templates/pdb.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/pdb.yaml rename to charts/backstage/templates/pdb.yaml diff --git a/charts/backstage/templates/route.yaml b/charts/backstage/templates/route.yaml deleted file mode 100644 index 149c758f..00000000 --- a/charts/backstage/templates/route.yaml +++ /dev/null @@ -1,59 +0,0 @@ -{{- if .Values.route.enabled }} -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - name: {{ include "common.names.fullname" . }} - namespace: {{ .Release.Namespace | quote }} - labels: {{- include "common.labels.standard" . | nindent 4 }} - app.kubernetes.io/component: backstage - {{- if .Values.upstream.commonLabels }} - {{- include "common.tplvalues.render" ( dict "value" .Values.upstream.commonLabels "context" $ ) | nindent 4 }} - {{- end }} - {{- if or .Values.upstream.commonAnnotations .Values.route.annotations }} - annotations: - {{- if .Values.route.annotations }} - {{- include "common.tplvalues.render" ( dict "value" .Values.route.annotations "context" $) | nindent 4 }} - {{- end }} - {{- if .Values.upstream.commonAnnotations }} - {{- include "common.tplvalues.render" ( dict "value" .Values.upstream.commonAnnotations "context" $ ) | nindent 4 }} - {{- end }} - {{- end }} -spec: -{{- $host := tpl .Values.route.host . -}} -{{- if $host }} - host: {{ $host }} -{{- else }} - host: {{ include "rhdh.hostname" . }} -{{- end }} -{{- if .Values.route.path }} - path: {{ .Values.route.path }} -{{- end }} - port: - targetPort: {{ .Values.upstream.service.ports.name }} -{{- if .Values.route.tls.enabled }} - tls: - insecureEdgeTerminationPolicy: {{ .Values.route.tls.insecureEdgeTerminationPolicy }} - termination: {{ .Values.route.tls.termination }} - {{- if .Values.route.tls.key }} - key: | - {{- .Values.route.tls.key | nindent 6 }} - {{- end }} - {{- if .Values.route.tls.certificate }} - certificate: | - {{- .Values.route.tls.certificate | nindent 6 }} - {{- end }} - {{- if .Values.route.tls.caCertificate }} - caCertificate: | - {{- .Values.route.tls.caCertificate | nindent 6 }} - {{- end }} - {{- if .Values.route.tls.destinationCACertificate }} - destinationCACertificate: | - {{- .Values.route.tls.destinationCACertificate | nindent 6 }} - {{- end }} -{{- end }} - to: - kind: Service - name: {{ include "common.names.fullname" .Subcharts.upstream }} - weight: 100 - wildcardPolicy: {{ .Values.route.wildcardPolicy }} -{{- end }} diff --git a/charts/backstage/templates/secrets.yaml b/charts/backstage/templates/secrets.yaml deleted file mode 100644 index 648c668b..00000000 --- a/charts/backstage/templates/secrets.yaml +++ /dev/null @@ -1,19 +0,0 @@ -{{- if and (not .Values.global.auth.backend.existingSecret) .Values.global.auth.backend.enabled }} -apiVersion: v1 -kind: Secret -metadata: - name: {{ printf "%s-auth" .Release.Name }} - namespace: {{ .Release.Namespace | quote }} - labels: {{- include "common.labels.standard" . | nindent 4 }} - app.kubernetes.io/component: backstage - {{- if .Values.upstream.commonLabels }} - {{- include "common.tplvalues.render" ( dict "value" .Values.upstream.commonLabels "context" $ ) | nindent 4 }} - {{- end }} - annotations: - {{- if .Values.upstream.commonAnnotations }} - {{- include "common.tplvalues.render" ( dict "value" .Values.upstream.commonAnnotations "context" $ ) | nindent 4 }} - {{- end }} -type: Opaque -data: - backend-secret: {{ (ternary (randAlphaNum 24 ) .Values.global.auth.backend.value (empty .Values.global.auth.backend.value)) | b64enc | quote }} -{{- end }} diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/service.yaml b/charts/backstage/templates/service.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/service.yaml rename to charts/backstage/templates/service.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/serviceaccount.yaml b/charts/backstage/templates/serviceaccount.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/serviceaccount.yaml rename to charts/backstage/templates/serviceaccount.yaml diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/servicemonitor.yaml b/charts/backstage/templates/servicemonitor.yaml similarity index 100% rename from charts/backstage/vendor/backstage/charts/backstage/templates/servicemonitor.yaml rename to charts/backstage/templates/servicemonitor.yaml diff --git a/charts/backstage/templates/sonataflows.yaml b/charts/backstage/templates/sonataflows.yaml deleted file mode 100644 index d957f89d..00000000 --- a/charts/backstage/templates/sonataflows.yaml +++ /dev/null @@ -1,196 +0,0 @@ -{{- if and (default false .Values.orchestrator.enabled) (default false .Values.orchestrator.serverlessLogicOperator.enabled) }} -{{- $sonataflowplatformExists := lookup "sonataflow.org/v1alpha08" "SonataFlowPlatform" .Release.Namespace "sonataflow-platform" }} -{{- if and .Release.IsInstall $sonataflowplatformExists }} -{{- fail "Cannot create multiple sonataflowplatform in the same namespace, one already exists." }} -{{- end }} - -apiVersion: sonataflow.org/v1alpha08 -kind: SonataFlowPlatform -metadata: - name: sonataflow-platform - namespace: {{ .Release.Namespace }} -spec: - monitoring: - enabled: {{ .Values.orchestrator.sonataflowPlatform.monitoring.enabled }} - build: - template: - resources: - requests: - memory: {{ .Values.orchestrator.sonataflowPlatform.resources.requests.memory }} - cpu: {{ .Values.orchestrator.sonataflowPlatform.resources.requests.cpu }} - limits: - memory: {{ .Values.orchestrator.sonataflowPlatform.resources.limits.memory }} - cpu: {{ .Values.orchestrator.sonataflowPlatform.resources.limits.cpu }} - {{- if (and (.Values.orchestrator.sonataflowPlatform.eventing.broker.name) (.Values.orchestrator.sonataflowPlatform.eventing.broker.namespace)) }} - eventing: - broker: - ref: - apiVersion: eventing.knative.dev/v1 - kind: Broker - name: {{ .Values.orchestrator.sonataflowPlatform.eventing.broker.name }} - namespace: {{ .Values.orchestrator.sonataflowPlatform.eventing.broker.namespace }} - {{- end }} - services: - dataIndex: - enabled: true - persistence: - postgresql: -{{- if .Values.upstream.postgresql.enabled }} - secretRef: - name: {{ .Release.Name }}-postgresql-svcbind-postgres - userKey: username - passwordKey: password - serviceRef: - name: {{ .Release.Name }}-postgresql{{- if eq .Values.upstream.postgresql.architecture "replication" }}-primary{{- end }} - namespace: {{ .Release.Namespace }} - databaseName: sonataflow -{{- else }} - secretRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - userKey: POSTGRES_USER - passwordKey: POSTGRES_PASSWORD - jdbcUrl: jdbc:postgresql://{{ .Values.orchestrator.sonataflowPlatform.externalDBHost }}:{{ .Values.orchestrator.sonataflowPlatform.externalDBPort }}/sonataflow?currentSchema=data-index-service -{{- end }} -{{- if .Values.orchestrator.sonataflowPlatform.dataIndexImage }} - podTemplate: - container: - image: {{ .Values.orchestrator.sonataflowPlatform.dataIndexImage }} -{{- end }} - jobService: - enabled: true - persistence: - postgresql: -{{- if .Values.upstream.postgresql.enabled }} - secretRef: - name: {{ .Release.Name }}-postgresql-svcbind-postgres - userKey: username - passwordKey: password - serviceRef: - name: {{ .Release.Name }}-postgresql{{- if eq .Values.upstream.postgresql.architecture "replication" }}-primary{{- end }} - namespace: {{ .Release.Namespace }} - databaseName: sonataflow -{{- else }} - secretRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - userKey: POSTGRES_USER - passwordKey: POSTGRES_PASSWORD - jdbcUrl: jdbc:postgresql://{{ .Values.orchestrator.sonataflowPlatform.externalDBHost }}:{{ .Values.orchestrator.sonataflowPlatform.externalDBPort }}/sonataflow?currentSchema=jobs-service -{{- end }} -{{- if .Values.orchestrator.sonataflowPlatform.jobServiceImage }} - podTemplate: - container: - image: {{ .Values.orchestrator.sonataflowPlatform.jobServiceImage }} -{{- end }} ---- -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Release.Name }}-create-sonataflow-database - namespace: {{ .Release.Namespace }} -spec: - activeDeadlineSeconds: 120 - template: - spec: - initContainers: - - name: wait-for-db - securityContext: - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - runAsNonRoot: true - capabilities: - drop: - - ALL - image: "{{- tpl .Values.orchestrator.sonataflowPlatform.initContainerImage . -}}" - resources: - limits: - cpu: "100m" - memory: "64Mi" - requests: - cpu: "50m" - memory: "32Mi" - command: - - bash - - -c - - | -{{- if .Values.upstream.postgresql.enabled }} - dbHost="{{ .Release.Name }}-postgresql{{- if eq .Values.upstream.postgresql.architecture "replication" }}-primary{{- end }}" - dbPort="5432" -{{- else }} - dbHost=${POSTGRES_HOST} - dbPort=${POSTGRES_PORT} -{{- end }} - until timeout 2 bash -c ">/dev/tcp/$dbHost/$dbPort"; do - echo 'Waiting for DB...' - sleep 2 - done - echo 'Connection made!' -{{- if not .Values.upstream.postgresql.enabled }} - env: - - name: POSTGRES_HOST - valueFrom: - secretKeyRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - key: POSTGRES_HOST - - name: POSTGRES_PORT - valueFrom: - secretKeyRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - key: POSTGRES_PORT -{{- end }} - containers: - - name: psql - image: "{{- tpl .Values.orchestrator.sonataflowPlatform.createDBJobImage . -}}" - resources: - limits: - cpu: "100m" - memory: "128Mi" - requests: - cpu: "100m" - memory: "64Mi" - securityContext: - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - runAsNonRoot: true - capabilities: - drop: - - ALL - env: -{{- if .Values.upstream.postgresql.enabled }} - - name: PGPASSWORD - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-postgresql-svcbind-postgres - key: password -{{- else }} - - name: POSTGRES_HOST - valueFrom: - secretKeyRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - key: POSTGRES_HOST - - name: POSTGRES_USER - valueFrom: - secretKeyRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - key: POSTGRES_USER - - name: POSTGRES_PORT - valueFrom: - secretKeyRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - key: POSTGRES_PORT - - name: PGPASSWORD - valueFrom: - secretKeyRef: - name: {{ .Values.orchestrator.sonataflowPlatform.externalDBsecretRef }} - key: POSTGRES_PASSWORD -{{- end }} - command: [ "sh", "-c" ] -{{- if .Values.upstream.postgresql.enabled }} - args: - - "psql -h {{ .Release.Name }}-postgresql{{- if eq .Values.upstream.postgresql.architecture "replication" }}-primary{{- end }} -p 5432 -U postgres -c 'CREATE DATABASE sonataflow;' || echo WARNING: Could not create database" -{{- else }} - args: - - "psql -h ${POSTGRES_HOST} -p ${POSTGRES_PORT} -U ${POSTGRES_USER} -d {{ .Values.orchestrator.sonataflowPlatform.externalDBName }} -c 'CREATE DATABASE sonataflow;' || echo WARNING: Could not create database" -{{- end }} - restartPolicy: Never - backoffLimit: 2 -{{- end }} diff --git a/charts/backstage/templates/tests/test-connection.yaml b/charts/backstage/templates/tests/test-connection.yaml deleted file mode 100644 index 80ba9d1b..00000000 --- a/charts/backstage/templates/tests/test-connection.yaml +++ /dev/null @@ -1,40 +0,0 @@ -{{- if .Values.test.enabled }} -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "common.names.fullname" . }}-test-connection" - labels: {{- include "common.labels.standard" . | nindent 4 }} - app.kubernetes.io/component: backstage - {{- if .Values.upstream.commonLabels }} - {{- include "common.tplvalues.render" ( dict "value" .Values.upstream.commonLabels "context" $ ) | nindent 4 }} - {{- end }} - annotations: - helm.sh/hook: test -spec: - containers: - - name: curl - securityContext: - allowPrivilegeEscalation: false - readOnlyRootFilesystem: true - capabilities: - drop: ["ALL"] - resources: - requests: - cpu: 10m - memory: 20Mi - limits: - cpu: 10m - memory: 20Mi - livenessProbe: - exec: - command: - - ls - - /usr/bin/curl - image: "{{ .Values.test.image.registry }}/{{ .Values.test.image.repository }}:{{ .Values.test.image.tag }}" - imagePullPolicy: "" - command: ["/bin/sh", "-c"] - args: - - | - curl --connect-timeout 5 --max-time 20 --retry 20 --retry-delay 10 --retry-max-time 60 --retry-all-errors {{ include "common.names.fullname" . }}:{{ .Values.upstream.service.ports.backend }} - restartPolicy: Never -{{- end }} diff --git a/charts/backstage/templates/tests/test-secret.yaml b/charts/backstage/templates/tests/test-secret.yaml deleted file mode 100644 index 1dc407d5..00000000 --- a/charts/backstage/templates/tests/test-secret.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# RHDHBUGS-1893: test-only option to inject a user-provided dynamic plugins npmrc secret. -# Doing it this way because the secret name is dynamic and depends on the release name. -{{- if and .Values.test.enabled .Values.test.injectTestNpmrcSecret }} -apiVersion: v1 -kind: Secret -metadata: - name: '{{ .Release.Name }}-dynamic-plugins-npmrc' - annotations: - "helm.sh/hook": pre-install,pre-upgrade - "helm.sh/hook-weight": "-5" -immutable: true -stringData: - .npmrc: | - @myscope:registry=https://my-registry.example.com - //my-registry.example.com:_authToken=foo -{{- end }} diff --git a/charts/backstage/values.schema.json b/charts/backstage/values.schema.json index 34bdbbf6..ee86f19f 100644 --- a/charts/backstage/values.schema.json +++ b/charts/backstage/values.schema.json @@ -1,783 +1,201 @@ { - "$id": "https://raw.githubusercontent.com/redhat-developer/rhdh-chart/main/charts/backstage/values.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "global": { - "properties": { - "auth": { - "additionalProperties": false, - "properties": { - "backend": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": true, - "title": "Enable backend service to service authentication, unless configured otherwise it generates a secret value", - "type": "boolean" - }, - "existingSecret": { - "default": "", - "title": "Instead of generating a secret value, refer to existing secret", - "type": "string" - }, - "value": { - "default": "", - "title": "Instead of generating a secret value, use the following value", - "type": "string" - } - }, - "title": "Backend service to service authentication", - "type": "object" - } - }, - "title": "Enable service authentication within Backstage instance", - "type": "object" - }, - "catalogIndex": { - "additionalProperties": false, - "properties": { - "image": { - "additionalProperties": false, - "properties": { - "registry": { - "default": "quay.io", - "title": "Catalog index image registry", - "type": "string" - }, - "repository": { - "default": "rhdh/plugin-catalog-index", - "title": "Catalog index image repository", - "type": "string" - }, - "tag": { - "default": "1.10", - "title": "Catalog index image tag", - "type": "string" - } - }, - "title": "Catalog index image configuration", - "type": "object" - } - }, - "title": "Catalog index configuration for automatic plugin discovery. The `install-dynamic-plugins.py` script pulls this image if the `CATALOG_INDEX_IMAGE` environment variable is set. The `dynamic-plugins.default.yaml` file will be extracted and written to `dynamic-plugins-root` volume mount.", - "type": "object" - }, - "clusterRouterBase": { - "default": "apps.example.com", - "title": "Shorthand for users who do not want to specify a custom HOSTNAME. Used ONLY with the DEFAULT upstream.backstage.appConfig value and with OCP Route enabled.", - "type": "string" - }, - "dynamic": { - "additionalProperties": false, - "properties": { - "includes": { - "default": [ - "dynamic-plugins.default.yaml" - ], - "items": { - "type": "string" - }, - "title": "List of YAML files to include, each of which should contain a `plugins` array.", - "type": "array" - }, - "plugins": { - "items": { - "properties": { - "disabled": { - "default": false, - "title": "Disable the plugin.", - "type": "boolean" - }, - "integrity": { - "title": "Integrity checksum of the package. Optional for local packages and OCI packages. For OCI packages, you can specify the image digest in place of the tag in the 'package' field. Supported algorithms include: `sha512`, `sha384` and `sha256`. Refer to https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description for more information", - "type": "string" - }, - "package": { - "title": "Package specification of the dynamic plugin to install. It should be usable by the `npm pack` command (for NPM packages) or the `skopeo copy` command (for OCI packages).", - "type": "string" - }, - "pluginConfig": { - "title": "Optional plugin-specific app-config YAML fragment.", - "type": "object" - } - }, - "required": [ - "package" - ], - "type": "object" - }, - "title": "List of dynamic plugins that should be installed in the backstage application.", - "type": "array" - } - }, - "title": "Dynamic plugins configuration.", - "type": "object" - }, - "host": { - "default": "", - "title": "Custom hostname shorthand, overrides `global.clusterRouterBase`, `upstream.ingress.host`, `route.host`, and url values in `upstream.backstage.appConfig`", - "type": "string" - } - }, - "type": "object" - }, - "orchestrator": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": false, - "title": "enabled flag", - "type": "boolean" - }, - "plugins": { - "items": { - "properties": { - "disabled": { - "default": false, - "title": "Disable the plugin.", - "type": "boolean" - }, - "integrity": { - "title": "Integrity checksum of the package. Optional for local packages and OCI packages. For OCI packages, you can specify the image digest in place of the tag in the 'package' field. Supported algorithms include: `sha512`, `sha384` and `sha256`. Refer to https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description for more information", - "type": "string" - }, - "package": { - "title": "Package specification of the dynamic plugin to install. It should be usable by the `npm pack` command (for NPM packages) or the `skopeo copy` command (for OCI packages).", - "type": "string" - }, - "pluginConfig": { - "title": "Optional plugin-specific app-config YAML fragment.", - "type": "object" - } - }, - "required": [ - "package" - ], - "type": "object" - }, - "title": "List of orchestrator plugins and their configuration", - "type": "array" - }, - "serverlessLogicOperator": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": true, - "title": "enabled flag", - "type": "boolean" - } - }, - "title": "serverlessLogicOperator configuration", - "type": "object" - }, - "serverlessOperator": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": true, - "title": "enabled flag", - "type": "boolean" - } - }, - "title": "serverlessOperator configuration", - "type": "object" - }, - "sonataflowPlatform": { - "additionalProperties": false, - "properties": { - "createDBJobImage": { - "additionalProperties": false, - "title": "Image for the container used by the create-db job", - "type": "string" - }, - "dataIndexImage": { - "additionalProperties": false, - "title": "Image for the container used by the sonataflow data index", - "type": "string" - }, - "eventing": { - "additionalProperties": false, - "properties": { - "broker": { - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "title": "name value", - "type": "string" - }, - "namespace": { - "default": "", - "title": "namespace value", - "type": "string" - } - }, - "title": "broker configuration", - "type": "object" - } - }, - "title": "eventing configuration", - "type": "object" - }, - "externalDBHost": { - "additionalProperties": false, - "title": "Host for the user-configured external Database", - "type": "string" - }, - "externalDBName": { - "additionalProperties": false, - "title": "Name for the user-configured external Database", - "type": "string" - }, - "externalDBPort": { - "additionalProperties": false, - "title": "Port for the user-configured external Database", - "type": "string" - }, - "externalDBsecretRef": { - "additionalProperties": false, - "title": "Secret name for the user-created secret to connect an external DB", - "type": "string" - }, - "initContainerImage": { - "additionalProperties": false, - "title": "Image for the init container used by the create-db job", - "type": "string" - }, - "jobServiceImage": { - "additionalProperties": false, - "title": "Image for the container used by the sonataflow jobs service", - "type": "string" - }, - "monitoring": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": true, - "title": "enabled flag", - "type": "boolean" - } - }, - "title": "monitoring configuration", - "type": "object" - }, - "resources": { - "additionalProperties": false, - "properties": { - "limits": { - "additionalProperties": false, - "properties": { - "cpu": { - "default": "500m", - "title": "cpu value", - "type": "string" - }, - "memory": { - "default": "1Gi", - "title": "memory value", - "type": "string" - } - }, - "title": "limits configuration", - "type": "object" - }, - "requests": { - "additionalProperties": false, - "properties": { - "cpu": { - "default": "250m", - "title": "cpu value", - "type": "string" - }, - "memory": { - "default": "64Mi", - "title": "memory value", - "type": "string" - } - }, - "title": "requests configuration", - "type": "object" - } - }, - "title": "resources configuration", - "type": "object" - } - }, - "title": "sonataflowPlatform configuration", - "type": "object" - } - }, - "title": "orchestrator configuration", - "type": "object" - }, - "route": { - "additionalProperties": false, - "properties": { - "annotations": { - "default": {}, - "title": "Route specific annotations.", - "type": "object" - }, - "enabled": { - "default": true, - "title": "Enable the creation of the route resource.", - "type": "boolean" - }, - "host": { - "default": "{{ .Values.global.host }}", - "examples": [ - "https://bakstage.example.com" - ], - "title": "Set the host attribute to a custom value.", - "type": "string" - }, - "path": { - "default": "/", - "title": "Path that the router watches for, to route traffic for to the service.", - "type": "string" - }, - "tls": { - "additionalProperties": false, - "properties": { - "caCertificate": { - "default": "", - "title": "Cert authority certificate contents.", - "type": "string" - }, - "certificate": { - "default": "", - "title": "Certificate contents.", - "type": "string" - }, - "destinationCACertificate": { - "default": "", - "title": "Contents of the ca certificate of the final destination.", - "type": "string" - }, - "enabled": { - "default": true, - "title": "Enable TLS configuration for the host defined at `route.host` parameter.", - "type": "boolean" - }, - "insecureEdgeTerminationPolicy": { - "default": "Redirect", - "enum": [ - "Redirect", - "None", - "" - ], - "title": "Indicates the desired behavior for insecure connections to a route.", - "type": "string" - }, - "key": { - "default": "", - "title": "Key file contents.", - "type": "string" - }, - "termination": { - "default": "edge", - "enum": [ - "edge", - "reencrypt", - "passthrough" - ], - "title": "Specify TLS termination.", - "type": "string" - } - }, - "title": "Route TLS parameters.", - "type": "object" - }, - "wildcardPolicy": { - "default": "None", - "enum": [ - "None", - "Subdomain" - ], - "title": "Wildcard policy if any for the route.", - "type": "string" - } - }, - "title": "OpenShift Route parameters.", - "type": "object" - }, - "test": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": true, - "title": "Enable test configuration. If enabled, test resources will be created to verify the Helm Release has been successfully deployed using the `helm test` command.", - "type": "boolean" - }, - "image": { - "additionalProperties": false, - "properties": { - "registry": { - "default": "quay.io", - "title": "Registry to use for the test pod image.", - "type": "string" - }, - "repository": { - "default": "curl/curl", - "title": "Repository to use for the test pod image.", - "type": "string" - }, - "tag": { - "default": "latest", - "title": "Tag to use for the test pod image.", - "type": "string" - } - }, - "title": "Image to use for the test pod. Note that the image needs to have both the `sh` and `curl` binaries in it.", - "type": "object" - }, - "injectTestNpmrcSecret": { - "default": false, - "title": "Whether to inject a fake dynamic plugins npmrc secret. This is only used for testing purposes and should not be used in production. It is only relevant when `test.enabled` field is set to `true`.", - "type": "boolean" - } - }, - "title": "Test configuration for the Backstage chart.", - "type": "object" - }, - "upstream": { - "properties": { - "backstage": { - "additionalProperties": false, - "properties": { - "affinity": { - "default": {}, - "description": "Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity", - "properties": { - "nodeAffinity": { - "description": "Node affinity is a group of node affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", - "items": { - "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", - "properties": { - "preference": { - "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", - "properties": { - "matchExpressions": { - "description": "A list of node selector requirements by node's labels.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchFields": { - "description": "A list of node selector requirements by node's fields.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "weight": { - "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer" - } - }, - "required": [ - "weight", - "preference" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", - "properties": { - "nodeSelectorTerms": { - "description": "Required. A list of node selector terms. The terms are ORed.", - "items": { - "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", - "properties": { - "matchExpressions": { - "description": "A list of node selector requirements by node's labels.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" + "backstage": { + "additionalProperties": false, + "properties": { + "affinity": { + "default": {}, + "description": "Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity", + "properties": { + "nodeAffinity": { + "description": "Node affinity is a group of node affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "properties": { + "preference": { + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchFields": { - "description": "A list of node selector requirements by node's fields.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" }, - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "required": [ - "nodeSelectorTerms" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "preference" + ], + "type": "object" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "podAffinity": { - "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", "items": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { - "podAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", - "items": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "The label key that the selector applies to.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", - "items": { + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", - "items": { + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "The label key that the selector applies to.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } + "required": [ + "key", + "operator" + ], + "type": "object" }, - "required": [ - "topologyKey" - ], - "type": "object" - }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "required": [ - "weight", - "podAffinityTerm" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, "type": "array", "x-kubernetes-list-type": "atomic" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "items": { + } + }, + "required": [ + "nodeSelectorTerms" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "podAffinity": { + "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "properties": { + "podAffinityTerm": { "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", "properties": { "labelSelector": { @@ -904,164 +322,165 @@ ], "type": "object" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "podAffinityTerm" + ], + "type": "object" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "podAntiAffinity": { - "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "items": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", + "properties": { + "labelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "podAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", - "items": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", - "items": { + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } + "required": [ + "key", + "operator" + ], + "type": "object" }, - "required": [ - "topologyKey" - ], - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer" + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "required": [ - "weight", - "podAffinityTerm" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", + "type": "string" + } }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "items": { + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "podAntiAffinity": { + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "properties": { + "podAffinityTerm": { "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", "properties": { "labelSelector": { @@ -1188,726 +607,615 @@ ], "type": "object" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "weight", + "podAffinityTerm" + ], + "type": "object" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", + "properties": { + "labelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "title": "Affinity for pod assignment", "type": "object" + } + }, + "title": "Affinity for pod assignment", + "type": "object" + }, + "annotations": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Additional custom annotations for the `Deployment` resource", + "type": "object" + }, + "appConfig": { + "default": {}, + "examples": [ + { + "app": { + "baseUrl": "https://somedomain.tld" + } + } + ], + "title": "Generates ConfigMap and configures it in the Backstage pods", + "type": [ + "object", + "string" + ] + }, + "args": { + "default": [], + "items": { + "type": "string" + }, + "title": "Backstage container command arguments", + "type": "array" + }, + "autoscaling": { + "additionalProperties": false, + "properties": { + "enabled": { + "default": false, + "description": "Enable autoscaling", + "title": "Backstage Autoscaling", + "type": "boolean" }, - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom annotations for the `Deployment` resource", - "type": "object" + "maxReplicas": { + "default": 100, + "title": "Maximum number of Backstage pod replicas that the autoscaler is allowed to scale up to", + "type": "integer" + }, + "minReplicas": { + "default": 1, + "title": "Minimum number of Backstage pod replicas that the autoscaler is allowed to scale down to", + "type": "integer" + }, + "targetCPUUtilizationPercentage": { + "default": 80, + "title": "Percentage of CPU that each Backstage pod should be using on average before the autoscaler decides to scale", + "type": "integer" + }, + "targetMemoryUtilizationPercentage": { + "title": "Percentage of memory that each Backstage pod should be using on average before the autoscaler decides to scale", + "type": "integer" + } + }, + "title": "Autoscaling parameters", + "type": "object" + }, + "command": { + "default": [ + "node", + "packages/backend" + ], + "items": { + "type": "string" + }, + "title": "Backstage container command", + "type": "array" + }, + "containerPorts": { + "additionalProperties": false, + "properties": { + "backend": { + "default": 7007, + "title": "Backstage backend port.", + "type": "integer" + } + }, + "title": "Container ports on the Deployment", + "type": "object" + }, + "containerSecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" }, - "appConfig": { - "default": { - "app": { - "baseUrl": "https://{{- include \"rhdh.hostname\" . }}" - }, - "auth": { - "providers": {} + "appArmorProfile": { + "description": "AppArmorProfile defines a pod or container's AppArmor settings.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "type": "string" }, - "backend": { - "auth": { - "externalAccess": [ - { - "options": { - "secret": "${BACKEND_SECRET}", - "subject": "legacy-default-config" - }, - "type": "legacy" - } - ] - }, - "baseUrl": "https://{{- include \"rhdh.hostname\" . }}", - "cors": { - "origin": "https://{{- include \"rhdh.hostname\" . }}" - }, - "database": { - "connection": { - "password": "${POSTGRESQL_ADMIN_PASSWORD}", - "user": "postgres" - } - } + "type": { + "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" } }, - "examples": [ + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ { - "app": { - "baseUrl": "https://somedomain.tld" + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" } } - ], - "title": "Generates ConfigMap and configures it in the Backstage pods", - "type": [ - "object", - "string" ] }, - "args": { - "default": [ - "--config", - "dynamic-plugins-root/app-config.dynamic-plugins.yaml" - ], - "items": { - "type": "string" - }, - "title": "Backstage container command arguments", - "type": "array" - }, - "autoscaling": { - "additionalProperties": false, + "capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", "properties": { - "enabled": { - "default": false, - "description": "Enable autoscaling", - "title": "Backstage Autoscaling", - "type": "boolean" - }, - "maxReplicas": { - "default": 100, - "title": "Maximum number of Backstage pod replicas that the autoscaler is allowed to scale up to", - "type": "integer" - }, - "minReplicas": { - "default": 1, - "title": "Minimum number of Backstage pod replicas that the autoscaler is allowed to scale down to", - "type": "integer" - }, - "targetCPUUtilizationPercentage": { - "default": 80, - "title": "Percentage of CPU that each Backstage pod should be using on average before the autoscaler decides to scale", - "type": "integer" + "add": { + "description": "Added capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "targetMemoryUtilizationPercentage": { - "title": "Percentage of memory that each Backstage pod should be using on average before the autoscaler decides to scale", - "type": "integer" + "drop": { + "description": "Removed capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "title": "Autoscaling parameters", "type": "object" }, - "command": { - "default": [], - "items": { - "type": "string" - }, - "title": "Backstage container command", - "type": "array" + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" }, - "containerPorts": { - "additionalProperties": false, - "properties": { - "backend": { - "default": 7007, - "title": "Backstage backend port.", - "type": "integer" - } - }, - "title": "Container ports on the Deployment", - "type": "object" + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" }, - "containerSecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "seLinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "level": { + "description": "Level is SELinux level label that applies to the container.", "type": "string" }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", - "type": "string" - }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" } }, "type": "object" }, - "extraAppConfig": { - "default": [], - "items": { - "additionalProperties": false, - "properties": { - "configMapRef": { - "type": "string" - }, - "filename": { - "type": "string" - } + "seccompProfile": { + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" }, - "type": "object" + "type": { + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", + "type": "string" + } }, - "title": "Extra app configuration files to inline into command arguments", - "type": "array" - }, - "extraContainers": { - "default": [], - "items": { - "description": "A single application container that you want to run within a pod.", - "properties": { - "args": { - "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "command": { - "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "description": "EnvVar represents an environment variable present in a Container.", - "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" - }, - "valueFrom": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "secretKeyRef": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - } - }, - "required": [ - "name" - ], - "type": "object" + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "windowsOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "extraAppConfig": { + "default": [], + "items": { + "additionalProperties": false, + "properties": { + "configMapRef": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "type": "object" + }, + "title": "Extra app configuration files to inline into command arguments", + "type": "array" + }, + "extraContainers": { + "default": [], + "items": { + "description": "A single application container that you want to run within a pod.", + "properties": { + "args": { + "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "value": { + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { - "configMapRef": { - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + "configMapKeyRef": { + "description": "Selects a key from a ConfigMap.", "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, "name": { "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { - "description": "Specify whether the ConfigMap must be defined", + "description": "Specify whether the ConfigMap or its key must be defined", "type": "boolean" } }, - "type": "object" + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "prefix": { - "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", - "type": "string" + "fieldRef": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "secretRef": { - "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "resourceFieldRef": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "SecretKeySelector selects a key of a Secret.", + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, "name": { "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { - "description": "Specify whether the Secret must be defined", + "description": "Specify whether the Secret or its key must be defined", "type": "boolean" } }, - "type": "object" + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" } }, "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "image": { - "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" + } }, - "lifecycle": { - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", - "properties": { - "postStart": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "properties": { + "configMapRef": { + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" }, - "type": "object" + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } }, - "preStop": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } + "type": "object" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" }, - "type": "object" + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } }, - "stopSignal": { - "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", - "type": "string" - } - }, - "type": "object" + "type": "object" + } }, - "livenessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", + "properties": { + "postStart": { + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", "properties": { "exec": { "description": "ExecAction describes a \"run in container\" action.", @@ -1923,27 +1231,6 @@ }, "type": "object" }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { @@ -1998,17 +1285,19 @@ ], "type": "object" }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "sleep": { + "description": "SleepAction describes a \"sleep\" action.", + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" }, "tcpSocket": { "description": "TCPSocketAction describes an action based on opening a socket", @@ -2032,64 +1321,12 @@ "port" ], "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" } }, "type": "object" }, - "name": { - "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "type": "string" - }, - "ports": { - "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", - "items": { - "description": "ContainerPort represents a network port in a single container.", - "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", - "type": "string" - }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer" - }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", - "type": "string" - }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", - "type": "string" - } - }, - "required": [ - "containerPort" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "containerPort", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "containerPort", - "x-kubernetes-patch-strategy": "merge" - }, - "readinessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "preStop": { + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", "properties": { "exec": { "description": "ExecAction describes a \"run in container\" action.", @@ -2105,27 +1342,6 @@ }, "type": "object" }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { @@ -2180,17 +1396,19 @@ ], "type": "object" }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "sleep": { + "description": "SleepAction describes a \"sleep\" action.", + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" }, "tcpSocket": { "description": "TCPSocketAction describes an action based on opening a socket", @@ -2214,2948 +1432,2913 @@ "port" ], "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" } }, "type": "object" }, - "resizePolicy": { - "description": "Resources resize policy for the container.", - "items": { - "description": "ContainerResizePolicy represents resource resize policy for the container.", - "properties": { - "resourceName": { - "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + }, + "type": "object" + }, + "livenessProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { "type": "string" }, - "restartPolicy": { - "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", - "type": "string" - } + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" }, - "required": [ - "resourceName", - "restartPolicy" - ], - "type": "object" + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "required": [ + "port" + ], + "type": "object" }, - "resources": { - "description": "ResourceRequirements describes the compute resource requirements.", + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { - "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", "items": { - "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "description": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { - "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", "type": "string" }, - "request": { - "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "value": { + "description": "The header field value", "type": "string" } }, "required": [ - "name" + "name", + "value" ], "type": "object" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" }, - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } }, + "required": [ + "port" + ], "type": "object" }, - "restartPolicy": { - "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", - "type": "string" + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" }, - "securityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "port": { + "oneOf": [ + { "type": "string" }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } + "type": "integer" } ] - }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "format": "int32", + "type": "integer" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { + "type": "string" }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", - "type": "string" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", "type": "integer" }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } + "required": [ + "name", + "value" + ], + "type": "object" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "oneOf": [ + { "type": "string" }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } + "type": "integer" } ] }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } }, + "required": [ + "port" + ], "type": "object" }, - "startupProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", + "port": { + "oneOf": [ + { "type": "string" }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + { + "type": "integer" } + ] + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "ResourceRequirements describes the compute resource requirements.", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "type": "string" }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" + } }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" }, - "required": [ - "port" - ], - "type": "object" + { + "type": "number" + } + ] + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + }, + "requests": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "AppArmorProfile defines a pod or container's AppArmor settings.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "type": "string" }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" + "type": { + "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", + "properties": { + "add": { + "description": "Added capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" + "drop": { + "description": "Removed capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "stdin": { - "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" - }, - "stdinOnce": { - "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", "type": "boolean" }, - "terminationMessagePath": { - "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", "type": "string" }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container.", - "items": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" - }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" }, - "required": [ - "name", - "devicePath" - ], - "type": "object" + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "devicePath" + "type": "object" + }, + "seccompProfile": { + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", + "type": "string" + } + }, + "required": [ + "type" ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "windowsOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "startupProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { "type": "string" }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" - } + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "required": [ - "name", - "mountPath" - ], - "type": "object" + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "mountPath" + "required": [ + "port" ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" + "type": "object" }, - "workingDir": { - "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", - "type": "string" + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" } }, - "required": [ - "name" - ], "type": "object" }, - "title": "Deployment sidecars.", - "type": "array" - }, - "extraEnvVars": { - "default": [ - { - "name": "BACKEND_SECRET", - "valueFrom": { - "secretKeyRef": { - "key": "backend-secret", - "name": "{{ include \"rhdh.backend-secret-name\" $ }}" + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" } - } + }, + "required": [ + "name", + "devicePath" + ], + "type": "object" }, - { - "name": "POSTGRESQL_ADMIN_PASSWORD", - "valueFrom": { - "secretKeyRef": { - "key": "postgres-password", - "name": "{{- include \"rhdh.postgresql.secretName\" . }}" + "type": "array", + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "type": "string" } - } - } - ], - "examples": [ - [ - { - "name": "APP_CONFIG_backend_cache_store", - "value": "memory" - } - ] - ], - "items": { - "description": "EnvVar represents an environment variable present in a Container.", + }, + "required": [ + "name", + "mountPath" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "title": "Deployment sidecars.", + "type": "array" + }, + "extraEnvVars": { + "default": [], + "examples": [ + [ + { + "name": "APP_CONFIG_backend_cache_store", + "value": "memory" + } + ] + ], + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" + "configMapKeyRef": { + "description": "Selects a key from a ConfigMap.", + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" + "fieldRef": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "valueFrom": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", + "resourceFieldRef": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { - "configMapKeyRef": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" }, - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "divisor": { + "oneOf": [ + { "type": "string" }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" + { + "type": "number" } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" + ] }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "SecretKeySelector selects a key of a Secret.", + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" }, - "secretKeyRef": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" } }, - "type": "object" + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" } }, - "required": [ - "name" - ], "type": "object" - }, - "title": "Backstage container environment variables", - "type": "array" + } }, - "extraEnvVarsCM": { - "default": [], - "description": "Translates into array of `envFrom.[].configMapRef.name`", - "examples": [ - [ - "my-backstage-configmap" - ] - ], - "items": { + "required": [ + "name" + ], + "type": "object" + }, + "title": "Backstage container environment variables", + "type": "array" + }, + "extraEnvVarsCM": { + "default": [], + "description": "Translates into array of `envFrom.[].configMapRef.name`", + "examples": [ + [ + "my-backstage-configmap" + ] + ], + "items": { + "type": "string" + }, + "title": "Backstage container environment variables from existing ConfigMaps", + "type": "array" + }, + "extraEnvVarsSecrets": { + "default": [], + "description": "Translates into array of `envFrom.[].secretRef.name`", + "examples": [ + [ + "my-backstage-secrets" + ] + ], + "items": { + "type": "string" + }, + "title": "Backstage container environment variables from existing Secrets", + "type": "array" + }, + "extraPorts": { + "default": [], + "items": { + "description": "ContainerPort represents a network port in a single container.", + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "format": "int32", + "type": "integer" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", "type": "string" }, - "title": "Backstage container environment variables from existing ConfigMaps", - "type": "array" + "hostPort": { + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", + "type": "string" + } }, - "extraEnvVarsSecrets": { - "default": [], - "description": "Translates into array of `envFrom.[].secretRef.name`", - "examples": [ - [ - "my-backstage-secrets" - ] - ], - "items": { + "required": [ + "containerPort" + ], + "type": "object" + }, + "title": "Extra ports to expose in the Backstage container", + "type": "array" + }, + "extraVolumeMounts": { + "default": [], + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", "type": "string" }, - "title": "Backstage container environment variables from existing Secrets", - "type": "array" + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } }, - "extraPorts": { - "default": [], - "items": { - "description": "ContainerPort represents a network port in a single container.", + "required": [ + "name", + "mountPath" + ], + "type": "object" + }, + "title": "Backstage container additional volume mounts", + "type": "array" + }, + "extraVolumes": { + "default": [], + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "properties": { + "awsElasticBlockStore": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "format": "int32", "type": "integer" }, - "hostIP": { - "description": "What host IP to bind the external port to.", + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "azureDisk": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", "type": "string" }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer" + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", "type": "string" }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" } }, "required": [ - "containerPort" + "diskName", + "diskURI" ], "type": "object" }, - "title": "Extra ports to expose in the Backstage container", - "type": "array" - }, - "extraVolumeMounts": { - "default": [ - { - "mountPath": "/opt/app-root/src/dynamic-plugins-root", - "name": "dynamic-plugins-root" - }, - { - "mountPath": "/extensions", - "name": "extensions-catalog" - }, - { - "mountPath": "/tmp", - "name": "temp" - } - ], - "items": { - "description": "VolumeMount describes a mounting of a Volume within a container.", + "azureFile": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", "type": "string" }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", + "shareName": { + "description": "shareName is the azure share Name", "type": "string" + } + }, + "required": [ + "secretName", + "shareName" + ], + "type": "object" + }, + "cephfs": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "name": { - "description": "This must match the Name of a Volume.", + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", "type": "string" }, "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "boolean" }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "type": "string" }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + }, + "required": [ + "monitors" + ], + "type": "object" + }, + "cinder": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", "type": "string" }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", "type": "string" } }, "required": [ - "name", - "mountPath" + "volumeID" ], "type": "object" }, - "title": "Backstage container additional volume mounts", - "type": "array" - }, - "extraVolumes": { - "default": [ - { - "ephemeral": { - "volumeClaimTemplate": { - "spec": { - "accessModes": [ - "ReadWriteOnce" - ], - "resources": { - "requests": { - "storage": "5Gi" - } + "configMap": { + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "items": { + "description": "Maps a string key to a path within a volume.", + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" + }, + "path": { + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" } - } - } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "name": "dynamic-plugins-root" - }, - { - "configMap": { - "defaultMode": 420, - "name": "{{ printf \"%s-dynamic-plugins\" .Release.Name }}", - "optional": true + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" }, - "name": "dynamic-plugins" - }, - { - "name": "dynamic-plugins-npmrc", - "secret": { - "defaultMode": 420, - "optional": true, - "secretName": "{{ printf \"%s-dynamic-plugins-npmrc\" .Release.Name }}" - } - }, - { - "name": "dynamic-plugins-registry-auth", - "secret": { - "defaultMode": 416, - "optional": true, - "secretName": "{{ printf \"%s-dynamic-plugins-registry-auth\" .Release.Name }}" + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" } }, - { - "emptyDir": {}, - "name": "npmcacache" - }, - { - "emptyDir": {}, - "name": "extensions-catalog" - }, - { - "emptyDir": {}, - "name": "temp" - } - ], - "items": { - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object" + }, + "csi": { + "description": "Represents a source location of a volume to mount, managed by an external CSI driver", "properties": { - "awsElasticBlockStore": { - "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - }, - "partition": { - "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer" - }, - "readOnly": { - "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" - }, - "volumeID": { - "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" + "driver": { + "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", + "type": "string" }, - "azureDisk": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "nodePublishSecretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { - "cachingMode": { - "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", - "type": "string" - }, - "diskName": { - "description": "diskName is the Name of the data disk in the blob storage", - "type": "string" - }, - "diskURI": { - "description": "diskURI is the URI of data disk in the blob storage", - "type": "string" - }, - "fsType": { - "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "kind": { - "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" - }, - "readOnly": { - "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" } }, - "required": [ - "diskName", - "diskURI" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "azureFile": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "properties": { - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretName": { - "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", - "type": "string" - }, - "shareName": { - "description": "shareName is the azure share Name", - "type": "string" - } + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "additionalProperties": { + "type": "string" }, - "required": [ - "secretName", - "shareName" - ], + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", "type": "object" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "downwardAPI": { + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" }, - "cephfs": { - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "monitors": { - "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" + "items": { + "description": "Items is a list of downward API volume file", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "properties": { + "fieldRef": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", - "type": "string" - }, - "readOnly": { - "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" - }, - "secretFile": { - "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "user": { - "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors" - ], - "type": "object" - }, - "cinder": { - "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "volumeID": { - "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "configMap": { - "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "items": { - "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", + "resourceFieldRef": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { - "key": { - "description": "key is the key to project.", + "containerName": { + "description": "Container name: required for volumes, optional for env vars", "type": "string" }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" + "divisor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "resource": { + "description": "Required: resource to select", "type": "string" } }, "required": [ - "key", - "path" + "resource" ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "type": "object", + "x-kubernetes-map-type": "atomic" + } }, - "optional": { - "description": "optional specify whether the ConfigMap or its keys must be defined", - "type": "boolean" - } + "required": [ + "path" + ], + "type": "object" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "emptyDir": { + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" }, - "csi": { - "description": "Represents a source location of a volume to mount, managed by an external CSI driver", - "properties": { - "driver": { - "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", - "type": "string" - }, - "fsType": { - "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", + "sizeLimit": { + "oneOf": [ + { "type": "string" }, - "nodePublishSecretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "readOnly": { - "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).", - "type": "boolean" - }, - "volumeAttributes": { - "additionalProperties": { - "type": "string" - }, - "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", - "type": "object" + { + "type": "number" } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "downwardAPI": { - "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + ] + } + }, + "type": "object" + }, + "ephemeral": { + "description": "Represents an ephemeral volume that is handled by a normal storage driver.", + "properties": { + "volumeClaimTemplate": { + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", "properties": { - "defaultMode": { - "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "items": { - "description": "Items is a list of downward API volume file", - "items": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", - "properties": { - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "metadata": { + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", + "type": "object" + }, + "creationTimestamp": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "format": "date-time", + "type": "string" + }, + "deletionGracePeriodSeconds": { + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", + "format": "int64", + "type": "integer" + }, + "deletionTimestamp": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "format": "date-time", + "type": "string" + }, + "finalizers": { + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set", + "x-kubernetes-patch-strategy": "merge" + }, + "generateName": { + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", + "type": "string" + }, + "generation": { + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", + "format": "int64", + "type": "integer" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", + "type": "object" + }, + "managedFields": { + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", + "items": { + "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "properties": { "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", + "type": "string" + }, + "fieldsType": { + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", + "type": "string" + }, + "fieldsV1": { + "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", + "type": "object" + }, + "manager": { + "description": "Manager is an identifier of the workflow managing these fields.", + "type": "string" + }, + "operation": { + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", + "type": "string" + }, + "subresource": { + "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", "type": "string" }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", + "time": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "format": "date-time", "type": "string" } }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "mode": { - "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "path": { - "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", - "type": "string" + "type": "object" }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + "type": "string" + }, + "namespace": { + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", + "type": "string" + }, + "ownerReferences": { + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", + "items": { + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", + "apiVersion": { + "description": "API version of the referent.", "type": "string" }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] + "blockOwnerDeletion": { + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", + "type": "boolean" + }, + "controller": { + "description": "If true, this reference points to the managing controller.", + "type": "boolean" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + "type": "string" }, - "resource": { - "description": "Required: resource to select", + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", "type": "string" } }, "required": [ - "resource" + "apiVersion", + "kind", + "name", + "uid" ], "type": "object", "x-kubernetes-map-type": "atomic" - } + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "uid" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" }, - "required": [ - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "emptyDir": { - "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", - "properties": { - "medium": { - "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", - "type": "string" - }, - "sizeLimit": { - "oneOf": [ - { + "resourceVersion": { + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, - { - "type": "number" + "selfLink": { + "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", + "type": "string" + }, + "uid": { + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", + "type": "string" } - ] - } - }, - "type": "object" - }, - "ephemeral": { - "description": "Represents an ephemeral volume that is handled by a normal storage driver.", - "properties": { - "volumeClaimTemplate": { - "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", + }, + "type": "object" + }, + "spec": { + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", "properties": { - "metadata": { - "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", - "type": "object" - }, - "creationTimestamp": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", "type": "string" }, - "deletionGracePeriodSeconds": { - "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer" - }, - "deletionTimestamp": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "kind": { + "description": "Kind is the type of resource being referenced", "type": "string" }, - "finalizers": { - "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set", - "x-kubernetes-patch-strategy": "merge" - }, - "generateName": { - "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", "type": "string" }, - "generation": { - "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", - "type": "object" - }, - "managedFields": { - "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", - "items": { - "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", - "type": "string" - }, - "fieldsType": { - "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", - "type": "string" - }, - "fieldsV1": { - "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", - "type": "object" - }, - "manager": { - "description": "Manager is an identifier of the workflow managing these fields.", - "type": "string" - }, - "operation": { - "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", - "type": "string" - }, - "subresource": { - "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", - "type": "string" - }, - "time": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" }, "name": { - "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + "description": "Name is the name of resource being referenced", "type": "string" }, "namespace": { - "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", + "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", "type": "string" - }, - "ownerReferences": { - "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", - "items": { - "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller.", - "type": "boolean" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "resources": { + "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", + "properties": { + "limits": { + "additionalProperties": { + "oneOf": [ + { "type": "string" }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + { + "type": "number" + } + ] + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + }, + "requests": { + "additionalProperties": { + "oneOf": [ + { "type": "string" }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", - "type": "string" + { + "type": "number" } - }, - "required": [ - "apiVersion", - "kind", - "name", - "uid" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" + ] }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "uid" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "uid", - "x-kubernetes-patch-strategy": "merge" - }, - "resourceVersion": { - "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", - "type": "string" - }, - "uid": { - "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", - "type": "string" + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" } }, "type": "object" }, - "spec": { - "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "selector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "accessModes": { - "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "dataSource": { - "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "dataSourceRef": { - "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "resources": { - "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", - "properties": { - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - } - }, - "type": "object" - }, - "selector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } + "required": [ + "key", + "operator" + ], + "type": "object" }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "storageClassName": { - "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", - "type": "string" - }, - "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", - "type": "string" - }, - "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", - "type": "string" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "volumeName": { - "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", - "type": "string" + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "type": "object" - } - }, - "required": [ - "spec" - ], - "type": "object" - } - }, - "type": "object" - }, - "fc": { - "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "lun": { - "description": "lun is Optional: FC target lun number", - "type": "integer" - }, - "readOnly": { - "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "targetWWNs": { - "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "wwids": { - "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "flexVolume": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", - "properties": { - "driver": { - "description": "driver is the name of the driver to use for this volume.", - "type": "string" - }, - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", - "type": "string" - }, - "options": { - "additionalProperties": { - "type": "string" - }, - "description": "options is Optional: this field holds extra command options if any.", - "type": "object" - }, - "readOnly": { - "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", "type": "string" } }, - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "object" } }, "required": [ - "driver" + "spec" ], "type": "object" + } + }, + "type": "object" + }, + "fc": { + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "flocker": { - "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", - "properties": { - "datasetName": { - "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", - "type": "string" - }, - "datasetUUID": { - "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", - "type": "string" - } - }, - "type": "object" + "lun": { + "description": "lun is Optional: FC target lun number", + "format": "int32", + "type": "integer" }, - "gcePersistentDisk": { - "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" - }, - "partition": { - "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer" - }, - "pdName": { - "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" - } + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "items": { + "type": "string" }, - "required": [ - "pdName" - ], - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "gitRepo": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", - "properties": { - "directory": { - "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", - "type": "string" - }, - "repository": { - "description": "repository is the URL", - "type": "string" - }, - "revision": { - "description": "revision is the commit hash for the specified revision.", - "type": "string" - } + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "items": { + "type": "string" }, - "required": [ - "repository" - ], - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "flexVolume": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" }, - "glusterfs": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "endpoints": { - "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "path": { - "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" - } + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "additionalProperties": { + "type": "string" }, - "required": [ - "endpoints", - "path" - ], + "description": "options is Optional: this field holds extra command options if any.", "type": "object" }, - "hostPath": { - "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { - "path": { - "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", - "type": "string" - }, - "type": { - "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" } }, - "required": [ - "path" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "required": [ + "driver" + ], + "type": "object" + }, + "flocker": { + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", + "type": "string" }, - "image": { - "description": "ImageVolumeSource represents a image volume resource.", - "properties": { - "pullPolicy": { - "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", - "type": "string" - }, - "reference": { - "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - } + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + }, + "type": "object" + }, + "gcePersistentDisk": { + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "format": "int32", + "type": "integer" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + }, + "required": [ + "pdName" + ], + "type": "object" + }, + "gitRepo": { + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "properties": { + "directory": { + "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + }, + "required": [ + "repository" + ], + "type": "object" + }, + "glusterfs": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "properties": { + "endpoints": { + "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + }, + "required": [ + "endpoints", + "path" + ], + "type": "object" + }, + "hostPath": { + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", + "properties": { + "path": { + "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "image": { + "description": "ImageVolumeSource represents a image volume resource.", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + }, + "type": "object" + }, + "iscsi": { + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "format": "int32", + "type": "integer" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "items": { + "type": "string" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "iscsi": { - "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { - "chapAuthDiscovery": { - "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "fsType": { - "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", - "type": "string" - }, - "initiatorName": { - "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", - "type": "string" - }, - "iqn": { - "description": "iqn is the target iSCSI Qualified Name.", - "type": "string" - }, - "iscsiInterface": { - "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", - "type": "string" - }, - "lun": { - "description": "lun represents iSCSI Target Lun number.", - "type": "integer" - }, - "portals": { - "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "readOnly": { - "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "targetPortal": { - "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" } }, - "required": [ - "targetPortal", - "iqn", - "lun" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "name": { - "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + }, + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "type": "object" + }, + "name": { + "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", + "properties": { + "path": { + "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "type": "string" }, - "nfs": { - "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", - "properties": { - "path": { - "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" - }, - "server": { - "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "string" - } - }, - "required": [ - "server", - "path" - ], - "type": "object" + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" }, - "persistentVolumeClaim": { - "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", - "properties": { - "claimName": { - "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", - "type": "string" - }, - "readOnly": { - "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" - } - }, - "required": [ - "claimName" - ], - "type": "object" + "server": { + "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + }, + "required": [ + "server", + "path" + ], + "type": "object" + }, + "persistentVolumeClaim": { + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" }, - "photonPersistentDisk": { - "description": "Represents a Photon Controller persistent disk resource.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "pdID": { - "description": "pdID is the ID that identifies Photon Controller persistent disk", - "type": "string" - } - }, - "required": [ - "pdID" - ], - "type": "object" + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, + "photonPersistentDisk": { + "description": "Represents a Photon Controller persistent disk resource.", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "portworxVolume": { - "description": "PortworxVolumeSource represents a Portworx volume resource.", - "properties": { - "fsType": { - "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "volumeID": { - "description": "volumeID uniquely identifies a Portworx volume", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + }, + "required": [ + "pdID" + ], + "type": "object" + }, + "portworxVolume": { + "description": "PortworxVolumeSource represents a Portworx volume resource.", + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "projected": { - "description": "Represents a projected volume source", - "properties": { - "defaultMode": { - "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "sources": { - "description": "sources is the list of volume projections. Each entry in this list handles one source.", - "items": { - "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + }, + "required": [ + "volumeID" + ], + "type": "object" + }, + "projected": { + "description": "Represents a projected volume source", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list handles one source.", + "items": { + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", "properties": { - "clusterTrustBundle": { - "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", + "labelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "name": { - "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", - "type": "string" - }, - "optional": { - "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", - "type": "boolean" - }, - "path": { - "description": "Relative path from the volume root to write the bundle.", - "type": "string" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "signerName": { - "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", - "type": "string" + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "required": [ - "path" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "configMap": { - "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", - "properties": { - "items": { - "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + "configMap": { + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "items": { + "description": "Maps a string key to a path within a volume.", + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" + }, + "path": { + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" + } + }, + "required": [ + "key", + "path" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "type": "object" + }, + "downwardAPI": { + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "properties": { + "fieldRef": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "properties": { - "key": { - "description": "key is the key to project.", + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", "type": "string" }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "fieldPath": { + "description": "Path of the field to select in the specified API version.", "type": "string" } }, "required": [ - "key", - "path" + "fieldPath" ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "optional specify whether the ConfigMap or its keys must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "downwardAPI": { - "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", - "properties": { - "items": { - "description": "Items is a list of DownwardAPIVolume file", - "items": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "mode": { - "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "path": { - "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "containerName": { + "description": "Container name: required for volumes, optional for env vars", "type": "string" }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", + "divisor": { + "oneOf": [ + { "type": "string" }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" + { + "type": "number" } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "secret": { - "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", - "properties": { - "items": { - "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", - "properties": { - "key": { - "description": "key is the key to project.", - "type": "string" + ] }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "resource": { + "description": "Required: resource to select", "type": "string" } }, "required": [ - "key", - "path" + "resource" ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "type": "object", + "x-kubernetes-map-type": "atomic" + } }, - "optional": { - "description": "optional field specify whether the Secret or its key must be defined", - "type": "boolean" - } + "required": [ + "path" + ], + "type": "object" }, - "type": "object" - }, - "serviceAccountToken": { - "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", - "properties": { - "audience": { - "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", - "type": "string" - }, - "expirationSeconds": { - "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "secret": { + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "items": { + "description": "Maps a string key to a path within a volume.", + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" + }, + "path": { + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" + } }, - "path": { - "description": "path is the path relative to the mount point of the file to project the token into.", - "type": "string" - } + "required": [ + "key", + "path" + ], + "type": "object" }, - "required": [ - "path" - ], - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" } }, "type": "object" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "quobyte": { - "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", - "properties": { - "group": { - "description": "group to map volume access to Default is no group", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" - }, - "registry": { - "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", - "type": "string" - }, - "tenant": { - "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", - "type": "string" - }, - "user": { - "description": "user to map volume access to Defaults to serivceaccount user", - "type": "string" - }, - "volume": { - "description": "volume is a string that references an already created Quobyte volume by name.", - "type": "string" - } - }, - "required": [ - "registry", - "volume" - ], - "type": "object" - }, - "rbd": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "keyring": { - "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "monitors": { - "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "pool": { - "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "user": { - "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors", - "image" - ], - "type": "object" - }, - "scaleIO": { - "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", - "type": "string" - }, - "gateway": { - "description": "gateway is the host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", - "type": "string" - }, - "readOnly": { - "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "sslEnabled": { - "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", - "type": "boolean" - }, - "storageMode": { - "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", - "type": "string" - }, - "storagePool": { - "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", - "type": "string" - }, - "system": { - "description": "system is the name of the storage system as configured in ScaleIO.", - "type": "string" - }, - "volumeName": { - "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.", - "type": "string" - } - }, - "required": [ - "gateway", - "system", - "secretRef" - ], - "type": "object" - }, - "secret": { - "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer" - }, - "items": { - "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", + "serviceAccountToken": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", "properties": { - "key": { - "description": "key is the key to project.", + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", "type": "string" }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "format": "int64", "type": "integer" }, "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "description": "path is the path relative to the mount point of the file to project the token into.", "type": "string" } }, "required": [ - "key", "path" ], "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "optional": { - "description": "optional field specify whether the Secret or its keys must be defined", - "type": "boolean" - }, - "secretName": { - "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", - "type": "string" - } - }, - "type": "object" - }, - "storageos": { - "description": "Represents a StorageOS persistent volume resource.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "volumeName": { - "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", - "type": "string" + } }, - "volumeNamespace": { - "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", - "type": "string" - } + "type": "object" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "quobyte": { + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", + "properties": { + "group": { + "description": "group to map volume access to Default is no group", + "type": "string" }, - "vsphereVolume": { - "description": "Represents a vSphere volume resource.", - "properties": { - "fsType": { - "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "storagePolicyID": { - "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", - "type": "string" - }, - "storagePolicyName": { - "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", - "type": "string" - }, - "volumePath": { - "description": "volumePath is the path that identifies vSphere volume vmdk", - "type": "string" - } - }, - "required": [ - "volumePath" - ], - "type": "object" + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to Defaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" } }, "required": [ - "name" + "registry", + "volume" ], "type": "object" }, - "title": "Backstage container additional volumes", - "type": "array" - }, - "hostAliases": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/#adding-additional-entries-with-hostaliases", - "items": { - "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", + "rbd": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { - "hostnames": { - "description": "Hostnames for the above IP address.", + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "items": { "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "ip": { - "description": "IP address of the host file entry.", + "pool": { + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "type": "string" } }, "required": [ - "ip" + "monitors", + "image" ], "type": "object" }, - "title": "Adding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable", - "type": "array" - }, - "image": { - "additionalProperties": false, - "properties": { - "digest": { - "default": "", - "description": "digest takes precedence over image tag", - "title": "Backstage image digest", - "type": "string" - }, - "pullPolicy": { - "default": "", - "description": "Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy", - "enum": [ - "Always", - "IfNotPresent", - "Never", - "" - ], - "title": "Specify a imagePullPolicy.", - "type": "string" - }, - "pullSecrets": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/", - "examples": [ - "myRegistryKeySecretName" - ], - "items": { + "scaleIO": { + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", "type": "string" }, - "title": "Optionally specify an array of imagePullSecrets.", - "type": "array" - }, - "registry": { - "default": "quay.io", - "examples": [ - "ghcr.io", - "quay.io", - "docker.io" - ], - "title": "Backstage image registry", - "type": "string" - }, - "repository": { - "default": "rhdh-community/rhdh", - "title": "Backstage image repository", - "type": "string" - }, - "tag": { - "default": "next", - "description": "Immutable tags are recommended.", - "title": "Backstage image tag", - "type": "string" - } - }, - "title": "Image parameters", - "type": "object" - }, - "initContainers": { - "default": [ - { - "command": [ - "./install-dynamic-plugins.sh", - "/dynamic-plugins-root" - ], - "env": [ - { - "name": "NPM_CONFIG_USERCONFIG", - "value": "/opt/app-root/src/.npmrc.dynamic-plugins" - }, - { - "name": "MAX_ENTRY_SIZE", - "value": "30000000" - }, - { - "name": "CATALOG_INDEX_IMAGE", - "value": "{{ .Values.global.catalogIndex.image.registry }}/{{ .Values.global.catalogIndex.image.repository }}:{{ .Values.global.catalogIndex.image.tag }}" - }, - { - "name": "CATALOG_ENTITIES_EXTRACT_DIR", - "value": "/extensions" - } - ], - "image": "{{ include \"backstage.image\" . }}", - "imagePullPolicy": "", - "name": "install-dynamic-plugins", - "resources": { - "limits": { - "cpu": "1000m", - "ephemeral-storage": "5Gi", - "memory": "2.5Gi" - }, - "requests": { - "cpu": "250m", - "memory": "256Mi" - } + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" }, - "securityContext": { - "allowPrivilegeEscalation": false, - "capabilities": { - "drop": [ - "ALL" - ] - }, - "readOnlyRootFilesystem": true, - "runAsNonRoot": true, - "seccompProfile": { - "type": "RuntimeDefault" - } + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" }, - "volumeMounts": [ - { - "mountPath": "/dynamic-plugins-root", - "name": "dynamic-plugins-root" - }, - { - "mountPath": "/opt/app-root/src/dynamic-plugins.yaml", - "name": "dynamic-plugins", - "readOnly": true, - "subPath": "dynamic-plugins.yaml" - }, - { - "mountPath": "/opt/app-root/src/.npmrc.dynamic-plugins", - "name": "dynamic-plugins-npmrc", - "readOnly": true, - "subPath": ".npmrc" - }, - { - "mountPath": "/opt/app-root/src/.config/containers", - "name": "dynamic-plugins-registry-auth", - "readOnly": true - }, - { - "mountPath": "/opt/app-root/src/.npm/_cacache", - "name": "npmcacache" - }, - { - "mountPath": "/extensions", - "name": "extensions-catalog" - }, - { - "mountPath": "/tmp", - "name": "temp" - } - ], - "workingDir": "/opt/app-root/src" - } - ], - "items": { - "description": "A single application container that you want to run within a pod.", - "properties": { - "args": { - "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "command": { - "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" + } + }, + "required": [ + "gateway", + "system", + "secretRef" + ], + "type": "object" + }, + "secret": { + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "items": { - "description": "EnvVar represents an environment variable present in a Container.", + "description": "Maps a string key to a path within a volume.", "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "key": { + "description": "key is the key to project.", "type": "string" }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "format": "int32", + "type": "integer" }, - "valueFrom": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "secretKeyRef": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" + "path": { + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" } }, "required": [ - "name" + "key", + "path" ], "type": "object" }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + }, + "type": "object" + }, + "storageos": { + "description": "Represents a StorageOS persistent volume resource.", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + }, + "type": "object" + }, + "vsphereVolume": { + "description": "Represents a vSphere volume resource.", + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + }, + "required": [ + "volumePath" + ], + "type": "object" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "title": "Backstage container additional volumes", + "type": "array" + }, + "hostAliases": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/#adding-additional-entries-with-hostaliases", + "items": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + }, + "required": [ + "ip" + ], + "type": "object" + }, + "title": "Adding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable", + "type": "array" + }, + "image": { + "additionalProperties": false, + "properties": { + "digest": { + "default": "", + "description": "digest takes precedence over image tag", + "title": "Backstage image digest", + "type": "string" + }, + "pullPolicy": { + "default": "", + "description": "Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy", + "enum": [ + "Always", + "IfNotPresent", + "Never", + "" + ], + "title": "Specify a imagePullPolicy.", + "type": "string" + }, + "pullSecrets": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/", + "examples": [ + "myRegistryKeySecretName" + ], + "items": { + "type": "string" + }, + "title": "Optionally specify an array of imagePullSecrets.", + "type": "array" + }, + "registry": { + "default": "ghcr.io", + "examples": [ + "ghcr.io", + "quay.io", + "docker.io" + ], + "title": "Backstage image registry", + "type": "string" + }, + "repository": { + "default": "backstage/backstage", + "title": "Backstage image repository", + "type": "string" + }, + "tag": { + "default": "latest", + "description": "Immutable tags are recommended.", + "title": "Backstage image tag", + "type": "string" + } + }, + "title": "Image parameters", + "type": "object" + }, + "initContainers": { + "default": [], + "items": { + "description": "A single application container that you want to run within a pod.", + "properties": { + "args": { + "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { - "configMapRef": { - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + "configMapKeyRef": { + "description": "Selects a key from a ConfigMap.", "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, "name": { "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { - "description": "Specify whether the ConfigMap must be defined", + "description": "Specify whether the ConfigMap or its key must be defined", "type": "boolean" } }, - "type": "object" + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "prefix": { - "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", - "type": "string" + "fieldRef": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "required": [ + "fieldPath" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "required": [ + "resource" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "secretRef": { - "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "secretKeyRef": { + "description": "SecretKeySelector selects a key of a Secret.", "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, "name": { "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { - "description": "Specify whether the Secret must be defined", + "description": "Specify whether the Secret or its key must be defined", "type": "boolean" } }, - "type": "object" + "required": [ + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" } }, "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "image": { - "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" + } }, - "lifecycle": { - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", - "properties": { - "postStart": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } - }, - "type": "object" - }, - "preStop": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "properties": { + "configMapRef": { + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" }, - "type": "object" + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } }, - "stopSignal": { - "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", - "type": "string" - } + "type": "object" }, - "type": "object" + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "type": "object" + } }, - "livenessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", + "properties": { + "postStart": { + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", "properties": { "exec": { "description": "ExecAction describes a \"run in container\" action.", @@ -5171,27 +4354,6 @@ }, "type": "object" }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { @@ -5246,17 +4408,19 @@ ], "type": "object" }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "sleep": { + "description": "SleepAction describes a \"sleep\" action.", + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" }, "tcpSocket": { "description": "TCPSocketAction describes an action based on opening a socket", @@ -5280,64 +4444,12 @@ "port" ], "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" } }, "type": "object" }, - "name": { - "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "type": "string" - }, - "ports": { - "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", - "items": { - "description": "ContainerPort represents a network port in a single container.", - "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", - "type": "string" - }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer" - }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", - "type": "string" - }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", - "type": "string" - } - }, - "required": [ - "containerPort" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "containerPort", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "containerPort", - "x-kubernetes-patch-strategy": "merge" - }, - "readinessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "preStop": { + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", "properties": { "exec": { "description": "ExecAction describes a \"run in container\" action.", @@ -5353,27 +4465,6 @@ }, "type": "object" }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { @@ -5428,17 +4519,19 @@ ], "type": "object" }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "sleep": { + "description": "SleepAction describes a \"sleep\" action.", + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" }, "tcpSocket": { "description": "TCPSocketAction describes an action based on opening a socket", @@ -5462,2395 +4555,2756 @@ "port" ], "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" } }, "type": "object" }, - "resizePolicy": { - "description": "Resources resize policy for the container.", - "items": { - "description": "ContainerResizePolicy represents resource resize policy for the container.", - "properties": { - "resourceName": { - "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + }, + "type": "object" + }, + "livenessProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { "type": "string" }, - "restartPolicy": { - "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", - "type": "string" - } + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" }, - "required": [ - "resourceName", - "restartPolicy" - ], - "type": "object" + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "required": [ + "port" + ], + "type": "object" }, - "resources": { - "description": "ResourceRequirements describes the compute resource requirements.", + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { - "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", "items": { - "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "description": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { - "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", "type": "string" }, - "request": { - "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "value": { + "description": "The header field value", "type": "string" } }, "required": [ - "name" + "name", + "value" ], "type": "object" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" }, - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } }, + "required": [ + "port" + ], "type": "object" }, - "restartPolicy": { - "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", - "type": "string" + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" }, - "securityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "port": { + "oneOf": [ + { "type": "string" }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } + "type": "integer" } ] + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "format": "int32", + "type": "integer" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", + "type": "string" + } + }, + "required": [ + "containerPort" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { + "value": { + "description": "The header field value", "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + } + }, + "required": [ + "name", + "value" + ], + "type": "object" }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "path": { + "description": "Path to access on the HTTP server.", "type": "string" }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" - }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "port": { + "oneOf": [ + { "type": "string" }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } + "type": "integer" } ] }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } }, + "required": [ + "port" + ], "type": "object" }, - "startupProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", + "port": { + "oneOf": [ + { "type": "string" }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + { + "type": "integer" } + ] + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", + "type": "string" + } + }, + "required": [ + "resourceName", + "restartPolicy" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "ResourceRequirements describes the compute resource requirements.", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "type": "string" }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" + } }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" }, - "required": [ - "port" - ], - "type": "object" + { + "type": "number" + } + ] + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + }, + "requests": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + } + }, + "type": "object" + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "AppArmorProfile defines a pod or container's AppArmor settings.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "type": "string" }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" + "type": { + "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", + "properties": { + "add": { + "description": "Added capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" + "drop": { + "description": "Removed capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "stdin": { - "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", "type": "boolean" }, - "stdinOnce": { - "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" - }, - "terminationMessagePath": { - "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", "type": "string" }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container.", - "items": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" - }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" }, - "required": [ - "name", - "devicePath" - ], - "type": "object" + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "devicePath" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" + "type": "object" }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", - "type": "string" - }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" - } + "seccompProfile": { + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" }, - "required": [ - "name", - "mountPath" - ], - "type": "object" + "type": { + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", + "type": "string" + } }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "mountPath" + "required": [ + "type" ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] }, - "workingDir": { - "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", - "type": "string" + "windowsOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + }, + "type": "object" } }, - "required": [ - "name" - ], "type": "object" }, - "title": "Backstage container init containers", - "type": "array" - }, - "installDir": { - "default": "/opt/app-root/src", - "title": "Directory containing the backstage installation", - "type": "string" - }, - "livenessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" + "startupProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } + "type": "object" }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } }, - "value": { - "description": "The header field value", + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "oneOf": [ + { "type": "string" + }, + { + "type": "integer" } - }, - "required": [ - "name", - "value" - ], - "type": "object" + ] }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" + } }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + } }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", "type": "string" } }, "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "name", + "devicePath" + ], + "type": "object" }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", + "type": "array", + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", "type": "string" }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "type": "string" } }, "required": [ - "port" + "name", + "mountPath" ], "type": "object" }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - } + "type": "array", + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" }, - "type": "object" - }, - "nodeSelector": { - "additionalProperties": { + "workingDir": { + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" - }, - "default": {}, - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector", - "title": "Node labels for pod assignment", - "type": "object" + } }, - "pdb": { - "additionalProperties": false, + "required": [ + "name" + ], + "type": "object" + }, + "title": "Backstage container init containers", + "type": "array" + }, + "installDir": { + "default": "/app", + "title": "Directory containing the backstage installation", + "type": "string" + }, + "livenessProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", "properties": { - "create": { - "default": false, - "description": "Create a PDB", - "title": "Backstage PDB", - "type": "boolean" - }, - "maxUnavailable": { - "default": "", - "title": "Backstage PDB maxUnavailable", - "type": [ - "string", - "integer" - ] - }, - "minAvailable": { - "default": "", - "title": "Backstage PDB minAvailable", - "type": [ - "string", - "integer" - ] + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "title": "PDB parameters", "type": "object" }, - "podAnnotations": { - "additionalProperties": { - "type": "string" - }, - "default": { - "checksum/dynamic-plugins": "{{- include \"common.tplvalues.render\" ( dict \"value\" .Values.global.dynamic \"context\" $) | sha256sum }}" - }, - "title": "Annotations to add to the backend deployment pods", - "type": "object" + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" }, - "podLabels": { - "additionalProperties": { - "type": "string" + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } }, - "default": {}, - "title": "Labels to add to the backend deployment pods", + "required": [ + "port" + ], "type": "object" }, - "podSecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { + "value": { + "description": "The header field value", "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + } + }, + "required": [ + "name", + "value" + ], + "type": "object" }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "path": { + "description": "Path to access on the HTTP server.", "type": "string" }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", + "port": { + "oneOf": [ + { "type": "string" }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" + { + "type": "integer" } - }, - "type": "object" + ] }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "oneOf": [ + { "type": "string" }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } + "type": "integer" } ] + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector", + "title": "Node labels for pod assignment", + "type": "object" + }, + "pdb": { + "additionalProperties": false, + "properties": { + "create": { + "default": false, + "description": "Create a PDB", + "title": "Backstage PDB", + "type": "boolean" + }, + "maxUnavailable": { + "default": "", + "title": "Backstage PDB maxUnavailable", + "type": [ + "string", + "integer" + ] + }, + "minAvailable": { + "default": "", + "title": "Backstage PDB minAvailable", + "type": [ + "string", + "integer" + ] + } + }, + "title": "PDB parameters", + "type": "object" + }, + "podAnnotations": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Annotations to add to the backend deployment pods", + "type": "object" + }, + "podLabels": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Labels to add to the backend deployment pods", + "type": "object" + }, + "podSecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "AppArmorProfile defines a pod or container's AppArmor settings.", + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "type": "string" }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } + "type": { + "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", + "properties": { + "add": { + "description": "Added capabilities", + "items": { + "type": "string" }, - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "format": "int64", + "type": "integer" + }, + "seLinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" } }, "type": "object" }, - "readinessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "seccompProfile": { + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" + "type": { + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "windowsOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "readinessProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { + "type": "string" }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "replicas": { - "default": 1, - "minimum": 0, - "title": "Number of deployment replicas", + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", "type": "integer" }, - "resources": { - "description": "ResourceRequirements describes the compute resource requirements.", + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", "properties": { - "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", "items": { - "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "description": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { - "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", "type": "string" }, - "request": { - "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "value": { + "description": "The header field value", "type": "string" } }, "required": [ - "name" + "name", + "value" ], "type": "object" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" }, - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } }, + "required": [ + "port" + ], "type": "object" }, - "revisionHistoryLimit": { - "default": 10, - "minimum": 0, - "title": "The count of deployment revisions", + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", "type": "integer" }, - "startupProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" } + ] + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "replicas": { + "default": 1, + "minimum": 0, + "title": "Number of deployment replicas", + "type": "integer" + }, + "resources": { + "description": "ResourceRequirements describes the compute resource requirements.", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "type": "string" }, - "type": "object" + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" + } }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "required": [ + "name" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + }, + "requests": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + } + }, + "type": "object" + }, + "revisionHistoryLimit": { + "default": 10, + "minimum": 0, + "title": "The count of deployment revisions", + "type": "integer" + }, + "startupProbe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "grpc": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", "type": "integer" }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "type": "integer" + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "httpGet": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } + "required": [ + "name", + "value" + ], + "type": "object" }, - "required": [ - "port" - ], - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "oneOf": [ + { "type": "string" }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + { + "type": "integer" } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer" + ] }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "type": "integer" + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" + } + }, + "required": [ + "port" + ], + "type": "object" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "format": "int32", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocketAction describes an action based on opening a socket", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", + "port": { + "oneOf": [ + { "type": "string" }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] + { + "type": "integer" } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer" + ] } }, + "required": [ + "port" + ], "type": "object" }, - "tolerations": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/", - "items": { - "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", - "properties": { - "effect": { - "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", - "type": "string" - }, - "key": { - "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", - "type": "string" - }, - "operator": { - "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", - "type": "string" - }, - "tolerationSeconds": { - "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer" - }, - "value": { - "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", - "type": "string" - } - }, - "type": "object" + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "format": "int64", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "tolerations": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" }, - "title": "Node tolerations for server scheduling to nodes with taints", - "type": "array" + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", + "format": "int64", + "type": "integer" + }, + "value": { + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } }, - "topologySpreadConstraints": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints", - "items": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "type": "object" + }, + "title": "Node tolerations for server scheduling to nodes with taints", + "type": "array" + }, + "topologySpreadConstraints": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints", + "items": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "properties": { + "labelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", - "items": { - "type": "string" + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", - "type": "integer" - }, - "minDomains": { - "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.", - "type": "integer" - }, - "nodeAffinityPolicy": { - "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", - "type": "string" - }, - "nodeTaintsPolicy": { - "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", - "type": "string" - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", - "type": "string" + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "title": "Topology Spread Constraint for pod assignment", - "type": "array" - } + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", + "format": "int32", + "type": "integer" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.", + "format": "int32", + "type": "integer" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "type": "string" + } + }, + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" + }, + "title": "Topology Spread Constraint for pod assignment", + "type": "array" + } + }, + "title": "Backstage parameters", + "type": "object" + }, + "clusterDomain": { + "default": "cluster.local", + "title": "Default Kubernetes cluster domain", + "type": "string" + }, + "commonAnnotations": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Annotations to add to all deployed objects", + "type": "object" + }, + "commonLabels": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Labels to add to all deployed objects", + "type": "object" + }, + "diagnosticMode": { + "additionalProperties": false, + "properties": { + "args": { + "default": [ + "infinity" + ], + "items": { + "type": "string" + }, + "title": "Args to override all containers in the Deployment", + "type": "array" + }, + "command": { + "default": [ + "sleep" + ], + "items": { + "type": "string" + }, + "title": "Command to override all containers in the Deployment", + "type": "array" + }, + "enabled": { + "default": false, + "description": "All probes will be disabled and the command will be overridden", + "title": "Enable diagnostic mode", + "type": "boolean" + } + }, + "title": "Enable diagnostic mode in the Deployment", + "type": "object" + }, + "extraDeploy": { + "default": [], + "items": { + "type": [ + "string", + "object" + ] + }, + "title": "Array of extra objects to deploy with the release", + "type": "array", + "uniqueItems": true + }, + "fullnameOverride": { + "default": "", + "title": "String to fully override common.names.fullname", + "type": "string" + }, + "global": { + "properties": { + "imagePullSecrets": { + "default": [], + "examples": [ + [ + "myRegistryKeySecretName" + ] + ], + "items": { + "type": "string" }, - "title": "Backstage parameters", - "type": "object" + "title": "Global Docker registry secret names as an array", + "type": "array", + "uniqueItems": true }, - "clusterDomain": { - "default": "cluster.local", - "title": "Default Kubernetes cluster domain", + "imageRegistry": { + "default": "", + "title": "Global Docker image registry", "type": "string" - }, - "commonAnnotations": { + } + }, + "title": "Global parameters.", + "type": "object" + }, + "ingress": { + "additionalProperties": false, + "properties": { + "annotations": { "additionalProperties": { "type": "string" }, "default": {}, - "title": "Annotations to add to all deployed objects", + "title": "Additional annotations for the Ingress resource", "type": "object" }, - "commonLabels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Labels to add to all deployed objects", - "type": "object" + "className": { + "default": "", + "examples": [ + "nginx" + ], + "title": "Name of the IngressClass cluster resource which defines which controller will implement the resource.", + "type": "string" }, - "diagnosticMode": { - "additionalProperties": false, - "properties": { - "args": { - "default": [ - "infinity" - ], - "items": { + "enabled": { + "default": false, + "title": "Enable the creation of the ingress resource", + "type": "boolean" + }, + "extraHosts": { + "default": [], + "items": { + "additionalProperties": false, + "properties": { + "name": { "type": "string" }, - "title": "Args to override all containers in the Deployment", - "type": "array" - }, - "command": { - "default": [ - "sleep" - ], - "items": { + "path": { "type": "string" }, - "title": "Command to override all containers in the Deployment", - "type": "array" + "pathType": { + "type": "string" + }, + "port": { + "type": "integer" + } }, - "enabled": { - "default": false, - "description": "All probes will be disabled and the command will be overridden", - "title": "Enable diagnostic mode", - "type": "boolean" - } + "type": "object" }, - "title": "Enable diagnostic mode in the Deployment", - "type": "object" + "title": "List of additional hostnames to be covered with this ingress record", + "type": "array" }, - "extraDeploy": { + "extraTls": { "default": [], "items": { - "type": [ - "string", - "object" - ] + "description": "IngressTLS describes the transport layer security associated with an ingress.", + "properties": { + "hosts": { + "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "secretName": { + "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", + "type": "string" + } + }, + "type": "object" }, - "title": "Array of extra objects to deploy with the release", - "type": "array", - "uniqueItems": true + "title": "The TLS configuration for additional hostnames to be covered with this ingress record.", + "type": "array" }, - "fullnameOverride": { + "host": { "default": "", - "title": "String to fully override common.names.fullname", + "examples": [ + "backstage.10.0.0.1.nip.io" + ], + "title": "Hostname to be used to expose the route to access the backstage application.", + "type": "string" + }, + "path": { + "default": "/", + "examples": [ + "/backstage" + ], + "title": "Path to be used to expose the full route to access the backstage application.", "type": "string" }, - "global": { + "tls": { + "additionalProperties": false, "properties": { - "imagePullSecrets": { - "default": [], - "examples": [ - [ - "myRegistryKeySecretName" - ] - ], - "items": { - "type": "string" - }, - "title": "Global Docker registry secret names as an array", - "type": "array", - "uniqueItems": true + "enabled": { + "default": false, + "description": "TLS for the host defined at `ingress.host` parameter", + "title": "Enable TLS configuration", + "type": "boolean" }, - "imageRegistry": { + "secretName": { "default": "", - "title": "Global Docker image registry", + "title": "The name to which the TLS Secret will be called", "type": "string" } }, - "title": "Global parameters.", + "title": "Ingress TLS parameters", "type": "object" - }, - "ingress": { + } + }, + "title": "Ingress parameters", + "type": "object" + }, + "kubeVersion": { + "default": "", + "title": "Override Kubernetes version", + "type": "string" + }, + "metrics": { + "additionalProperties": false, + "description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus", + "properties": { + "serviceMonitor": { "additionalProperties": false, + "description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator", "properties": { "annotations": { "additionalProperties": { "type": "string" }, "default": {}, - "title": "Additional annotations for the Ingress resource", + "title": "ServiceMonitor annotations", "type": "object" }, - "className": { - "default": "", - "examples": [ - "nginx" - ], - "title": "Name of the IngressClass cluster resource which defines which controller will implement the resource.", - "type": "string" - }, "enabled": { "default": false, - "title": "Enable the creation of the ingress resource", + "description": "Prometheus Operator must be installed in your cluster prior to enabling.", + "title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created", "type": "boolean" }, - "extraHosts": { - "default": [], - "items": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "pathType": { - "type": "string" - }, - "port": { - "type": "integer" - } - }, - "type": "object" - }, - "title": "List of additional hostnames to be covered with this ingress record", - "type": "array" + "interval": { + "default": null, + "title": "ServiceMonitor scrape interval", + "type": [ + "string", + "null" + ] }, - "extraTls": { - "default": [], - "items": { - "description": "IngressTLS describes the transport layer security associated with an ingress.", - "properties": { - "hosts": { - "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "secretName": { - "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", - "type": "string" - } - }, - "type": "object" + "labels": { + "additionalProperties": { + "type": "string" }, - "title": "The TLS configuration for additional hostnames to be covered with this ingress record.", - "type": "array" - }, - "host": { - "default": "{{ .Values.global.host }}", - "examples": [ - "backstage.10.0.0.1.nip.io" - ], - "title": "Hostname to be used to expose the route to access the backstage application.", - "type": "string" + "default": {}, + "title": "Additional ServiceMonitor labels", + "type": "object" }, "path": { - "default": "/", - "examples": [ - "/backstage" - ], - "title": "Path to be used to expose the full route to access the backstage application.", + "default": "/metrics", + "description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md", + "title": "ServiceMonitor endpoint path", "type": "string" }, - "tls": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": false, - "description": "TLS for the host defined at `ingress.host` parameter", - "title": "Enable TLS configuration", - "type": "boolean" - }, - "secretName": { - "default": "", - "title": "The name to which the TLS Secret will be called", - "type": "string" - } - }, - "title": "Ingress TLS parameters", - "type": "object" - } - }, - "title": "Ingress parameters", - "type": "object" - }, - "kubeVersion": { - "default": "", - "title": "Override Kubernetes version", - "type": "string" - }, - "metrics": { - "additionalProperties": false, - "description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus", - "properties": { - "serviceMonitor": { - "additionalProperties": false, - "description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "ServiceMonitor annotations", - "type": "object" - }, - "enabled": { - "default": false, - "description": "Prometheus Operator must be installed in your cluster prior to enabling.", - "title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created", - "type": "boolean" - }, - "interval": { - "default": null, - "title": "ServiceMonitor scrape interval", - "type": [ - "string", - "null" - ] - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional ServiceMonitor labels", - "type": "object" - }, - "path": { - "default": "/metrics", - "description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md", - "title": "ServiceMonitor endpoint path", + "port": { + "anyOf": [ + { "type": "string" }, - "port": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ], - "default": "http-metrics", - "description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.", - "title": "ServiceMonitor endpoint port" + { + "type": "integer" } - }, - "title": "ServiceMonitor configuration", - "type": "object" + ], + "default": "http-backend", + "description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.", + "title": "ServiceMonitor endpoint port" } }, - "title": "Metrics configuration", + "title": "ServiceMonitor configuration", "type": "object" - }, - "nameOverride": { - "default": "developer-hub", - "title": "String to partially override common.names.fullname", - "type": "string" - }, - "networkPolicy": { + } + }, + "title": "Metrics configuration", + "type": "object" + }, + "nameOverride": { + "default": "", + "title": "String to partially override common.names.fullname", + "type": "string" + }, + "networkPolicy": { + "additionalProperties": false, + "properties": { + "egressRules": { "additionalProperties": false, "properties": { - "egressRules": { - "additionalProperties": false, - "properties": { - "customRules": { - "items": { - "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", - "properties": { - "ports": { - "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "description": "NetworkPolicyPort describes a port to allow traffic on", - "properties": { - "endPort": { - "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", - "type": "integer" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] + "customRules": { + "items": { + "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", + "properties": { + "ports": { + "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "items": { + "description": "NetworkPolicyPort describes a port to allow traffic on", + "properties": { + "endPort": { + "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", + "format": "int32", + "type": "integer" + }, + "port": { + "oneOf": [ + { + "type": "string" }, - "protocol": { - "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + { + "type": "integer" + } + ] + }, + "protocol": { + "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "to": { + "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", + "items": { + "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", + "properties": { + "ipBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "properties": { + "cidr": { + "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", "type": "string" + }, + "except": { + "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, + "required": [ + "cidr" + ], "type": "object" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "to": { - "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", - "items": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", + "namespaceSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "ipBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "properties": { - "cidr": { - "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", - "type": "string" - }, - "except": { - "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", - "items": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "cidr" - ], - "type": "object" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "podSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } + "required": [ + "key", + "operator" + ], + "type": "object" }, - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "title": "", - "type": "array" - }, - "denyConnectionsToExternal": { - "default": false, - "title": "Deny external connections. Should not be enabled when working with an external database.", - "type": "boolean" - } - }, - "title": "Custom egress rules for the network policy", - "type": "object" - }, - "enabled": { - "default": false, - "title": "Specifies whether a NetworkPolicy should be created", - "type": "boolean" - }, - "ingressRules": { - "additionalProperties": false, - "properties": { - "customRules": { - "items": { - "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", - "properties": { - "from": { - "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", + "podSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "ipBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "properties": { - "cidr": { - "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", - "type": "string" - }, - "except": { - "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", - "items": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "cidr" - ], - "type": "object" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", "type": "string" }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "podSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } + }, + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "title": "", + "type": "array" + }, + "denyConnectionsToExternal": { + "default": false, + "title": "Deny external connections. Should not be enabled when working with an external database.", + "type": "boolean" + } + }, + "title": "Custom egress rules for the network policy", + "type": "object" + }, + "enabled": { + "default": false, + "title": "Specifies whether a NetworkPolicy should be created", + "type": "boolean" + }, + "ingressRules": { + "additionalProperties": false, + "properties": { + "customRules": { + "items": { + "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", + "properties": { + "from": { + "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "items": { + "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", + "properties": { + "ipBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "properties": { + "cidr": { + "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", + "type": "string" + }, + "except": { + "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", + "items": { + "type": "string" }, - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" } }, + "required": [ + "cidr" + ], "type": "object" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "ports": { - "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "description": "NetworkPolicyPort describes a port to allow traffic on", + "namespaceSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "endPort": { - "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", - "type": "integer" - }, - "port": { - "oneOf": [ - { - "type": "string" + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - { - "type": "integer" - } - ] + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "protocol": { - "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", - "type": "string" + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "title": "", - "type": "array" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" + "podSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + } }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" - } + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "podSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { + "ports": { + "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "items": { + "description": "NetworkPolicyPort describes a port to allow traffic on", + "properties": { + "endPort": { + "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", + "format": "int32", + "type": "integer" + }, + "port": { + "oneOf": [ + { "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } + { + "type": "integer" + } + ] }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" + "protocol": { + "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + "type": "string" + } }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "title": "Custom egress rules for the network policy", - "type": "object" - } - }, - "title": "Network policies", - "type": "object" - }, - "postgresql": { - "properties": { - "architecture": { - "description": "Allowed values: `standalone` or `replication`", - "form": true, - "title": "PostgreSQL architecture", - "type": "string" - }, - "auth": { - "form": true, - "properties": { - "database": { - "description": "Name of the custom database to be created during the 1st initialization of PostgreSQL", - "form": true, - "title": "PostgreSQL custom database", - "type": "string" - }, - "enablePostgresUser": { - "description": "Assign a password to the \"postgres\" admin user. Otherwise, remote access will be blocked for this user", - "form": true, - "title": "Enable \"postgres\" admin user", - "type": "boolean" - }, - "password": { - "description": "Defaults to a random 10-character alphanumeric string if not set", - "form": true, - "title": "Password for the custom user to create", - "type": "string" - }, - "postgresPassword": { - "description": "Defaults to a random 10-character alphanumeric string if not set", - "form": true, - "title": "Password for the \"postgres\" admin user", - "type": "string" - }, - "replicationPassword": { - "description": "Defaults to a random 10-character alphanumeric string if not set", - "form": true, - "hidden": { - "path": "architecture", - "value": "standalone" - }, - "title": "Password for PostgreSQL replication user", - "type": "string" - }, - "replicationUsername": { - "description": "Name of user used to manage replication.", - "form": true, - "hidden": { - "path": "architecture", - "value": "standalone" - }, - "title": "PostgreSQL replication user", - "type": "string" - }, - "username": { - "description": "Name of the custom user to be created during the 1st initialization of PostgreSQL. This user only has permissions on the PostgreSQL custom database", - "form": true, - "title": "PostgreSQL custom user", - "type": "string" - } - }, - "title": "Authentication configuration", - "type": "object" - }, - "metrics": { - "properties": { - "enabled": { - "form": true, - "title": "Configure metrics exporter", - "type": "boolean" - } - }, - "type": "object" - }, - "persistence": { - "properties": { - "size": { - "form": true, - "render": "slider", - "sliderMax": 100, - "sliderMin": 1, - "sliderUnit": "Gi", - "title": "Persistent Volume Size", - "type": "string" - } - }, - "type": "object" - }, - "replication": { - "form": true, - "properties": { - "enabled": { - "form": true, - "title": "Enable Replication", - "type": "boolean" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "readReplicas": { - "form": true, - "hidden": { - "path": "architecture", - "value": "standalone" - }, - "title": "read Replicas", - "type": "integer" - } + "type": "object" }, - "title": "Replication Details", - "type": "object" + "title": "", + "type": "array" }, - "resources": { - "description": "Configure resource requests", - "form": true, + "namespaceSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "requests": { - "properties": { - "cpu": { - "form": true, - "render": "slider", - "sliderMax": 2000, - "sliderMin": 10, - "sliderUnit": "m", - "title": "CPU Request", - "type": "string" + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } }, - "memory": { - "form": true, - "render": "slider", - "sliderMax": 2048, - "sliderMin": 10, - "sliderUnit": "Mi", - "title": "Memory Request", - "type": "string" - } + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "type": "object" } }, - "title": "Required Resources", - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "volumePermissions": { + "podSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { - "enabled": { - "description": "Change the owner of the persist volume mountpoint to RunAsUser:fsGroup", - "form": true, - "title": "Enable Init Containers", - "type": "boolean" + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" } }, + "title": "Custom egress rules for the network policy", "type": "object" + } + }, + "title": "Network policies", + "type": "object" + }, + "postgresql": { + "$schema": "http://json-schema.org/schema#", + "properties": { + "architecture": { + "description": "Allowed values: `standalone` or `replication`", + "form": true, + "title": "PostgreSQL architecture", + "type": "string" }, - "service": { - "additionalProperties": false, + "auth": { + "form": true, "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom annotations for Backstage service", - "type": "object" + "database": { + "description": "Name of the custom database to be created during the 1st initialization of PostgreSQL", + "form": true, + "title": "PostgreSQL custom database", + "type": "string" }, - "clusterIP": { - "default": "", - "title": "Backstage service Cluster IP", + "enablePostgresUser": { + "description": "Assign a password to the \"postgres\" admin user. Otherwise, remote access will be blocked for this user", + "form": true, + "title": "Enable \"postgres\" admin user", + "type": "boolean" + }, + "password": { + "description": "Defaults to a random 10-character alphanumeric string if not set", + "form": true, + "title": "Password for the custom user to create", "type": "string" }, - "externalTrafficPolicy": { - "default": "Cluster", - "description": "Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip", - "enum": [ - "Cluster", - "Local" - ], - "title": "Backstage service external traffic policy", + "postgresPassword": { + "description": "Defaults to a random 10-character alphanumeric string if not set", + "form": true, + "title": "Password for the \"postgres\" admin user", "type": "string" }, - "extraPorts": { - "default": [ - { - "name": "http-metrics", - "port": 9464, - "targetPort": 9464 - } - ], - "items": { - "type": "object" + "replicationPassword": { + "description": "Defaults to a random 10-character alphanumeric string if not set", + "form": true, + "hidden": { + "path": "architecture", + "value": "standalone" }, - "title": "Extra ports to expose in the Backstage service", - "type": "array" + "title": "Password for PostgreSQL replication user", + "type": "string" }, - "ipFamilies": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" + "replicationUsername": { + "description": "Name of user used to manage replication.", + "form": true, + "hidden": { + "path": "architecture", + "value": "standalone" }, - "title": "Backstage service IP families", - "type": "array" - }, - "ipFamilyPolicy": { - "default": "", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", - "enum": [ - "", - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "title": "Backstage service IP family policy", + "title": "PostgreSQL replication user", "type": "string" }, - "loadBalancerIP": { - "default": "", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", - "title": "Backstage service Load Balancer IP", + "username": { + "description": "Name of the custom user to be created during the 1st initialization of PostgreSQL. This user only has permissions on the PostgreSQL custom database", + "form": true, + "title": "PostgreSQL custom user", "type": "string" + } + }, + "title": "Authentication configuration", + "type": "object" + }, + "metrics": { + "properties": { + "enabled": { + "form": true, + "title": "Configure metrics exporter", + "type": "boolean" + } + }, + "type": "object" + }, + "persistence": { + "properties": { + "size": { + "form": true, + "render": "slider", + "sliderMax": 100, + "sliderMin": 1, + "sliderUnit": "Gi", + "title": "Persistent Volume Size", + "type": "string" + } + }, + "type": "object" + }, + "replication": { + "form": true, + "properties": { + "enabled": { + "form": true, + "title": "Enable Replication", + "type": "boolean" }, - "loadBalancerSourceRanges": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", - "examples": [ - "10.10.10.0/24" - ], - "items": { - "type": "string" - }, - "title": "Load Balancer sources", - "type": "array" - }, - "nodePorts": { - "additionalProperties": false, - "properties": { - "backend": { - "default": "", - "maximum": 32767, - "minimum": 30000, - "title": "Node port for backend", - "type": [ - "string", - "integer" - ] - } + "readReplicas": { + "form": true, + "hidden": { + "path": "architecture", + "value": "standalone" }, - "title": "Node port for the Backstage client connections", - "type": "object" - }, - "ports": { - "additionalProperties": false, + "title": "read Replicas", + "type": "integer" + } + }, + "title": "Replication Details", + "type": "object" + }, + "resources": { + "description": "Configure resource requests", + "form": true, + "properties": { + "requests": { "properties": { - "backend": { - "default": 7007, - "title": "Backstage svc port number", - "type": "integer" - }, - "name": { - "default": "http-backend", - "title": "Backstage svc port name", + "cpu": { + "form": true, + "render": "slider", + "sliderMax": 2000, + "sliderMin": 10, + "sliderUnit": "m", + "title": "CPU Request", "type": "string" }, - "targetPort": { - "default": "backend", - "title": "Backstage svc target port referencing receiving pod container port", + "memory": { + "form": true, + "render": "slider", + "sliderMax": 2048, + "sliderMin": 10, + "sliderUnit": "Mi", + "title": "Memory Request", "type": "string" } }, - "title": "Backstage svc port for client connections", "type": "object" - }, - "sessionAffinity": { - "default": "None", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness", - "enum": [ - "None", - "ClientIP" - ], - "title": "Control where client requests go, to the same pod or round-robin", - "type": "string" - }, - "type": { - "default": "ClusterIP", - "enum": [ - "ClusterIP", - "NodePort", - "LoadBalancer", - "ExternalName" - ], - "title": "Kubernetes Service type", - "type": "string" } }, - "title": "Service parameters", + "title": "Required Resources", "type": "object" }, - "serviceAccount": { - "additionalProperties": false, + "volumePermissions": { "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom annotations for the ServiceAccount.", - "type": "object" - }, - "automountServiceAccountToken": { - "default": true, - "title": "Auto-mount the service account token in the pod", - "type": "boolean" - }, - "create": { - "default": false, - "title": "Enable the creation of a ServiceAccount for Backstage pods", + "enabled": { + "description": "Change the owner of the persist volume mountpoint to RunAsUser:fsGroup", + "form": true, + "title": "Enable Init Containers", "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom labels to the service ServiceAccount.", - "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "service": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Additional custom annotations for Backstage service", + "type": "object" + }, + "clusterIP": { + "default": "", + "title": "Backstage service Cluster IP", + "type": "string" + }, + "externalTrafficPolicy": { + "default": "Cluster", + "description": "Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip", + "enum": [ + "Cluster", + "Local" + ], + "title": "Backstage service external traffic policy", + "type": "string" + }, + "extraPorts": { + "default": [], + "items": { + "type": "object" + }, + "title": "Extra ports to expose in the Backstage service", + "type": "array" + }, + "ipFamilies": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "title": "Backstage service IP families", + "type": "array" + }, + "ipFamilyPolicy": { + "default": "", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", + "enum": [ + "", + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "title": "Backstage service IP family policy", + "type": "string" + }, + "loadBalancerIP": { + "default": "", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", + "title": "Backstage service Load Balancer IP", + "type": "string" + }, + "loadBalancerSourceRanges": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", + "examples": [ + "10.10.10.0/24" + ], + "items": { + "type": "string" + }, + "title": "Load Balancer sources", + "type": "array" + }, + "nodePorts": { + "additionalProperties": false, + "properties": { + "backend": { + "default": "", + "maximum": 32767, + "minimum": 30000, + "title": "Node port for backend", + "type": [ + "string", + "integer" + ] + } + }, + "title": "Node port for the Backstage client connections", + "type": "object" + }, + "ports": { + "additionalProperties": false, + "properties": { + "backend": { + "default": 7007, + "title": "Backstage svc port number", + "type": "integer" }, "name": { - "default": "", - "description": "If not set and `serviceAccount.create` is true, a name is generated", - "title": "Name of the ServiceAccount to use", + "default": "http-backend", + "title": "Backstage svc port name", + "type": "string" + }, + "targetPort": { + "default": "backend", + "title": "Backstage svc target port referencing receiving pod container port", "type": "string" } }, - "title": "Service Account Configuration", + "title": "Backstage svc port for client connections", + "type": "object" + }, + "sessionAffinity": { + "default": "None", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness", + "enum": [ + "None", + "ClientIP" + ], + "title": "Control where client requests go, to the same pod or round-robin", + "type": "string" + }, + "type": { + "default": "ClusterIP", + "enum": [ + "ClusterIP", + "NodePort", + "LoadBalancer", + "ExternalName" + ], + "title": "Kubernetes Service type", + "type": "string" + } + }, + "title": "Service parameters", + "type": "object" + }, + "serviceAccount": { + "additionalProperties": false, + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Additional custom annotations for the ServiceAccount.", + "type": "object" + }, + "automountServiceAccountToken": { + "default": true, + "title": "Auto-mount the service account token in the pod", + "type": "boolean" + }, + "create": { + "default": false, + "title": "Enable the creation of a ServiceAccount for Backstage pods", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "default": {}, + "title": "Additional custom labels to the service ServiceAccount.", "type": "object" + }, + "name": { + "default": "", + "description": "If not set and `serviceAccount.create` is true, a name is generated", + "title": "Name of the ServiceAccount to use", + "type": "string" } }, - "title": "Backstage chart schema", + "title": "Service Account Configuration", "type": "object" } }, - "title": "Root Schema", + "title": "Backstage chart schema", "type": "object" } \ No newline at end of file diff --git a/charts/backstage/values.schema.tmpl.json b/charts/backstage/values.schema.tmpl.json index 1806313c..80f5f946 100644 --- a/charts/backstage/values.schema.tmpl.json +++ b/charts/backstage/values.schema.tmpl.json @@ -1,454 +1,984 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://raw.githubusercontent.com/redhat-developer/rhdh-chart/main/charts/backstage/values.schema.json", "type": "object", - "title": "Root Schema", + "title": "Backstage chart schema", "properties": { - "upstream": { - "title": "Upstream Backstage chart schema.", - "$ref": "https://raw.githubusercontent.com/backstage/charts/backstage-{{ dependencies | selectattr('name', 'equalto', 'backstage') | map(attribute='version') | list | join('') }}/charts/backstage/values.schema.json", - "default": { - "backstage": { - "image": { - "registry": "quay.io", - "repository": "rhdh-community/rhdh", - "tag": "next", - "pullPolicy": "" - } - } - } - }, "global": { + "title": "Global parameters.", "type": "object", "properties": { - "clusterRouterBase": { - "title": "Shorthand for users who do not want to specify a custom HOSTNAME. Used ONLY with the DEFAULT upstream.backstage.appConfig value and with OCP Route enabled.", - "type": "string", - "default": "apps.example.com" - }, - "host": { - "title": "Custom hostname shorthand, overrides `global.clusterRouterBase`, `upstream.ingress.host`, `route.host`, and url values in `upstream.backstage.appConfig`", + "imageRegistry": { + "title": "Global Docker image registry", "type": "string", "default": "" }, - "dynamic": { - "title": "Dynamic plugins configuration.", - "type": "object", - "additionalProperties": false, - "properties": { - "plugins": { - "title": "List of dynamic plugins that should be installed in the backstage application.", - "type": "array", - "items": { - "type": "object", - "properties": { - "package": { - "title": "Package specification of the dynamic plugin to install. It should be usable by the `npm pack` command (for NPM packages) or the `skopeo copy` command (for OCI packages).", - "type": "string" - }, - "integrity": { - "title": "Integrity checksum of the package. Optional for local packages and OCI packages. For OCI packages, you can specify the image digest in place of the tag in the 'package' field. Supported algorithms include: `sha512`, `sha384` and `sha256`. Refer to https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description for more information", - "type": "string" - }, - "pluginConfig": { - "title": "Optional plugin-specific app-config YAML fragment.", - "type": "object" - }, - "disabled": { - "title": "Disable the plugin.", - "type": "boolean", - "default": false - } - }, - "required": [ - "package" - ] - } - }, - "includes": { - "title": "List of YAML files to include, each of which should contain a `plugins` array.", - "type": "array", - "items": { - "type": "string" - }, - "default": [] - } - } + "imagePullSecrets": { + "title": "Global Docker registry secret names as an array", + "type": "array", + "default": [], + "items": { + "type": "string" + }, + "uniqueItems": true, + "examples": [ + [ + "myRegistryKeySecretName" + ] + ] + } + } + }, + "kubeVersion": { + "title": "Override Kubernetes version", + "type": "string", + "default": "" + }, + "nameOverride": { + "title": "String to partially override common.names.fullname", + "type": "string", + "default": "" + }, + "fullnameOverride": { + "title": "String to fully override common.names.fullname", + "type": "string", + "default": "" + }, + "clusterDomain": { + "title": "Default Kubernetes cluster domain", + "type": "string", + "default": "cluster.local" + }, + "commonLabels": { + "title": "Labels to add to all deployed objects", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "commonAnnotations": { + "title": "Annotations to add to all deployed objects", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "extraDeploy": { + "title": "Array of extra objects to deploy with the release", + "type": "array", + "default": [], + "items": { + "type": [ + "string", + "object" + ] + }, + "uniqueItems": true + }, + "diagnosticMode": { + "title": "Enable diagnostic mode in the Deployment", + "type": "object", + "additionalProperties": false, + "properties": { + "enabled": { + "title": "Enable diagnostic mode", + "description": "All probes will be disabled and the command will be overridden", + "type": "boolean", + "default": false }, - "auth": { - "title": "Enable service authentication within Backstage instance", - "type": "object", - "additionalProperties": false, - "properties": { - "backend": { - "title": "Backend service to service authentication", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "Enable backend service to service authentication, unless configured otherwise it generates a secret value", - "type": "boolean", - "default": true - }, - "existingSecret": { - "title": "Instead of generating a secret value, refer to existing secret", - "type": "string", - "default": "" - }, - "value": { - "title": "Instead of generating a secret value, use the following value", - "type": "string", - "default": "" - } - } - } - } + "command": { + "title": "Command to override all containers in the Deployment", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "sleep" + ] }, - "catalogIndex": { - "title": "Catalog index configuration for automatic plugin discovery. The `install-dynamic-plugins.py` script pulls this image if the `CATALOG_INDEX_IMAGE` environment variable is set. The `dynamic-plugins.default.yaml` file will be extracted and written to `dynamic-plugins-root` volume mount.", - "type": "object", - "additionalProperties": false, - "properties": { - "image": { - "title": "Catalog index image configuration", - "type": "object", - "additionalProperties": false, - "properties": { - "registry": { - "title": "Catalog index image registry", - "type": "string", - "default": "quay.io" - }, - "repository": { - "title": "Catalog index image repository", - "type": "string", - "default": "rhdh/plugin-catalog-index" - }, - "tag": { - "title": "Catalog index image tag", - "type": "string", - "default": "1.9" - } - } - } - } + "args": { + "title": "Args to override all containers in the Deployment", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "infinity" + ] } } }, - "route": { - "title": "OpenShift Route parameters.", + "ingress": { + "title": "Ingress parameters", "type": "object", "additionalProperties": false, "properties": { - "annotations": { - "title": "Route specific annotations.", - "type": "object", - "default": {} - }, "enabled": { - "title": "Enable the creation of the route resource.", + "title": "Enable the creation of the ingress resource", "type": "boolean", "default": false }, - "host": { - "title": "Set the host attribute to a custom value.", + "className": { + "title": "Name of the IngressClass cluster resource which defines which controller will implement the resource.", "type": "string", "default": "", "examples": [ - "https://bakstage.example.com" + "nginx" ] }, - "path": { - "title": "Path that the router watches for, to route traffic for to the service.", + "annotations": { + "title": "Additional annotations for the Ingress resource", + "type": "object", + "default": {}, + "additionalProperties": { + "type": "string" + } + }, + "host": { + "title": "Hostname to be used to expose the route to access the backstage application.", "type": "string", - "default": "/" + "default": "", + "examples": [ + "backstage.10.0.0.1.nip.io" + ] }, - "wildcardPolicy": { - "title": "Wildcard policy if any for the route.", + "extraHosts": { + "title": "List of additional hostnames to be covered with this ingress record", + "type": "array", + "default": [], + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "pathType": { + "type": "string" + }, + "port": { + "type": "integer" + } + } + } + }, + "path": { + "title": "Path to be used to expose the full route to access the backstage application.", "type": "string", - "default": "None", - "enum": [ - "None", - "Subdomain" + "default": "/", + "examples": [ + "/backstage" ] }, "tls": { - "title": "Route TLS parameters.", + "title": "Ingress TLS parameters", "type": "object", "additionalProperties": false, "properties": { "enabled": { - "title": "Enable TLS configuration for the host defined at `route.host` parameter.", + "title": "Enable TLS configuration", + "description": "TLS for the host defined at `ingress.host` parameter", "type": "boolean", "default": false }, - "termination": { - "title": "Specify TLS termination.", - "type": "string", - "default": "edge", - "enum": [ - "edge", - "reencrypt", - "passthrough" - ] - }, - "certificate": { - "title": "Certificate contents.", + "secretName": { + "title": "The name to which the TLS Secret will be called", "type": "string", "default": "" + } + } + }, + "extraTls": { + "title": "The TLS configuration for additional hostnames to be covered with this ingress record.", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.networking.v1.IngressTLS" + }, + "default": [] + } + } + }, + "backstage": { + "title": "Backstage parameters", + "type": "object", + "additionalProperties": false, + "properties": { + "replicas": { + "title": "Number of deployment replicas", + "type": "integer", + "minimum": 0, + "default": 1 + }, + "revisionHistoryLimit": { + "title": "The count of deployment revisions", + "type": "integer", + "minimum": 0, + "default": 10 + }, + "image": { + "title": "Image parameters", + "type": "object", + "additionalProperties": false, + "properties": { + "digest": { + "default": "", + "description": "digest takes precedence over image tag", + "title": "Backstage image digest", + "type": "string" }, - "key": { - "title": "Key file contents.", + "registry": { + "title": "Backstage image registry", "type": "string", - "default": "" + "default": "ghcr.io", + "examples": [ + "ghcr.io", + "quay.io", + "docker.io" + ] }, - "caCertificate": { - "title": "Cert authority certificate contents.", + "repository": { + "title": "Backstage image repository", "type": "string", - "default": "" + "default": "backstage/backstage" }, - "destinationCACertificate": { - "title": "Contents of the ca certificate of the final destination.", + "tag": { + "title": "Backstage image tag", + "description": "Immutable tags are recommended.", "type": "string", - "default": "" + "default": "latest" }, - "insecureEdgeTerminationPolicy": { - "title": "Indicates the desired behavior for insecure connections to a route.", + "pullPolicy": { + "title": "Specify a imagePullPolicy.", + "description": "Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy", "type": "string", - "default": "Redirect", + "default": "", "enum": [ - "Redirect", - "None", + "Always", + "IfNotPresent", + "Never", "" ] + }, + "pullSecrets": { + "title": "Optionally specify an array of imagePullSecrets.", + "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/", + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "examples": [ + "myRegistryKeySecretName" + ] + } + } + }, + "autoscaling": { + "title": "Autoscaling parameters", + "type": "object", + "additionalProperties": false, + "properties": { + "enabled": { + "description": "Enable autoscaling", + "title": "Backstage Autoscaling", + "type": "boolean", + "default": false + }, + "minReplicas": { + "title": "Minimum number of Backstage pod replicas that the autoscaler is allowed to scale down to", + "type": "integer", + "default": 1 + }, + "maxReplicas": { + "title": "Maximum number of Backstage pod replicas that the autoscaler is allowed to scale up to", + "type": "integer", + "default": 100 + }, + "targetCPUUtilizationPercentage": { + "title": "Percentage of CPU that each Backstage pod should be using on average before the autoscaler decides to scale", + "type": "integer", + "default": 80 + }, + "targetMemoryUtilizationPercentage": { + "title": "Percentage of memory that each Backstage pod should be using on average before the autoscaler decides to scale", + "type": "integer" } } + }, + "pdb": { + "title": "PDB parameters", + "type": "object", + "additionalProperties": false, + "properties": { + "create": { + "description": "Create a PDB", + "title": "Backstage PDB", + "type": "boolean", + "default": false + }, + "minAvailable": { + "title": "Backstage PDB minAvailable", + "type": [ + "string", + "integer" + ], + "default": "" + }, + "maxUnavailable": { + "title": "Backstage PDB maxUnavailable", + "type": [ + "string", + "integer" + ], + "default": "" + } + } + }, + "containerPorts": { + "title": "Container ports on the Deployment", + "type": "object", + "additionalProperties": false, + "properties": { + "backend": { + "title": "Backstage backend port.", + "type": "integer", + "default": 7007 + } + } + }, + "command": { + "title": "Backstage container command", + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "node", + "packages/backend" + ] + }, + "affinity": { + "default": {}, + "description": "Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity", + "properties": { + "nodeAffinity": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity", + "description": "Describes node affinity scheduling rules for the pod." + }, + "podAffinity": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinity", + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." + }, + "podAntiAffinity": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.PodAntiAffinity", + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." + } + }, + "title": "Affinity for pod assignment", + "type": "object" + }, + "topologySpreadConstraints": { + "default": [], + "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" + }, + "title": "Topology Spread Constraint for pod assignment", + "type": "array" + }, + "args": { + "title": "Backstage container command arguments", + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "extraAppConfig": { + "title": "Extra app configuration files to inline into command arguments", + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "filename": { + "type": "string" + }, + "configMapRef": { + "type": "string" + } + } + }, + "default": [] + }, + "extraContainers": { + "title": "Deployment sidecars.", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Container" + }, + "default": [] + }, + "extraEnvVars": { + "title": "Backstage container environment variables", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "default": [], + "examples": [ + [ + { + "name": "APP_CONFIG_backend_cache_store", + "value": "memory" + } + ] + ] + }, + "extraEnvVarsCM": { + "title": "Backstage container environment variables from existing ConfigMaps", + "type": "array", + "description": "Translates into array of `envFrom.[].configMapRef.name`", + "items": { + "type": "string" + }, + "default": [], + "examples": [ + [ + "my-backstage-configmap" + ] + ] + }, + "extraEnvVarsSecrets": { + "title": "Backstage container environment variables from existing Secrets", + "type": "array", + "description": "Translates into array of `envFrom.[].secretRef.name`", + "items": { + "type": "string" + }, + "default": [], + "examples": [ + [ + "my-backstage-secrets" + ] + ] + }, + "extraPorts": { + "title": "Extra ports to expose in the Backstage container", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "default": [] + }, + "extraVolumeMounts": { + "title": "Backstage container additional volume mounts", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "default": [] + }, + "extraVolumes": { + "title": "Backstage container additional volumes", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Volume" + }, + "default": [] + }, + "initContainers": { + "title": "Backstage container init containers", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Container" + }, + "default": [] + }, + "installDir": { + "title": "Directory containing the backstage installation", + "type": "string", + "default": "/app" + }, + "resources": { + "title": "Resource requests/limits", + "description": "Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements", + "default": {}, + "examples": [ + { + "limits": { + "memory": "1Gi", + "cpu": "1000m" + }, + "requests": { + "memory": "250Mi", + "cpu": "100m" + } + } + ] + }, + "readinessProbe": { + "title": "Readiness probe", + "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", + "default": { + "httpGet": { + "path": "/.backstage/health/v1/readiness", + "port": 7007, + "scheme": "HTTP" + } + }, + "examples": [ + { + "failureThreshold": 3, + "httpGet": { + "path": "/.backstage/health/v1/readiness", + "port": 7007, + "scheme": "HTTP" + }, + "initialDelaySeconds": 30, + "periodSeconds": 10, + "successThreshold": 2, + "timeoutSeconds": 2 + } + ] + }, + "livenessProbe": { + "title": "Liveness probe", + "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", + "default": { + "httpGet": { + "path": "/.backstage/health/v1/liveness", + "port": 7007, + "scheme": "HTTP" + } + }, + "examples": [ + { + "failureThreshold": 3, + "httpGet": { + "path": "/.backstage/health/v1/liveness", + "port": 7007, + "scheme": "HTTP" + }, + "initialDelaySeconds": 60, + "periodSeconds": 10, + "successThreshold": 1, + "timeoutSeconds": 2 + } + ] + }, + "startupProbe": { + "title": "Startup probe", + "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", + "default": { + "httpGet": { + "path": "/.backstage/health/v1/liveness", + "port": 7007, + "scheme": "HTTP" + } + }, + "examples": [ + { + "failureThreshold": 3, + "httpGet": { + "path": "/.backstage/health/v1/liveness", + "port": 7007, + "scheme": "HTTP" + }, + "initialDelaySeconds": 60, + "periodSeconds": 10, + "successThreshold": 1, + "timeoutSeconds": 2 + } + ] + }, + "podSecurityContext": { + "title": "Security settings for a Pod.", + "description": "The security settings that you specify for a Pod apply to all Containers in the Pod. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext", + "default": {} + }, + "containerSecurityContext": { + "title": "Security settings for a Container.", + "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext", + "default": {} + }, + "appConfig": { + "title": "Generates ConfigMap and configures it in the Backstage pods", + "type": [ + "object", + "string" + ], + "default": {}, + "examples": [ + { + "app": { + "baseUrl": "https://somedomain.tld" + } + } + ] + }, + "nodeSelector": { + "title": "Node labels for pod assignment", + "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "tolerations": { + "title": "Node tolerations for server scheduling to nodes with taints", + "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration" + }, + "default": [] + }, + "hostAliases": { + "title": "Adding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable", + "description": "Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/#adding-additional-entries-with-hostaliases", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.HostAlias" + }, + "default": [] + }, + "podAnnotations": { + "title": "Annotations to add to the backend deployment pods", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "podLabels": { + "title": "Labels to add to the backend deployment pods", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "annotations": { + "title": "Additional custom annotations for the `Deployment` resource", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} } } }, - "test": { - "title": "Test configuration for the Backstage chart.", + "service": { + "title": "Service parameters", "type": "object", "additionalProperties": false, "properties": { - "enabled": { - "title": "Enable test configuration. If enabled, test resources will be created to verify the Helm Release has been successfully deployed using the `helm test` command.", - "type": "boolean", - "default": true + "type": { + "title": "Kubernetes Service type", + "type": "string", + "default": "ClusterIP", + "enum": [ + "ClusterIP", + "NodePort", + "LoadBalancer", + "ExternalName" + ] }, - "image": { - "title": "Image to use for the test pod. Note that the image needs to have both the `sh` and `curl` binaries in it.", + "ports": { + "title": "Backstage svc port for client connections", "type": "object", - "additionalProperties": false, - "properties": { - "registry": { - "title": "Registry to use for the test pod image.", - "type": "string", - "default": "quay.io" - }, - "repository": { - "title": "Repository to use for the test pod image.", - "type": "string", - "default": "curl/curl" - }, - "tag": { - "title": "Tag to use for the test pod image.", - "type": "string", - "default": "latest" - } + "additionalProperties": false, + "properties": { + "backend": { + "title": "Backstage svc port number", + "type": "integer", + "default": 7007 + }, + "name": { + "title": "Backstage svc port name", + "type": "string", + "default": "http-backend" + }, + "targetPort": { + "title": "Backstage svc target port referencing receiving pod container port", + "type": "string", + "default": "backend" } + } }, - "injectTestNpmrcSecret": { - "title": "Whether to inject a fake dynamic plugins npmrc secret. This is only used for testing purposes and should not be used in production. It is only relevant when `test.enabled` field is set to `true`.", - "type": "boolean", - "default": false + "nodePorts": { + "title": "Node port for the Backstage client connections", + "type": "object", + "additionalProperties": false, + "properties": { + "backend": { + "title": "Node port for backend", + "type": [ + "string", + "integer" + ], + "default": "", + "minimum": 30000, + "maximum": 32767 + } + } + }, + "sessionAffinity": { + "title": "Control where client requests go, to the same pod or round-robin", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness", + "type": "string", + "default": "None", + "enum": [ + "None", + "ClientIP" + ] + }, + "clusterIP": { + "title": "Backstage service Cluster IP", + "type": "string", + "default": "" + }, + "loadBalancerIP": { + "title": "Backstage service Load Balancer IP", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", + "type": "string", + "default": "" + }, + "loadBalancerSourceRanges": { + "title": "Load Balancer sources", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "examples": [ + "10.10.10.0/24" + ] + }, + "externalTrafficPolicy": { + "title": "Backstage service external traffic policy", + "description": "Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip", + "type": "string", + "default": "Cluster", + "enum": [ + "Cluster", + "Local" + ] + }, + "annotations": { + "title": "Additional custom annotations for Backstage service", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "extraPorts": { + "title": "Extra ports to expose in the Backstage service", + "type": "array", + "items": { + "type": "object" + }, + "default": [] + }, + "ipFamilyPolicy": { + "title": "Backstage service IP family policy", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", + "type": "string", + "default": "", + "enum": [ + "", + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ] + }, + "ipFamilies": { + "title": "Backstage service IP families", + "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", + "type": "array", + "items": { + "type": "string", + "enum": ["IPv4", "IPv6"] + }, + "default": [] } } }, - "orchestrator": { - "title": "orchestrator configuration", + "networkPolicy": { + "title": "Network policies", "type": "object", "additionalProperties": false, "properties": { "enabled": { - "title": "enabled flag", + "title": "Specifies whether a NetworkPolicy should be created", "type": "boolean", "default": false }, - "plugins": { - "title": "List of orchestrator plugins and their configuration", - "type": "array", - "items": { - "type": "object", - "properties": { - "package": { - "title": "Package specification of the dynamic plugin to install. It should be usable by the `npm pack` command (for NPM packages) or the `skopeo copy` command (for OCI packages).", - "type": "string" - }, - "integrity": { - "title": "Integrity checksum of the package. Optional for local packages and OCI packages. For OCI packages, you can specify the image digest in place of the tag in the 'package' field. Supported algorithms include: `sha512`, `sha384` and `sha256`. Refer to https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description for more information", - "type": "string" - }, - "pluginConfig": { - "title": "Optional plugin-specific app-config YAML fragment.", - "type": "object" - }, - "disabled": { - "title": "Disable the plugin.", - "type": "boolean", - "default": false - } - }, - "required": [ - "package" - ] - } - }, - "serverlessLogicOperator": { - "title": "serverlessLogicOperator configuration", + "ingressRules": { + "title": "Custom egress rules for the network policy", "type": "object", "additionalProperties": false, "properties": { - "enabled": { - "title": "enabled flag", - "type": "boolean", - "default": true + "customRules": { + "title": "", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" + } + }, + "namespaceSelector": { + "title": "Namespace Selector.", + "description": "Selects Namespaces using cluster scoped-labels.", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "default": {} + }, + "podSelector": { + "title": "Pod Selector.", + "description": "Selects selects Pods in this namespace.", + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "default": {} } } }, - "serverlessOperator": { - "title": "serverlessOperator configuration", + "egressRules": { + "title": "Custom egress rules for the network policy", "type": "object", "additionalProperties": false, "properties": { - "enabled": { - "title": "enabled flag", + "customRules": { + "title": "", + "type": "array", + "items": { + "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" + } + }, + "denyConnectionsToExternal": { + "title": "Deny external connections. Should not be enabled when working with an external database.", "type": "boolean", - "default": true + "default": false } } + } + } + }, + "postgresql": { + "title": "PostgreSQL chart configuration", + "description": "Ref. https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml", + "$ref": "https://raw.githubusercontent.com/bitnami/charts/main/bitnami/postgresql/values.schema.json" + }, + "serviceAccount": { + "title": "Service Account Configuration", + "type": "object", + "additionalProperties": false, + "properties": { + "create": { + "title": "Enable the creation of a ServiceAccount for Backstage pods", + "type": "boolean", + "default": false + }, + "name": { + "title": "Name of the ServiceAccount to use", + "description": "If not set and `serviceAccount.create` is true, a name is generated", + "type": "string", + "default": "" }, - "sonataflowPlatform": { - "title": "sonataflowPlatform configuration", + "labels": { + "title": "Additional custom labels to the service ServiceAccount.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "annotations": { + "title": "Additional custom annotations for the ServiceAccount.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, + "automountServiceAccountToken": { + "title": "Auto-mount the service account token in the pod", + "type": "boolean", + "default": true + } + } + }, + "metrics": { + "title": "Metrics configuration", + "description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus", + "type": "object", + "additionalProperties": false, + "properties": { + "serviceMonitor": { + "title": "ServiceMonitor configuration", + "description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator", "type": "object", "additionalProperties": false, "properties": { - "monitoring": { - "title": "monitoring configuration", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "enabled flag", - "type": "boolean", - "default": true - } - } + "enabled": { + "title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created", + "description": "Prometheus Operator must be installed in your cluster prior to enabling.", + "type": "boolean", + "default": false }, - "eventing": { - "title": "eventing configuration", + "annotations": { + "title": "ServiceMonitor annotations", "type": "object", - "additionalProperties": false, - "properties": { - "broker": { - "title": "broker configuration", - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "title": "name value", - "type": "string", - "default": "" - }, - "namespace": { - "title": "namespace value", - "type": "string", - "default": "" - } - } - } - } + "additionalProperties": { + "type": "string" + }, + "default": {} }, - "resources": { - "title": "resources configuration", + "labels": { + "title": "Additional ServiceMonitor labels", "type": "object", - "additionalProperties": false, - "properties": { - "requests": { - "title": "requests configuration", - "type": "object", - "additionalProperties": false, - "properties": { - "memory": { - "title": "memory value", - "type": "string", - "default": "64Mi" - }, - "cpu": { - "title": "cpu value", - "type": "string", - "default": "250m" - } - } - }, - "limits": { - "title": "limits configuration", - "type": "object", - "additionalProperties": false, - "properties": { - "memory": { - "title": "memory value", - "type": "string", - "default": "1Gi" - }, - "cpu": { - "title": "cpu value", - "type": "string", - "default": "500m" - } - } - } - } - }, - "externalDBsecretRef": { - "title": "Secret name for the user-created secret to connect an external DB", - "type": "string", - "additionalProperties": false - }, - "externalDBName": { - "title": "Name for the user-configured external Database", - "type": "string", - "additionalProperties": false - }, - "externalDBHost": { - "title": "Host for the user-configured external Database", - "type": "string", - "additionalProperties": false - }, - "externalDBPort": { - "title": "Port for the user-configured external Database", - "type": "string", - "additionalProperties": false - }, - "initContainerImage": { - "title": "Image for the init container used by the create-db job", - "type": "string", - "additionalProperties": false + "additionalProperties": { + "type": "string" + }, + "default": {} }, - "createDBJobImage": { - "title": "Image for the container used by the create-db job", - "type": "string", - "additionalProperties": false + "interval": { + "title": "ServiceMonitor scrape interval", + "type": [ + "string", + "null" + ], + "default": null }, - "jobServiceImage": { - "title": "Image for the container used by the sonataflow jobs service", + "path": { + "title": "ServiceMonitor endpoint path", + "description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md", "type": "string", - "additionalProperties": false + "default": "/metrics" }, - "dataIndexImage": { - "title": "Image for the container used by the sonataflow data index", - "type": "string", - "additionalProperties": false + "port": { + "default": "http-backend", + "description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.", + "title": "ServiceMonitor endpoint port", + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] } } } diff --git a/charts/backstage/values.yaml b/charts/backstage/values.yaml index cd3c293e..36aac536 100644 --- a/charts/backstage/values.yaml +++ b/charts/backstage/values.yaml @@ -1,404 +1,504 @@ -nameOverride: developer-hub +# Default values for the Backstage chart. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +# -- Global parameters +# Global Docker image parameters +# Please, note that this will override the image parameters, including dependencies, configured to use the global value +# Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass +# @default -- See below global: - dynamic: - # -- Array of YAML files listing dynamic plugins to include with those listed in the `plugins` field. - # Relative paths are resolved from the working directory of the initContainer that will install the plugins (`/opt/app-root/src`). - includes: - # -- List of dynamic plugins included inside the `rhdh` container image, some of which are disabled by default. - # This file ONLY works with the `rhdh` container image. - - "dynamic-plugins.default.yaml" - # -- List of dynamic plugins, possibly overriding the plugins listed in `includes` files. - # Every item defines the plugin `package` as a [NPM package spec](https://docs.npmjs.com/cli/v10/using-npm/package-spec), - # an optional `pluginConfig` with plugin-specific backstage configuration, and an optional `disabled` flag to disable/enable a plugin - # listed in `includes` files. It also includes an `integrity` field that is used to verify the plugin package [integrity](https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description). - plugins: [] - # -- Shorthand for users who do not want to specify a custom HOSTNAME. Used ONLY with the DEFAULT upstream.backstage.appConfig value and with OCP Route enabled. - clusterRouterBase: "apps.example.com" - # -- Custom hostname shorthand, overrides `global.clusterRouterBase`, `upstream.ingress.host`, `route.host`, and url values in `upstream.backstage.appConfig`. - host: "" - # -- Enable service authentication within Backstage instance - auth: - # -- Backend service to service authentication - #
Ref: https://backstage.io/docs/auth/service-to-service-auth/ - backend: - # -- Enable backend service to service authentication, unless configured otherwise it generates a secret value - enabled: true - # -- Instead of generating a secret value, refer to existing secret - existingSecret: "" - # -- Instead of generating a secret value, use the following value - value: "" - # -- Catalog index configuration for automatic plugin discovery. - # The `install-dynamic-plugins.py` script pulls this image if the `CATALOG_INDEX_IMAGE` environment variable is set. - # The `dynamic-plugins.default.yaml` file will be extracted and written to `dynamic-plugins-root` volume mount. - catalogIndex: - image: - registry: quay.io - repository: rhdh/plugin-catalog-index - tag: "1.10" -# -- Upstream Backstage [chart configuration](https://github.com/backstage/charts/blob/main/charts/backstage/values.yaml) -# @default -- Use Openshift compatible settings -upstream: - nameOverride: developer-hub - backstage: - image: - registry: quay.io - repository: rhdh-community/rhdh - tag: next - pullPolicy: "" - command: [] - # FIXME (tumido): USE POSTGRES_PASSWORD and POSTGRES_USER instead of POSTGRES_ADMIN_PASSWORD - # This is a hack. In {fedora,rhel}/postgresql images, regular user is forbidden - # from creating DBs in runtime. A single DB can be created ahead of time via - # POSTGRESQL_DATABASE env variable (in this case via - # upstream.postgresql.primary.extraEnvVars value), but this doesn't allow us to - # create multiple DBs. Since Backstage requires by default 5 different DBs, we - # can't accommodate that properly. - appConfig: - auth: - providers: {} - app: - # Please update to match host in case you don't want to configure hostname via `global.clusterRouterBase` or `global.host` if not deploying on an openshift cluster. - baseUrl: 'https://{{- include "rhdh.hostname" . }}' - backend: - baseUrl: 'https://{{- include "rhdh.hostname" . }}' - cors: - origin: 'https://{{- include "rhdh.hostname" . }}' - database: - connection: - password: ${POSTGRESQL_ADMIN_PASSWORD} - user: postgres - auth: - externalAccess: - - type: legacy - options: - subject: legacy-default-config - secret: ${BACKEND_SECRET} - containerSecurityContext: - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - runAsNonRoot: true - seccompProfile: - type: "RuntimeDefault" - resources: - requests: - cpu: 250m - memory: 1Gi - limits: - cpu: 1000m - memory: 2.5Gi - ephemeral-storage: 5Gi - startupProbe: - # This gives enough time upon container startup before the liveness and readiness probes are triggered. - # Giving (120s = initialDelaySeconds + failureThreshold * periodSeconds) to account for the worst case scenario. - httpGet: - path: /.backstage/health/v1/liveness - port: backend - scheme: HTTP - initialDelaySeconds: 30 - timeoutSeconds: 4 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - failureThreshold: 3 - httpGet: - path: /.backstage/health/v1/readiness - port: backend - scheme: HTTP - # Both liveness and readiness probes won't be triggered until the startup probe is successful. - # The startup probe is already configured to give enough time for the application to be started. - # So removing the additional delay here allows the readiness probe to be checked right away after the startup probe, - # which helps make the application available faster to the end-user. - # initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 2 - timeoutSeconds: 4 - livenessProbe: - failureThreshold: 3 - httpGet: - path: /.backstage/health/v1/liveness - port: backend - scheme: HTTP - # Both liveness and readiness probes won't be triggered until the startup probe is successful. - # The startup probe is already configured to give enough time for the application to be started. - # So removing the additional delay here allows the liveness probe to be checked right away after the startup probe, - # which helps make the application available faster to the end-user. - # initialDelaySeconds: 60 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 4 - extraEnvVars: - - name: BACKEND_SECRET - valueFrom: - secretKeyRef: - key: backend-secret - name: '{{ include "rhdh.backend-secret-name" $ }}' - - name: POSTGRESQL_ADMIN_PASSWORD - valueFrom: - secretKeyRef: - key: postgres-password - name: '{{- include "rhdh.postgresql.secretName" . }}' - args: - # This additional `app-config`` file is generated by the initContainer below, and contains the merged configuration of installed dynamic plugins. - - "--config" - - dynamic-plugins-root/app-config.dynamic-plugins.yaml - extraVolumeMounts: - # The initContainer below will install dynamic plugins in this volume mount. - - name: dynamic-plugins-root - mountPath: /opt/app-root/src/dynamic-plugins-root - - name: extensions-catalog - mountPath: /extensions - - name: temp - mountPath: /tmp - extraVolumes: - # -- Ephemeral volume that will contain the dynamic plugins installed by the initContainer below at start. - - name: dynamic-plugins-root - ephemeral: - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - # -- Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. - storage: 5Gi - # Volume that will expose the `dynamic-plugins.yaml` file from the `dynamic-plugins` config map. - # The `dynamic-plugins` config map is created by the helm chart from the content of the `global.dynamic` field. - - name: dynamic-plugins - configMap: - defaultMode: 420 - name: '{{ printf "%s-dynamic-plugins" .Release.Name }}' - optional: true - # Optional volume that allows exposing the `.npmrc` file (through a `dynamic-plugins-npmrc` secret) - # to be used when running `npm pack` during the dynamic plugins installation by the initContainer. - - name: dynamic-plugins-npmrc - secret: - defaultMode: 420 - optional: true - secretName: '{{ printf "%s-dynamic-plugins-npmrc" .Release.Name }}' - # Optional volume that allows adding a container registry `auth.json` file (through a `dynamic-plugins-registry-auth` secret) - # to be used when installing plugins from secure container registries during the dynamic plugins installation by the initContainer. - - name: dynamic-plugins-registry-auth - secret: - defaultMode: 416 - optional: true - secretName: '{{ printf "%s-dynamic-plugins-registry-auth" .Release.Name }}' - - name: npmcacache - emptyDir: {} - # -- Ephemeral volume used by the install-dynamic-plugins init container to extract catalog entities from the catalog index image. - # Mounted at the /extensions path in the backstage-backend main container for automatic discovery by the extension catalog backend providers. - - name: extensions-catalog - emptyDir: {} - - name: temp - emptyDir: {} - initContainers: - - name: install-dynamic-plugins - resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: 1000m - memory: 2.5Gi - ephemeral-storage: 5Gi - securityContext: - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - runAsNonRoot: true - seccompProfile: - type: "RuntimeDefault" - # -- Image used by the initContainer to install dynamic plugins into the `dynamic-plugins-root` volume mount. - # It could be replaced by a custom image based on this one. - # @default -- `quay.io/rhdh-community/rhdh:next` - image: '{{ include "backstage.image" . }}' - command: - - ./install-dynamic-plugins.sh - - /dynamic-plugins-root - env: - - name: NPM_CONFIG_USERCONFIG - value: /opt/app-root/src/.npmrc.dynamic-plugins - # This following variable is required for orchestrator to startup properly. - - name: MAX_ENTRY_SIZE - value: "30000000" - - name: CATALOG_INDEX_IMAGE - value: '{{ .Values.global.catalogIndex.image.registry }}/{{ .Values.global.catalogIndex.image.repository }}:{{ .Values.global.catalogIndex.image.tag }}' - - name: CATALOG_ENTITIES_EXTRACT_DIR - value: '/extensions' - imagePullPolicy: "" - volumeMounts: - - mountPath: /dynamic-plugins-root - name: dynamic-plugins-root - - mountPath: /opt/app-root/src/dynamic-plugins.yaml - name: dynamic-plugins - readOnly: true - subPath: dynamic-plugins.yaml - - mountPath: /opt/app-root/src/.npmrc.dynamic-plugins - name: dynamic-plugins-npmrc - readOnly: true - subPath: .npmrc - - mountPath: /opt/app-root/src/.config/containers - name: dynamic-plugins-registry-auth - readOnly: true - - mountPath: /opt/app-root/src/.npm/_cacache - name: npmcacache - - name: extensions-catalog - mountPath: /extensions - - name: temp - mountPath: /tmp - workingDir: /opt/app-root/src - installDir: /opt/app-root/src - podAnnotations: - checksum/dynamic-plugins: >- - {{- include "common.tplvalues.render" ( dict "value" .Values.global.dynamic "context" $) | sha256sum }} - ingress: - host: "{{ .Values.global.host }}" - metrics: - serviceMonitor: - enabled: false - path: /metrics - port: http-metrics - postgresql: - enabled: true - postgresqlDataDir: /var/lib/pgsql/data/userdata - serviceBindings: - enabled: true - image: - registry: quay.io - repository: fedora/postgresql-15 - tag: latest - auth: - secretKeys: - adminPasswordKey: postgres-password - userPasswordKey: password - primary: - # TODO: https://issues.redhat.com/browse/RHIDP-2645 - podSecurityContext: - enabled: false - containerSecurityContext: - enabled: false - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: 250m - memory: 1024Mi - ephemeral-storage: 20Mi - persistence: - enabled: true - size: 1Gi - mountPath: /var/lib/pgsql/data - extraEnvVars: - - name: POSTGRESQL_ADMIN_PASSWORD - valueFrom: - secretKeyRef: - key: postgres-password - name: '{{- include "postgresql.v1.secretName" . }}' - service: - extraPorts: - - name: http-metrics - port: 9464 - targetPort: 9464 -# -- OpenShift Route parameters -route: - # -- Route specific annotations + # -- Global Docker image registry + imageRegistry: "" + + # -- Global Docker registry secret names as an array + #
E.g. `imagePullSecrets: [myRegistryKeySecretName]` + imagePullSecrets: [] + +# -- Common parameters + +# -- Override Kubernetes version +kubeVersion: "" + +# -- String to partially override common.names.fullname +nameOverride: "" + +# -- String to fully override common.names.fullname +fullnameOverride: "" + +# -- Default Kubernetes cluster domain +clusterDomain: cluster.local + +# -- Labels to add to all deployed objects +commonLabels: {} + +# -- Annotations to add to all deployed objects +commonAnnotations: {} + +# -- Array of extra objects to deploy with the release +extraDeploy: [] + +# -- Enable diagnostic mode in the Deployment +diagnosticMode: + + # -- Enable diagnostic mode (all probes will be disabled and the command will be overridden) + enabled: false + + # -- Command to override all containers in the Deployment + command: + - sleep + + # -- Args to override all containers in the Deployment + args: + - infinity + +# -- Ingress parameters +ingress: + + # -- Enable the creation of the ingress resource + enabled: false + + # -- Name of the IngressClass cluster resource which defines which controller will implement the resource (e.g nginx) + className: "" + + # -- Additional annotations for the Ingress resource annotations: {} - # -- Enable the creation of the route resource - enabled: true - # -- Set the host attribute to a custom value. If not set, OpenShift will generate it, please make sure to match your baseUrl - host: "{{ .Values.global.host }}" - # -- Path that the router watches for, to route traffic for to the service. + + # -- Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io) + host: "" + + # -- List of additional hostnames to be covered with this ingress record (e.g. a CNAME) + # + extraHosts: [] + + # -- Path to be used to expose the full route to access the backstage application (e.g: IP.nip.io/backstage) path: "/" - # -- Wildcard policy if any for the route. Currently only 'Subdomain' or 'None' is allowed. - wildcardPolicy: None - # -- Route TLS parameters - #
Ref: https://docs.openshift.com/container-platform/4.9/networking/routes/secured-routes.html + + # -- Ingress TLS parameters tls: - # -- Enable TLS configuration for the host defined at `route.host` parameter - enabled: true - # -- Specify TLS termination. - termination: "edge" - # -- Certificate contents - certificate: "" - # -- Key file contents - key: "" - # -- Cert authority certificate contents. Optional - caCertificate: "" - # -- Contents of the ca certificate of the final destination. - #
When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify. - destinationCACertificate: "" - # -- Indicates the desired behavior for insecure connections to a route. - #
While each router may make its own decisions on which ports to expose, this is normally port 80. The only valid values are None, Redirect, or empty for disabled. - insecureEdgeTerminationPolicy: "Redirect" -# -- Test pod parameters -test: - # -- Whether to enable the test-connection pod used for testing the Release using `helm test`. - enabled: true + + # -- Enable TLS configuration for the host defined at `ingress.host` parameter + enabled: false + + # -- The name to which the TLS Secret will be called + secretName: "" + + # -- The TLS configuration for additional hostnames to be covered with this ingress record. + #
Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls + # + extraTls: [] + +# -- Backstage parameters +# @default -- See below +backstage: + + # -- Number of deployment replicas + replicas: 1 + + # -- Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept. + # May be set to 0 in case of GitOps deployment approach. + revisionHistoryLimit: 10 + image: - # -- Test connection pod image registry - registry: quay.io - # -- Test connection pod image repository. Note that the image needs to have both the `sh` and `curl` binaries in it. - repository: curl/curl - # -- Test connection pod image tag. Note that the image needs to have both the `sh` and `curl` binaries in it. + + # -- Backstage image registry + registry: ghcr.io + + # -- Backstage image repository + repository: backstage/backstage + + # -- Backstage image tag (immutable tags are recommended) tag: latest - # -- Whether to inject a fake dynamic plugins npmrc secret. - #
See RHDHBUGS-1893 and RHDHBUGS-1464 for the motivation behind this. - #
This is only used for testing purposes and should not be used in production. - #
Only relevant when `test.enabled` field is set to `true`. - injectTestNpmrcSecret: false -orchestrator: + + # -- Backstage image digest (digest takes precedence over image tag) + digest: "" + + # -- Specify a imagePullPolicy. + # Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' + #
Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + pullPolicy: "" + + # -- Optionally specify an array of imagePullSecrets. + # Secrets must be manually created in the namespace. + #
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ + #
E.g: `pullSecrets: [myRegistryKeySecretName]` + pullSecrets: [] + + # -- Pod Disruption Budget configuration + # ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ + pdb: + create: false + minAvailable: "" + maxUnavailable: "" + + # -- Autoscaling configuration. + #
Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ + autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + + # -- Container ports on the Deployment + containerPorts: + backend: 7007 + + # -- Backstage container command + command: ["node", "packages/backend"] + + # -- Backstage container command arguments + args: [] + + # -- Extra app configuration files to inline into command arguments + extraAppConfig: [] + + # -- Deployment sidecars + extraContainers: [] + + # -- Backstage container environment variables + extraEnvVars: [] + + # -- Backstage container environment variables from existing ConfigMaps + extraEnvVarsCM: [] + + # -- Backstage container environment variables from existing Secrets + extraEnvVarsSecrets: [] + + # -- Backstage container additional ports + extraPorts: [] + + # -- Backstage container additional volume mounts + extraVolumeMounts: [] + + # -- Backstage container additional volumes + extraVolumes: [] + + # -- Backstage container init containers + initContainers: [] + + # -- Directory containing the backstage installation + installDir: /app + + # -- Resource requests/limits + #
Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container + # + resources: {} + + # -- Readiness Probe + # Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes + # - -## Description of the change - - - -## Existing or Associated Issue(s) - - - -## Additional Information - - - -## Checklist - -- [ ] Chart version bumped in `Chart.yaml` according to [semver](http://semver.org/). -- [ ] Variables are documented in the `values.yaml` and added to the README.md. The [helm-docs](https://github.com/norwoodj/helm-docs) utility can be used to generate the necessary content. Use `helm-docs --dry-run` to preview the content. -- [ ] JSON Schema generated. -- [ ] List tests pass for Chart using the [Chart Testing](https://github.com/helm/chart-testing) tool and the `ct lint` command. diff --git a/charts/backstage/vendor/backstage/.github/workflows/lint.yaml b/charts/backstage/vendor/backstage/.github/workflows/lint.yaml deleted file mode 100644 index b6bb58a2..00000000 --- a/charts/backstage/vendor/backstage/.github/workflows/lint.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: Lint Charts - -on: - pull_request: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.number }} - cancel-in-progress: true - -jobs: - lint: - runs-on: ubuntu-latest - env: - GO111MODULE: on - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v4 - with: - python-version: 3.12 - - - name: Set up chart-testing - uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # pin@v2.3.0 - - - name: Run chart-testing (list-changed) - id: list-changed - run: | - changed=$(ct list-changed --target-branch "${{ github.event.pull_request.base.ref }}") - if [[ -n "$changed" ]]; then - echo "changed=true" >> "$GITHUB_OUTPUT" - fi - - - name: "Add NGINX Ingress and Bitnami Repository" - if: steps.list-changed.outputs.changed == 'true' - run: | - helm repo add ingress-nginx "https://kubernetes.github.io/ingress-nginx" - helm repo update - - - name: Run chart-testing (lint) - if: steps.list-changed.outputs.changed == 'true' - run: ct lint --config ct.yaml --target-branch "${{ github.event.pull_request.base.ref }}" diff --git a/charts/backstage/vendor/backstage/.github/workflows/pre-commit-comment.yaml b/charts/backstage/vendor/backstage/.github/workflows/pre-commit-comment.yaml deleted file mode 100644 index d2640d9d..00000000 --- a/charts/backstage/vendor/backstage/.github/workflows/pre-commit-comment.yaml +++ /dev/null @@ -1,101 +0,0 @@ -name: Pre-commit Comment - -on: - workflow_run: - workflows: ["Pre-commit"] - types: - - completed - -jobs: - comment: - name: Comment on PR - runs-on: ubuntu-latest - if: github.event.workflow_run.event == 'pull_request' - permissions: - pull-requests: write - steps: - - name: Get PR number from workflow run - id: pr-number - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - // Get PR number from the workflow run event - const headRepo = context.payload.workflow_run.head_repository.owner.login; - const headBranch = context.payload.workflow_run.head_branch; - - console.log(`Looking for PR with head: ${headRepo}:${headBranch}`); - - const { data: pullRequests } = await github.rest.pulls.list({ - owner: context.repo.owner, - repo: context.repo.repo, - state: 'open', - head: `${headRepo}:${headBranch}`, - }); - - if (pullRequests.length > 0) { - core.setOutput('number', pullRequests[0].number); - } - - name: Delete previous pre-commit failure comments - if: steps.pr-number.outputs.number - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - env: - PR_NUMBER: ${{ steps.pr-number.outputs.number }} - with: - script: | - const prNumber = parseInt(process.env.PR_NUMBER, 10); - - // Get all comments on the PR - const { data: comments } = await github.rest.issues.listComments({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: prNumber, - }); - - console.log(`Found ${comments.length} total comments on PR #${prNumber}`); - - const botComments = comments.filter(comment => { - return comment.user.login === 'github-actions[bot]' && - comment.body && - comment.body.includes('⚠️ Pre-commit Hook Failures'); - }); - - for (const comment of botComments) { - await github.rest.issues.deleteComment({ - owner: context.repo.owner, - repo: context.repo.repo, - comment_id: comment.id, - }); - } - - - name: Post comment - if: steps.pr-number.outputs.number && github.event.workflow_run.conclusion == 'failure' - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - env: - PR_NUMBER: ${{ steps.pr-number.outputs.number }} - with: - script: | - const prNumber = parseInt(process.env.PR_NUMBER, 10); - - const body = `## ⚠️ Pre-commit Hook Failures - - The pre-commit hooks detected issues that need to be fixed. - - **To fix these issues:** - - 1. Install required dependencies: - - [pre-commit](https://pre-commit.com/#install) - - [helm-docs](https://github.com/norwoodj/helm-docs#installation) - - 2. Run pre-commit on all files: - \`\`\`bash - pre-commit run --all-files - \`\`\` - - 3. Commit and push the changes`; - - await github.rest.issues.createComment({ - issue_number: prNumber, - owner: context.repo.owner, - repo: context.repo.repo, - body: body - }); diff --git a/charts/backstage/vendor/backstage/.github/workflows/pre-commit.yaml b/charts/backstage/vendor/backstage/.github/workflows/pre-commit.yaml deleted file mode 100644 index b8144247..00000000 --- a/charts/backstage/vendor/backstage/.github/workflows/pre-commit.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Pre-commit - -on: - pull_request: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.number }} - cancel-in-progress: true - -jobs: - pre-commit: - name: Pre-commit - runs-on: ubuntu-latest - env: - GO111MODULE: on - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 0 - - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v4 - with: - python-version: 3.12 - - - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # pin@v3 - with: - go-version: ^1 - - - name: Setup helm-docs - run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest - - - name: Run pre-commit - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # pin@v3.0.1 - with: - extra_args: --verbose --all-files --show-diff-on-failure diff --git a/charts/backstage/vendor/backstage/.gitignore b/charts/backstage/vendor/backstage/.gitignore deleted file mode 100644 index e3e3dd63..00000000 --- a/charts/backstage/vendor/backstage/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -### macOS ### -.DS_Store -.AppleDouble -.LSOverride -.idea - -# helm chart dependencies -charts/*/charts/* -**/charts/*.tgz - -# RHDH: track vendored chart dependencies -# Since this chart is vendored, we commit its dependencies rather than fetching them at install time -!charts/*/charts/*.tgz - diff --git a/charts/backstage/vendor/backstage/.helmignore b/charts/backstage/vendor/backstage/.helmignore deleted file mode 100644 index 28e1bfbb..00000000 --- a/charts/backstage/vendor/backstage/.helmignore +++ /dev/null @@ -1,25 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ - -values.schema.tmpl.json diff --git a/charts/backstage/vendor/backstage/.pre-commit-config.yaml b/charts/backstage/vendor/backstage/.pre-commit-config.yaml deleted file mode 100644 index 2133a137..00000000 --- a/charts/backstage/vendor/backstage/.pre-commit-config.yaml +++ /dev/null @@ -1,25 +0,0 @@ -repos: - - repo: https://github.com/norwoodj/helm-docs - rev: v1.2.0 - hooks: - - id: helm-docs - args: - # Make the tool search for charts only under the ``charts` directory - - --chart-search-root=charts - # The `./` makes it relative to the chart-search-root set above - - --template-files=./_templates.gotmpl - # A base filename makes it relative to each chart directory found - - --template-files=README.md.gotmpl - - repo: local - hooks: - - id: jsonschema-dereference - name: jsonschema-dereference - entry: python .pre-commit/jsonschema_dereference.py - additional_dependencies: [jsonref] - language: python - types_or: [yaml, json] - - - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 - hooks: - - id: codespell \ No newline at end of file diff --git a/charts/backstage/vendor/backstage/CONTRIBUTING.md b/charts/backstage/vendor/backstage/CONTRIBUTING.md deleted file mode 100644 index 0cbbdefe..00000000 --- a/charts/backstage/vendor/backstage/CONTRIBUTING.md +++ /dev/null @@ -1,8 +0,0 @@ -# Contributing to Backstage Charts - -Before making a contribution to the [Backstage Helm Chart](https://github.com/backstage/charts) you will need to ensure the following steps have been done: -- [Sign your commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) -- Run `helm template` on the changes you're making to ensure they are correctly rendered into Kubernetes manifests. -- Lint tests has been run for the Chart using the [Chart Testing](https://github.com/helm/chart-testing) tool and the `ct lint` command. -- Ensure variables are documented in `values.yaml` and the [pre-commit](https://pre-commit.com/) hook has been run with `pre-commit run --all-files` to generate the `README.md` documentation. To preview the content, use `helm-docs --dry-run`. -- If you are making changes to the Chart - remember to bump the Chart version following [SemVer](https://semver.org/). You will need to change the [Chart Version](https://github.com/backstage/charts/blob/main/charts/backstage/Chart.yaml#L41) and the [Chart Badge](https://github.com/backstage/charts/blob/main/charts/backstage/README.md?plain=1#L5) on the README. diff --git a/charts/backstage/vendor/backstage/LICENSE b/charts/backstage/vendor/backstage/LICENSE deleted file mode 100644 index 4a689f5e..00000000 --- a/charts/backstage/vendor/backstage/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - -Copyright 2022 The Backstage Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/charts/backstage/vendor/backstage/README.md b/charts/backstage/vendor/backstage/README.md deleted file mode 100644 index 748806b7..00000000 --- a/charts/backstage/vendor/backstage/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# Backstage Helm Chart - -[Backstage](https://backstage.io) is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy. - -Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end. - -> [!CAUTION] -> This Helm chart deploys a pre-packaged container image which contains a vanilla Backstage instance for demo purposes. This image is probably not suitable for use in production. For further customization of the Backstage instance (plugin installation, UI changes, etc.) please create your own custom instance and container image. For details please consult the [Backstage documentation](https://backstage.io/docs) - -## Scope - -This chart focuses on providing users the same experience and functionality no matter what flavor of Kubernetes they use. This chart will support only patterns that are either customary for all Kubernetes flavors, are commonly used in the Bitnami charts ecosystem, and recognized as Backstage official patterns. - -We welcome other, more specialized, charts to use this canonical chart as a direct dependency, expanding the feature set further, beyond this scope. - -A list of derived charts: -- OpenShift specialized chart: [Red Hat Developer Hub Helm chart](https://github.com/redhat-developer/rhdh-chart/tree/main/charts/backstage) - -## Usage - -> [!NOTE] -> Documentation for the Backstage chart can be found [here](charts/backstage) - -Charts are available in the following formats: - -* [Chart Repository](https://helm.sh/docs/topics/chart_repository/) -* [OCI Artifacts](https://helm.sh/docs/topics/registries/) - -### Installing from the Chart Repository - -The following command can be used to add the chart repository: - -```console -helm repo add backstage https://backstage.github.io/charts -``` - -Once the chart has been added, install one of the available charts: - -```console -helm upgrade -i backstage/backstage -``` - -### Installing from an OCI Registry - -Charts are also available in OCI format. The list of available charts can be found [here](https://github.com/orgs/backstage/packages?repo_name=charts). - -Install one of the available charts: - -```shell -helm upgrade -i oci://ghcr.io/backstage/charts/backstage --version= -``` - -## Backstage Chart - -More information can be found by inspecting the [backstage chart](charts/backstage). diff --git a/charts/backstage/vendor/backstage/charts/_templates.gotmpl b/charts/backstage/vendor/backstage/charts/_templates.gotmpl deleted file mode 100644 index fd01629c..00000000 --- a/charts/backstage/vendor/backstage/charts/_templates.gotmpl +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "chart.valuesTable" }} -| Key | Description | Type | Default | -|-----|-------------|------|---------| -{{- range .Values }} -| {{ .Key }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | -{{- end }} -{{ end }} diff --git a/charts/backstage/vendor/backstage/charts/backstage/Chart.lock b/charts/backstage/vendor/backstage/charts/backstage/Chart.lock deleted file mode 100644 index b88bfa73..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/Chart.lock +++ /dev/null @@ -1,9 +0,0 @@ -dependencies: -- name: common - repository: oci://registry-1.docker.io/bitnamicharts - version: 2.10.0 -- name: postgresql - repository: oci://registry-1.docker.io/bitnamicharts - version: 12.10.0 -digest: sha256:77630aa988cef5e3a9f64a9fc3427345f451534e973dbece805850be587cb59e -generated: "2024-05-11T14:39:32.274594+01:00" diff --git a/charts/backstage/vendor/backstage/charts/backstage/Chart.yaml b/charts/backstage/vendor/backstage/charts/backstage/Chart.yaml deleted file mode 100644 index 03749562..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/Chart.yaml +++ /dev/null @@ -1,41 +0,0 @@ -annotations: - artifacthub.io/category: integration-delivery - artifacthub.io/license: Apache-2.0 - artifacthub.io/links: | - - name: support - url: https://github.com/backstage/charts/issues - - name: Chart Source - url: https://github.com/backstage/charts - - name: Default Image Source - url: https://github.com/backstage/backstage -apiVersion: v2 -description: A Helm chart for deploying a Backstage application -dependencies: - - name: common - repository: oci://registry-1.docker.io/bitnamicharts - tags: - - bitnami-common - version: 2.10.0 - - condition: postgresql.enabled - name: postgresql - repository: oci://registry-1.docker.io/bitnamicharts - version: 12.10.0 -home: https://backstage.io -icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/backstage/icon/color/backstage-icon-color.svg -keywords: - - backstage - - idp -kubeVersion: ">= 1.19.0-0" -maintainers: - - name: Backstage - url: https://backstage.io -name: backstage -type: application -sources: - - https://github.com/backstage/charts - - https://github.com/backstage/backstage - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.6.3 diff --git a/charts/backstage/vendor/backstage/charts/backstage/README.md b/charts/backstage/vendor/backstage/charts/backstage/README.md deleted file mode 100644 index bbbcc9c9..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/README.md +++ /dev/null @@ -1,353 +0,0 @@ - -# Backstage Helm Chart - -[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage) -![Version: 2.6.3](https://img.shields.io/badge/Version-2.6.3-informational?style=flat-square) -![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) - -A Helm chart for deploying a Backstage application - -**Homepage:** - -## Maintainers - -| Name | Email | Url | -| ---- | ------ | --- | -| Backstage | | | - -## Source Code - -* -* - ---- - -[Backstage](https://backstage.io) is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy. - -Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end. - -> Disclaimer: This Helm chart deploys a pre-packaged container image which contains a vanilla Backstage instance for demo purposes. This image is probably not suitable for use in production. For further customization of the Backstage instance (plugin installation, UI changes, etc.) please create your own custom instance and container image. For details please consult the [Backstage documentation](https://backstage.io/docs) - -## TL;DR - -```console -helm repo add backstage https://backstage.github.io/charts - -helm install my-release backstage/backstage -``` - -## Introduction - -This chart bootstraps a [Backstage](https://backstage.io/docs/deployment/docker) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. - -## Prerequisites - -- Kubernetes 1.25+ -- Helm 3.10+ minimum, 3.14+ recommended -- PV provisioner support in the underlying infrastructure -- [Backstage container image](https://backstage.io/docs/deployment/docker) - -## Scope - -This chart focuses on providing users the same experience and functionality no matter what flavor of Kubernetes they use. This chart will support only patterns that are either customary for all Kubernetes flavors, are commonly used in the Bitnami charts ecosystem, and recognized as Backstage official patterns. - -We welcome other, more specialized, charts to use this canonical chart as a direct dependency, expanding the feature set further, beyond this scope. - -A list of derived charts: -- OpenShift specialized chart: [Janus Backstage Helm chart](https://github.com/janus-idp/helm-backstage/tree/main/charts/backstage) - -## Usage - -Chart is available in the following formats: - -- [Chart Repository](https://helm.sh/docs/topics/chart_repository/) -- [OCI Artifacts](https://helm.sh/docs/topics/registries/) - -### Installing from the Chart Repository - -The following command can be used to add the chart repository: - -```console -helm repo add backstage https://backstage.github.io/charts -``` - -Once the chart has been added, install one of the available charts: - -```console -helm upgrade -i backstage/backstage -``` - -### Installing from an OCI Registry - -Chart is also available in OCI format. The list of available releases can be found [here](https://github.com/backstage/charts/pkgs/container/charts%2Fbackstage). - -Install one of the available versions: - -```shell -helm upgrade -i oci://ghcr.io/backstage/charts/backstage --version= -``` - -> **Tip**: List all releases using `helm list` - -### Uninstalling the Chart - -To uninstall/delete the `my-backstage-release` deployment: - -```console -helm uninstall my-backstage-release -``` - -The command removes all the Kubernetes components associated with the chart and deletes the release. - -## Requirements - -Kubernetes: `>= 1.19.0-0` - -| Repository | Name | Version | -|------------|------|---------| -| oci://registry-1.docker.io/bitnamicharts | common | 2.10.0 | -| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.10.0 | - -## Values - -| Key | Description | Type | Default | -|-----|-------------|------|---------| -| backstage | Backstage parameters | object | See below | -| backstage.affinity | Affinity for pod assignment
Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | object | `{}` | -| backstage.annotations | Additional custom annotations for the `Deployment` resource | object | `{}` | -| backstage.appConfig | Generates ConfigMap and configures it in the Backstage pods | object | `{}` | -| backstage.args | Backstage container command arguments | list | `[]` | -| backstage.autoscaling | Autoscaling configuration.
Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ | object | `{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | -| backstage.command | Backstage container command | list | `["node","packages/backend"]` | -| backstage.containerPorts | Container ports on the Deployment | object | `{"backend":7007}` | -| backstage.containerSecurityContext | Security settings for a Container.
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container | object | `{}` | -| backstage.extraAppConfig | Extra app configuration files to inline into command arguments | list | `[]` | -| backstage.extraContainers | Deployment sidecars | list | `[]` | -| backstage.extraEnvVars | Backstage container environment variables | list | `[]` | -| backstage.extraEnvVarsCM | Backstage container environment variables from existing ConfigMaps | list | `[]` | -| backstage.extraEnvVarsSecrets | Backstage container environment variables from existing Secrets | list | `[]` | -| backstage.extraPorts | Backstage container additional ports | list | `[]` | -| backstage.extraVolumeMounts | Backstage container additional volume mounts | list | `[]` | -| backstage.extraVolumes | Backstage container additional volumes | list | `[]` | -| backstage.hostAliases | Host Aliases for the pod
Ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ | list | `[]` | -| backstage.image.digest | Backstage image digest (digest takes precedence over image tag) | string | `""` | -| backstage.image.pullPolicy | Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy | string | `""` | -| backstage.image.pullSecrets | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
E.g: `pullSecrets: [myRegistryKeySecretName]` | list | `[]` | -| backstage.image.registry | Backstage image registry | string | `"ghcr.io"` | -| backstage.image.repository | Backstage image repository | string | `"backstage/backstage"` | -| backstage.image.tag | Backstage image tag (immutable tags are recommended) | string | `"latest"` | -| backstage.initContainers | Backstage container init containers | list | `[]` | -| backstage.installDir | Directory containing the backstage installation | string | `"/app"` | -| backstage.livenessProbe | Liveness Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes | object | `{}` | -| backstage.revisionHistoryLimit | Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept. May be set to 0 in case of GitOps deployment approach. | int | `10` | -| backstage.startupProbe | Startup Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes | list | `[]` | -| ingress.extraTls | The TLS configuration for additional hostnames to be covered with this ingress record.
Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls | list | `[]` | -| ingress.host | Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io) | string | `""` | -| ingress.path | Path to be used to expose the full route to access the backstage application (e.g: IP.nip.io/backstage) | string | `"/"` | -| ingress.tls | Ingress TLS parameters | object | `{"enabled":false,"secretName":""}` | -| ingress.tls.enabled | Enable TLS configuration for the host defined at `ingress.host` parameter | bool | `false` | -| ingress.tls.secretName | The name to which the TLS Secret will be called | string | `""` | -| kubeVersion | Override Kubernetes version | string | `""` | -| metrics | Metrics configuration | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":null,"labels":{},"path":"/metrics","port":"http-backend"}}` | -| metrics.serviceMonitor | ServiceMonitor configuration
Allows configuring your backstage instance as a scrape target for [Prometheus](https://github.com/prometheus/prometheus) using a ServiceMonitor custom resource that [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator) can understand. | object | `{"annotations":{},"enabled":false,"interval":null,"labels":{},"path":"/metrics","port":"http-backend"}` | -| metrics.serviceMonitor.annotations | ServiceMonitor annotations | object | `{}` | -| metrics.serviceMonitor.enabled | If enabled, a ServiceMonitor resource for Prometheus Operator is created
Prometheus Operator must be installed in your cluster prior to enabling. | bool | `false` | -| metrics.serviceMonitor.interval | ServiceMonitor scrape interval | string | `nil` | -| metrics.serviceMonitor.labels | Additional ServiceMonitor labels | object | `{}` | -| metrics.serviceMonitor.path | ServiceMonitor endpoint path
Note that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the [Prometheus metrics tutorial](https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md). | string | `"/metrics"` | -| metrics.serviceMonitor.port | ServiceMonitor endpoint port
The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464. | string | `"http-backend"` | -| nameOverride | String to partially override common.names.fullname | string | `""` | -| networkPolicy.egressRules.customRules | Additional custom egress rules | list | `[]` | -| networkPolicy.egressRules.denyConnectionsToExternal | Deny external connections. Should not be enabled when working with an external database. | bool | `false` | -| networkPolicy.enabled | Specifies whether a NetworkPolicy should be created | bool | `false` | -| networkPolicy.ingressRules.customRules | Additional custom ingress rules | list | `[]` | -| networkPolicy.ingressRules.namespaceSelector | Namespace selector label allowed to access the Backstage instance | object | `{}` | -| networkPolicy.ingressRules.podSelector | Pod selector label allowed to access the Backstage instance | object | `{}` | -| postgresql | PostgreSQL [chart configuration](https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml) | object | See below | -| postgresql.architecture | PostgreSQL architecture (`standalone` or `replication`) | string | `"standalone"` | -| postgresql.auth | The authentication details of the Postgres database | object | `{"existingSecret":"","password":"","secretKeys":{"adminPasswordKey":"admin-password","replicationPasswordKey":"replication-password","userPasswordKey":"user-password"},"username":"bn_backstage"}` | -| postgresql.auth.existingSecret | Name of existing secret to use for PostgreSQL credentials | string | `""` | -| postgresql.auth.password | Password for the custom user to create | string | `""` | -| postgresql.auth.secretKeys | The secret keys Postgres will look for to retrieve the relevant password | object | `{"adminPasswordKey":"admin-password","replicationPasswordKey":"replication-password","userPasswordKey":"user-password"}` | -| postgresql.auth.secretKeys.adminPasswordKey | The key in which Postgres will look for, for the admin password, in the existing Secret | string | `"admin-password"` | -| postgresql.auth.secretKeys.replicationPasswordKey | The key in which Postgres will look for, for the replication password, in the existing Secret | string | `"replication-password"` | -| postgresql.auth.secretKeys.userPasswordKey | The key in which Postgres will look for, for the user password, in the existing Secret | string | `"user-password"` | -| postgresql.auth.username | Name for a custom user to create | string | `"bn_backstage"` | -| postgresql.enabled | Switch to enable or disable the PostgreSQL helm chart | bool | `false` | -| postgresql.image | Change default PostgreSQL image location (workaround for https://github.com/bitnami/charts/issues/35164) | object | `{"registry":"docker.io","repository":"bitnamilegacy/postgresql"}` | -| service | Service parameters | object | See below | -| service.annotations | Additional custom annotations for Backstage service | object | `{}` | -| service.clusterIP | Backstage service Cluster IP
E.g `clusterIP: None` | string | `""` | -| service.externalTrafficPolicy | Backstage service external traffic policy Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip | string | `"Cluster"` | -| service.extraPorts | Extra ports to expose in the Backstage service (normally used with the `sidecar` value) | list | `[]` | -| service.ipFamilies | IP Families
Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack | list | `[]` | -| service.ipFamilyPolicy | IP Family Policy
Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack | string | `""` | -| service.loadBalancerIP | Backstage service Load Balancer IP
Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer | string | `""` | -| service.loadBalancerSourceRanges | Load Balancer sources
Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
E.g `loadBalancerSourceRanges: [10.10.10.0/24]` | list | `[]` | -| service.nodePorts | Node port for the Backstage client connections Choose port between `30000-32767` | object | `{"backend":""}` | -| service.ports | Backstage svc port for client connections | object | `{"backend":7007,"name":"http-backend","targetPort":"backend"}` | -| service.ports.name | Backstage svc port name | string | `"http-backend"` | -| service.ports.targetPort | Backstage svc target port referencing receiving pod container port | string | `"backend"` | -| service.sessionAffinity | Control where client requests go, to the same pod or round-robin (values: `ClientIP` or `None`)
Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness | string | `"None"` | -| service.type | Kubernetes Service type | string | `"ClusterIP"` | -| serviceAccount | Service Account Configuration | object | See below | -| serviceAccount.annotations | Additional custom annotations for the ServiceAccount. | object | `{}` | -| serviceAccount.automountServiceAccountToken | Auto-mount the service account token in the pod | bool | `true` | -| serviceAccount.create | Enable the creation of a ServiceAccount for Backstage pods | bool | `false` | -| serviceAccount.labels | Additional custom labels to the service ServiceAccount. | object | `{}` | -| serviceAccount.name | Name of the ServiceAccount to use If not set and `serviceAccount.create` is true, a name is generated | string | `""` | - -## Configure your Backstage instance - -The Backstage Chart makes it possible to configure your backstage instance by passing extra environment variables or static configuration files, without rebuilding the docker image. - -### Environment variables - -Use `backstage.extraEnvVars` to pass extra environment variables. **This is used for environment variables containing non sensitive information:** - -```diff - backstage: -+ extraEnvVars: -+ - name: MY_PLUGIN_HOST -+ value: http://my-plugin-host -``` - -It is possible to override values defined in your `app-config.yaml` by appending the `APP_CONFIG` prefix to each environment variable, as described in the [official documentation](https://backstage.io/docs/conf/#supplying-configuration). -For example, to override the `backend.cache.store` property defined in your `app-config.yaml`, do: - -```diff - backstage: - extraEnvVars: -+ - name: APP_CONFIG_backend_cache_store -+ value: memory -``` - -### Sensitive environment variables - -In case your environment variables contain sensitive information, such as `BACKEND_SECRET` or `POSTGRES_PASSWORD` it is recommended store them in a [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/). - -Create a new file named `my-backstage-secrets.yaml` containing the secrets you want to store: - -```yaml -# my-backstage-secrets.yaml -apiVersion: v1 -kind: Secret -metadata: - name: my-backstage-secrets -type: Opaque -data: - BACKEND_SECRET: YmFja3N0YWdl - POSTGRES_PASSWORD: aHVudGVyMg== -``` - -Make sure to customize the name of the secret by changing `metadata.name` properly. - -Now create the new secret in your Kubernetes cluster by running the following command: - -```bash -$ kubectl apply -f my-backstage-secrets.yaml` -``` - -Once the secret has been created, pass the secret's reference to your backstage instance by adding the following lines to your `values.yaml`: - -```diff - backstage: -+ extraEnvVarsSecrets: -+ - my-backstage-secrets -``` - -The chart will make sure to pass the secrets to your Backstage instance. - -### Pass extra configuration files - -A generated Backstage docker image contains some static configuration files, such as `app-config.yaml` and `app-config.production.yaml`. -It is possible to pass extra configuration files by defining them as [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/), without rebuilding the Docker image. - -To do so, run: - -```bash -$ kubectl create configmap my-app-config --from-file=app-config.extra.yaml=./local/path/to/your/app-config.extra.yaml` -``` - -This command parses your local `app-config.extra.yaml` and creates a new ConfigMap called `my-app-config` which internally contains a file called `app-config.extra.yaml` with the content of the parsed file. - -Now that the ConfigMap has been created on your Kubernetes cluster, you can reference the ConfigMap: - -```diff - backstage: -+ extraAppConfig: -+ - filename: app-config.extra.yaml -+ configMapRef: my-app-config -``` - -The chart will mount the content of the ConfigMap as a new `app-config.extra.yaml` file and automatically pass the extra configuration to your instance. - -### Pass configuration to be stored in a ConfigMap - -> :warning: In case of using both appConfig and extraAppConfig, appConfig will have higher priority over extraAppConfig. For more information you can check the [Backstage docs](https://backstage.io/docs/conf/writing#configuration-files) and how this [Helm Chart configures the Backstage arguments](templates/backstage-deployment.yaml) - -In addition to following the [previous step "Pass extra configuration files"](#pass-extra-configuration-files), you can get the Config Map automatically deployed with this Helm Chart by defining the key `appConfig`: - -```diff - backstage: -+ appConfig: -+ app: -+ baseUrl: https://somedomain.tld -``` - -The chart will mount the content of the ConfigMap as a new `app-config-from-configmap.yaml` file and automatically pass the extra configuration to your instance. - -### Configuring Chart PostgreSQL - -With the Backstage Helm Chart, it offers - as a subchart - a Bitnami PostgreSQL database. This can be enabled by switching `postgresql.enabled` to true (it is `false` by default). If switched on, the Helm Chart, on deployment, will automatically deploy a PostgreSQL instance and configure it with the credentials you specify. There are multiple ways of doing this that will be detailed below. - -#### Automatic Database Credential Creation - -This is the easiest of the configuration options. Here, the credentials for both the Admin and Database users will be automatically generated and put into a Kubernetes secret. This will then be automatically used by Backstage. In order to use this method, ensure the following: - -- Keep `postgresql.auth.existingSecret` & `postgresql.auth.password` empty. - -#### Specifying Password for PostgreSQL to Use - -Here, you can specify the password that you want PostgreSQL to use for its Database User (The user that Backstage will use to connect to the database). In order to use this method, ensure the following: - -- Keep `postgresql.auth.existingSecret` empty. -- Set `postgresql.auth.password` to your desired User password value. - -> **_NOTE:_** Be careful that you provide this value securely. - -#### Specifying Existing Secret for PostgreSQL to Use - -Here, you can specify an existing Kubernetes secret that you have created which contains the Password that you want PostgreSQL to use. The secret must be in the same namespace as where you are deploying the Helm Chart. In order to use this method, ensure the following: - -- Create the Kubernetes secret with the Password inside. -- Set `postgresql.auth.existingSecret` to the name of the Secret -- PostgreSQL by default will look for the relevant Password keys that are set by default here `postgresql.auth.secretKeys`. So make sure that the Keys in the Secret match the default `secretKeys` values. More information [here](https://artifacthub.io/packages/helm/bitnami/postgresql) -- For example, if you want PostgreSQL to use an existing Secret called `my-user-secret` that has the User password that you want to use inside it: make sure that you create a Key inside that secret called `user-password` (this key can be found here `postgresql.auth.secretKeys.userPasswordKey`). i.e. `user-password=Password123`. diff --git a/charts/backstage/vendor/backstage/charts/backstage/README.md.gotmpl b/charts/backstage/vendor/backstage/charts/backstage/README.md.gotmpl deleted file mode 100644 index 7c26da3f..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/README.md.gotmpl +++ /dev/null @@ -1,226 +0,0 @@ -# Backstage Helm Chart - -{{ template "chart.deprecationWarning" . }} - -[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage) -{{ template "chart.versionBadge" . }} -{{ template "chart.typeBadge" . }} - -{{ template "chart.description" . }} - -{{ template "chart.homepageLine" . }} - -{{ template "chart.maintainersSection" . }} - -{{ template "chart.sourcesSection" . }} - ---- - -[Backstage](https://backstage.io) is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy. - -Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end. - -> Disclaimer: This Helm chart deploys a pre-packaged container image which contains a vanilla Backstage instance for demo purposes. This image is probably not suitable for use in production. For further customization of the Backstage instance (plugin installation, UI changes, etc.) please create your own custom instance and container image. For details please consult the [Backstage documentation](https://backstage.io/docs) - -## TL;DR - -```console -helm repo add backstage https://backstage.github.io/charts - -helm install my-release backstage/backstage -``` - -## Introduction - -This chart bootstraps a [Backstage](https://backstage.io/docs/deployment/docker) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. - -## Prerequisites - -- Kubernetes 1.25+ -- Helm 3.10+ minimum, 3.14+ recommended -- PV provisioner support in the underlying infrastructure -- [Backstage container image](https://backstage.io/docs/deployment/docker) - -## Scope - -This chart focuses on providing users the same experience and functionality no matter what flavor of Kubernetes they use. This chart will support only patterns that are either customary for all Kubernetes flavors, are commonly used in the Bitnami charts ecosystem, and recognized as Backstage official patterns. - -We welcome other, more specialized, charts to use this canonical chart as a direct dependency, expanding the feature set further, beyond this scope. - -A list of derived charts: -- OpenShift specialized chart: [Janus Backstage Helm chart](https://github.com/janus-idp/helm-backstage/tree/main/charts/backstage) - -## Usage - -Chart is available in the following formats: - -- [Chart Repository](https://helm.sh/docs/topics/chart_repository/) -- [OCI Artifacts](https://helm.sh/docs/topics/registries/) - -### Installing from the Chart Repository - -The following command can be used to add the chart repository: - -```console -helm repo add backstage https://backstage.github.io/charts -``` - -Once the chart has been added, install one of the available charts: - -```console -helm upgrade -i backstage/backstage -``` - -### Installing from an OCI Registry - -Chart is also available in OCI format. The list of available releases can be found [here](https://github.com/backstage/charts/pkgs/container/charts%2Fbackstage). - -Install one of the available versions: - -```shell -helm upgrade -i oci://ghcr.io/backstage/charts/backstage --version= -``` - -> **Tip**: List all releases using `helm list` - -### Uninstalling the Chart - -To uninstall/delete the `my-backstage-release` deployment: - -```console -helm uninstall my-backstage-release -``` - -The command removes all the Kubernetes components associated with the chart and deletes the release. - -{{ template "chart.requirementsSection" . }} - -{{ template "chart.valuesSection" . }} - -## Configure your Backstage instance - -The Backstage Chart makes it possible to configure your backstage instance by passing extra environment variables or static configuration files, without rebuilding the docker image. - -### Environment variables - -Use `backstage.extraEnvVars` to pass extra environment variables. **This is used for environment variables containing non sensitive information:** - -```diff - backstage: -+ extraEnvVars: -+ - name: MY_PLUGIN_HOST -+ value: http://my-plugin-host -``` - -It is possible to override values defined in your `app-config.yaml` by appending the `APP_CONFIG` prefix to each environment variable, as described in the [official documentation](https://backstage.io/docs/conf/#supplying-configuration). -For example, to override the `backend.cache.store` property defined in your `app-config.yaml`, do: - -```diff - backstage: - extraEnvVars: -+ - name: APP_CONFIG_backend_cache_store -+ value: memory -``` - -### Sensitive environment variables - -In case your environment variables contain sensitive information, such as `BACKEND_SECRET` or `POSTGRES_PASSWORD` it is recommended store them in a [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/). - -Create a new file named `my-backstage-secrets.yaml` containing the secrets you want to store: - -```yaml -# my-backstage-secrets.yaml -apiVersion: v1 -kind: Secret -metadata: - name: my-backstage-secrets -type: Opaque -data: - BACKEND_SECRET: YmFja3N0YWdl - POSTGRES_PASSWORD: aHVudGVyMg== -``` - -Make sure to customize the name of the secret by changing `metadata.name` properly. - -Now create the new secret in your Kubernetes cluster by running the following command: - -```bash -$ kubectl apply -f my-backstage-secrets.yaml` -``` - -Once the secret has been created, pass the secret's reference to your backstage instance by adding the following lines to your `values.yaml`: - -```diff - backstage: -+ extraEnvVarsSecrets: -+ - my-backstage-secrets -``` - -The chart will make sure to pass the secrets to your Backstage instance. - -### Pass extra configuration files - -A generated Backstage docker image contains some static configuration files, such as `app-config.yaml` and `app-config.production.yaml`. -It is possible to pass extra configuration files by defining them as [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/), without rebuilding the Docker image. - -To do so, run: - -```bash -$ kubectl create configmap my-app-config --from-file=app-config.extra.yaml=./local/path/to/your/app-config.extra.yaml` -``` - -This command parses your local `app-config.extra.yaml` and creates a new ConfigMap called `my-app-config` which internally contains a file called `app-config.extra.yaml` with the content of the parsed file. - -Now that the ConfigMap has been created on your Kubernetes cluster, you can reference the ConfigMap: - -```diff - backstage: -+ extraAppConfig: -+ - filename: app-config.extra.yaml -+ configMapRef: my-app-config -``` - -The chart will mount the content of the ConfigMap as a new `app-config.extra.yaml` file and automatically pass the extra configuration to your instance. - -### Pass configuration to be stored in a ConfigMap - -> :warning: In case of using both appConfig and extraAppConfig, appConfig will have higher priority over extraAppConfig. For more information you can check the [Backstage docs](https://backstage.io/docs/conf/writing#configuration-files) and how this [Helm Chart configures the Backstage arguments](templates/backstage-deployment.yaml) - -In addition to following the [previous step "Pass extra configuration files"](#pass-extra-configuration-files), you can get the Config Map automatically deployed with this Helm Chart by defining the key `appConfig`: - -```diff - backstage: -+ appConfig: -+ app: -+ baseUrl: https://somedomain.tld -``` - -The chart will mount the content of the ConfigMap as a new `app-config-from-configmap.yaml` file and automatically pass the extra configuration to your instance. - -### Configuring Chart PostgreSQL - -With the Backstage Helm Chart, it offers - as a subchart - a Bitnami PostgreSQL database. This can be enabled by switching `postgresql.enabled` to true (it is `false` by default). If switched on, the Helm Chart, on deployment, will automatically deploy a PostgreSQL instance and configure it with the credentials you specify. There are multiple ways of doing this that will be detailed below. - -#### Automatic Database Credential Creation - -This is the easiest of the configuration options. Here, the credentials for both the Admin and Database users will be automatically generated and put into a Kubernetes secret. This will then be automatically used by Backstage. In order to use this method, ensure the following: - -- Keep `postgresql.auth.existingSecret` & `postgresql.auth.password` empty. - -#### Specifying Password for PostgreSQL to Use - -Here, you can specify the password that you want PostgreSQL to use for its Database User (The user that Backstage will use to connect to the database). In order to use this method, ensure the following: - -- Keep `postgresql.auth.existingSecret` empty. -- Set `postgresql.auth.password` to your desired User password value. - -> **_NOTE:_** Be careful that you provide this value securely. - -#### Specifying Existing Secret for PostgreSQL to Use - -Here, you can specify an existing Kubernetes secret that you have created which contains the Password that you want PostgreSQL to use. The secret must be in the same namespace as where you are deploying the Helm Chart. In order to use this method, ensure the following: - -- Create the Kubernetes secret with the Password inside. -- Set `postgresql.auth.existingSecret` to the name of the Secret -- PostgreSQL by default will look for the relevant Password keys that are set by default here `postgresql.auth.secretKeys`. So make sure that the Keys in the Secret match the default `secretKeys` values. More information [here](https://artifacthub.io/packages/helm/bitnami/postgresql) -- For example, if you want PostgreSQL to use an existing Secret called `my-user-secret` that has the User password that you want to use inside it: make sure that you create a Key inside that secret called `user-password` (this key can be found here `postgresql.auth.secretKeys.userPasswordKey`). i.e. `user-password=Password123`. diff --git a/charts/backstage/vendor/backstage/charts/backstage/chart_schema.yaml b/charts/backstage/vendor/backstage/charts/backstage/chart_schema.yaml deleted file mode 100644 index fa2a887f..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/chart_schema.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: str() -home: str(required=False) -version: str() -appVersion: any(str(), num(), required=False) -description: str(required=False) -keywords: list(str(), required=False) -sources: list(str(), required=False) -maintainers: list(include('maintainer'), required=False) -dependencies: list(include('dependency'), required=False) -icon: str(required=False) -engine: str(required=False) -condition: str(required=False) -tags: str(required=False) -deprecated: bool(required=False) -apiVersion: str() -kubeVersion: str(required=False) -type: str(required=False) -annotations: map(str(), str(), required=False) ---- -maintainer: - name: str(required=False) - email: str(required=False) - url: str(required=False) ---- -dependency: - name: str() - version: str() - repository: str() - condition: str(required=False) - tags: list(str(), required=False) - enabled: bool(required=False) - import-values: any(list(str()), list(include('import-value')), required=False) - alias: str(required=False) ---- -import-value: - child: str() - parent: str() diff --git a/charts/backstage/vendor/backstage/charts/backstage/charts/common-2.10.0.tgz b/charts/backstage/vendor/backstage/charts/backstage/charts/common-2.10.0.tgz deleted file mode 100644 index 9c9ed7d82da43e637b0483be67654bf77539ec0d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13187 zcmV-}GknY+iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PMZ{d)qd)C^|p$uUMB(cdSfENw$;BcqX&An`EZGZ4+NRP41j# zpB5q^2{lEq04PV3`26kX!;1u8df2j^>@oX&sYL<{3kwVDg#{p@vl&hMFQ$lzaDisY zAGZGt27|%Vg9G*d!C+AT|8TIk_lM!Z!Luj(d;5F)2Y(n0_YR)!{{aR!fJ@`axj^g> zgKM`{@7!1Npfsfd2|`nT=mA7X;0a}mLpV;y3~|BoNaPHA011h3$}vBLqYOn;9PEVy z4`t*XW}MLU5axRx%Ch3;Uijy5&xGm=g~ zvm+#QLLwMpae;9PBO+2XBM`~*JoEtGP6^jPfpAEvfEZ^9U7%5dVYC1uI8Mf)H>ERt z2vZ?4e%S9DIAKI*9*HDEEnoUEy+{*^V%|^agmU{Wm?3r^X6eK`$BPTfVt(ia2463L zDNZu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#l*;XF*As;loFuvH*n}F4<*du%dPx{FIs+uT zrg@R3*y!G^AV*BIglk9WiOPUP@8OS*Yu>3X!B)wSBYVC3BzN|tf2atj>kj= z9aXWIM!EEC)R--wJoCL@=KH_Q$V3ltf2a5}$Tc=+p^8j4cLlYP)1O~`wVlM%yA&m+f)DU2N~reC{fWP-T#{lah=|@ zRv0C8(${5hAbXN-;jknlW3lEZ%g;^HDi3dNAJNk7p=c>jmv7q4EQsnpWHdEQTH zf;lghh-qU(v$z{d51^KX?B8-v9sr|Npm%klFxL0RV%7^Y#D$ diff --git a/charts/backstage/vendor/backstage/charts/backstage/charts/postgresql-12.10.0.tgz b/charts/backstage/vendor/backstage/charts/backstage/charts/postgresql-12.10.0.tgz deleted file mode 100644 index 0946bad2f049f1cbf11c85d304e4ab41a847fb5f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 61605 zcmV)5K*_%!iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0POwycH20zFpAILehU1Q?l1OiQ?eZ=>CyUn|30_uB;M_dw&kSv zoS9h;L_!kU6u|}{JL+`a;5^cKr}GMD;YI=^NKqF%Nl(0HIyMMY6$*typ-?EKgz+&& z?6PvID` zF8E^$0007zz$xki!U8ryaV!gUr7nm_c#CKolg<$H1Ws|s)a&l=2N4=#m<0R#0X=-? zKr?a}pbsgb9MMH!OAWev?fqx%0~^P|b1#nH7Sf#8?Cw8rAGY^wsQY_c0K_;%2@_m7 zN?|xb!9ja(3#RxTq70Ly3+@iKV47xsDll6SN>LJ_B*chyw+vw+nNCTv1pq}UVVKJS zAR+E{IuwmD<8&VEw@YM(V#2a505}}W(F=h75@ZnX3;_r25A6?I5n>_5DVIfk)yu(u zpMh=tJKF)60hj=iq69E9qagxh_$vx|Kv66O1;!xK!U1j*axc(~2n7_y7!Gla`5eF` zl9d2XI2u#T=WTG*J3SVJr7?yH-vyWhHcQ3eG0`63aRP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yiebfbRMlQ5TOpiU7Lep*fB*LO*2RFLOOw%lD4MYSA1}^d zzqy9c(!W{O`zR!gWt-(-uH5%rVu$z^aX~Ulh!F5Wgl>}{h0|t6hbbqKQYjHj!*Rc&gXgE`>3Mn{{P}+Y00960IYEPk0OAG! D4%VBG diff --git a/charts/backstage/vendor/backstage/charts/backstage/ci/default-values.yaml b/charts/backstage/vendor/backstage/charts/backstage/ci/default-values.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/charts/backstage/vendor/backstage/charts/backstage/templates/_helpers.tpl b/charts/backstage/vendor/backstage/charts/backstage/templates/_helpers.tpl deleted file mode 100644 index 89f93b37..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/templates/_helpers.tpl +++ /dev/null @@ -1,74 +0,0 @@ -{{/* -Return the proper image name -*/}} -{{- define "backstage.image" -}} -{{ include "common.images.image" (dict "imageRoot" .Values.backstage.image "global" .Values.global) }} -{{- end -}} - -{{/* -Return the proper Docker Image Registry Secret Names -*/}} -{{- define "backstage.renderImagePullSecrets" -}} -{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.backstage.image) "context" $) -}} -{{- end -}} - -{{/* - Create the name of the service account to use - */}} -{{- define "backstage.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "common.names.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -*/}} -{{- define "backstage.postgresql.fullname" -}} -{{- include "common.names.dependency.fullname" (dict "chartName" "postgresql" "chartValues" .Values.postgresql "context" $) -}} -{{- end -}} - -{{/* -Return the Postgres Database hostname -*/}} -{{- define "backstage.postgresql.host" -}} -{{- if eq .Values.postgresql.architecture "replication" }} -{{- include "backstage.postgresql.fullname" . -}}-primary -{{- else -}} -{{- include "backstage.postgresql.fullname" . -}} -{{- end -}} -{{- end -}} - -{{/* -Return the Postgres Database Secret Name -*/}} -{{- define "backstage.postgresql.databaseSecretName" -}} -{{- if ((((.Values).global).postgresql).auth).existingSecret }} - {{- tpl .Values.global.postgresql.auth.existingSecret $ -}} -{{- else if .Values.postgresql.auth.existingSecret }} - {{- tpl .Values.postgresql.auth.existingSecret $ -}} -{{- else -}} - {{- default (include "backstage.postgresql.fullname" .) (tpl .Values.postgresql.auth.existingSecret $) -}} -{{- end -}} -{{- end -}} - -{{/* -Return the Postgres databaseSecret key to retrieve credentials for database -*/}} -{{- define "backstage.postgresql.databaseSecretKey" -}} -{{- $defaultDatabaseSecretKey := "password" -}} -{{- if (or ((((.Values).global).postgresql).auth).existingSecret .Values.postgresql.auth.existingSecret) }} - {{- if (((((.Values).global).postgresql).auth).secretKeys).userPasswordKey -}} - {{- .Values.global.postgresql.auth.secretKeys.userPasswordKey -}} - {{- else if ((((.Values).postgresql).auth).secretKeys).userPasswordKey -}} - {{- .Values.postgresql.auth.secretKeys.userPasswordKey -}} - {{- else -}} - {{- print $defaultDatabaseSecretKey -}} - {{- end -}} -{{- else -}} - {{- print $defaultDatabaseSecretKey -}} -{{- end -}} -{{- end -}} diff --git a/charts/backstage/vendor/backstage/charts/backstage/values.schema.json b/charts/backstage/vendor/backstage/charts/backstage/values.schema.json deleted file mode 100644 index ee86f19f..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/values.schema.json +++ /dev/null @@ -1,7310 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "properties": { - "backstage": { - "additionalProperties": false, - "properties": { - "affinity": { - "default": {}, - "description": "Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity", - "properties": { - "nodeAffinity": { - "description": "Node affinity is a group of node affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", - "items": { - "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", - "properties": { - "preference": { - "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", - "properties": { - "matchExpressions": { - "description": "A list of node selector requirements by node's labels.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchFields": { - "description": "A list of node selector requirements by node's fields.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "weight": { - "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "weight", - "preference" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", - "properties": { - "nodeSelectorTerms": { - "description": "Required. A list of node selector terms. The terms are ORed.", - "items": { - "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", - "properties": { - "matchExpressions": { - "description": "A list of node selector requirements by node's labels.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchFields": { - "description": "A list of node selector requirements by node's fields.", - "items": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "nodeSelectorTerms" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - }, - "podAffinity": { - "description": "Pod affinity is a group of inter pod affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "items": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", - "properties": { - "podAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } - }, - "required": [ - "topologyKey" - ], - "type": "object" - }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "weight", - "podAffinityTerm" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "items": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } - }, - "required": [ - "topologyKey" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "podAntiAffinity": { - "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "items": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", - "properties": { - "podAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } - }, - "required": [ - "topologyKey" - ], - "type": "object" - }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "weight", - "podAffinityTerm" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "items": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } - }, - "required": [ - "topologyKey" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - } - }, - "title": "Affinity for pod assignment", - "type": "object" - }, - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom annotations for the `Deployment` resource", - "type": "object" - }, - "appConfig": { - "default": {}, - "examples": [ - { - "app": { - "baseUrl": "https://somedomain.tld" - } - } - ], - "title": "Generates ConfigMap and configures it in the Backstage pods", - "type": [ - "object", - "string" - ] - }, - "args": { - "default": [], - "items": { - "type": "string" - }, - "title": "Backstage container command arguments", - "type": "array" - }, - "autoscaling": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": false, - "description": "Enable autoscaling", - "title": "Backstage Autoscaling", - "type": "boolean" - }, - "maxReplicas": { - "default": 100, - "title": "Maximum number of Backstage pod replicas that the autoscaler is allowed to scale up to", - "type": "integer" - }, - "minReplicas": { - "default": 1, - "title": "Minimum number of Backstage pod replicas that the autoscaler is allowed to scale down to", - "type": "integer" - }, - "targetCPUUtilizationPercentage": { - "default": 80, - "title": "Percentage of CPU that each Backstage pod should be using on average before the autoscaler decides to scale", - "type": "integer" - }, - "targetMemoryUtilizationPercentage": { - "title": "Percentage of memory that each Backstage pod should be using on average before the autoscaler decides to scale", - "type": "integer" - } - }, - "title": "Autoscaling parameters", - "type": "object" - }, - "command": { - "default": [ - "node", - "packages/backend" - ], - "items": { - "type": "string" - }, - "title": "Backstage container command", - "type": "array" - }, - "containerPorts": { - "additionalProperties": false, - "properties": { - "backend": { - "default": 7007, - "title": "Backstage backend port.", - "type": "integer" - } - }, - "title": "Container ports on the Deployment", - "type": "object" - }, - "containerSecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", - "type": "string" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" - }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", - "type": "string" - }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "extraAppConfig": { - "default": [], - "items": { - "additionalProperties": false, - "properties": { - "configMapRef": { - "type": "string" - }, - "filename": { - "type": "string" - } - }, - "type": "object" - }, - "title": "Extra app configuration files to inline into command arguments", - "type": "array" - }, - "extraContainers": { - "default": [], - "items": { - "description": "A single application container that you want to run within a pod.", - "properties": { - "args": { - "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "command": { - "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "description": "EnvVar represents an environment variable present in a Container.", - "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" - }, - "valueFrom": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "secretKeyRef": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", - "properties": { - "configMapRef": { - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "prefix": { - "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "secretRef": { - "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret must be defined", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "image": { - "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" - }, - "lifecycle": { - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", - "properties": { - "postStart": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } - }, - "type": "object" - }, - "preStop": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } - }, - "type": "object" - }, - "stopSignal": { - "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", - "type": "string" - } - }, - "type": "object" - }, - "livenessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "name": { - "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "type": "string" - }, - "ports": { - "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", - "items": { - "description": "ContainerPort represents a network port in a single container.", - "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "format": "int32", - "type": "integer" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", - "type": "string" - }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", - "type": "string" - }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", - "type": "string" - } - }, - "required": [ - "containerPort" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "containerPort", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "containerPort", - "x-kubernetes-patch-strategy": "merge" - }, - "readinessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "resizePolicy": { - "description": "Resources resize policy for the container.", - "items": { - "description": "ContainerResizePolicy represents resource resize policy for the container.", - "properties": { - "resourceName": { - "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", - "type": "string" - }, - "restartPolicy": { - "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", - "type": "string" - } - }, - "required": [ - "resourceName", - "restartPolicy" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "ResourceRequirements describes the compute resource requirements.", - "properties": { - "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", - "items": { - "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", - "properties": { - "name": { - "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", - "type": "string" - }, - "request": { - "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" - }, - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - } - }, - "type": "object" - }, - "restartPolicy": { - "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", - "type": "string" - }, - "securityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", - "type": "string" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" - }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", - "type": "string" - }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "startupProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "stdin": { - "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" - }, - "stdinOnce": { - "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" - }, - "terminationMessagePath": { - "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", - "type": "string" - }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" - }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" - }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container.", - "items": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" - }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } - }, - "required": [ - "name", - "devicePath" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "devicePath" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" - }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", - "type": "string" - }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" - } - }, - "required": [ - "name", - "mountPath" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "mountPath" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" - }, - "workingDir": { - "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "title": "Deployment sidecars.", - "type": "array" - }, - "extraEnvVars": { - "default": [], - "examples": [ - [ - { - "name": "APP_CONFIG_backend_cache_store", - "value": "memory" - } - ] - ], - "items": { - "description": "EnvVar represents an environment variable present in a Container.", - "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" - }, - "valueFrom": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "secretKeyRef": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "title": "Backstage container environment variables", - "type": "array" - }, - "extraEnvVarsCM": { - "default": [], - "description": "Translates into array of `envFrom.[].configMapRef.name`", - "examples": [ - [ - "my-backstage-configmap" - ] - ], - "items": { - "type": "string" - }, - "title": "Backstage container environment variables from existing ConfigMaps", - "type": "array" - }, - "extraEnvVarsSecrets": { - "default": [], - "description": "Translates into array of `envFrom.[].secretRef.name`", - "examples": [ - [ - "my-backstage-secrets" - ] - ], - "items": { - "type": "string" - }, - "title": "Backstage container environment variables from existing Secrets", - "type": "array" - }, - "extraPorts": { - "default": [], - "items": { - "description": "ContainerPort represents a network port in a single container.", - "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "format": "int32", - "type": "integer" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", - "type": "string" - }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", - "type": "string" - }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", - "type": "string" - } - }, - "required": [ - "containerPort" - ], - "type": "object" - }, - "title": "Extra ports to expose in the Backstage container", - "type": "array" - }, - "extraVolumeMounts": { - "default": [], - "items": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", - "type": "string" - }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" - } - }, - "required": [ - "name", - "mountPath" - ], - "type": "object" - }, - "title": "Backstage container additional volume mounts", - "type": "array" - }, - "extraVolumes": { - "default": [], - "items": { - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", - "properties": { - "awsElasticBlockStore": { - "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - }, - "partition": { - "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "format": "int32", - "type": "integer" - }, - "readOnly": { - "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" - }, - "volumeID": { - "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "azureDisk": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", - "properties": { - "cachingMode": { - "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", - "type": "string" - }, - "diskName": { - "description": "diskName is the Name of the data disk in the blob storage", - "type": "string" - }, - "diskURI": { - "description": "diskURI is the URI of data disk in the blob storage", - "type": "string" - }, - "fsType": { - "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "kind": { - "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", - "type": "string" - }, - "readOnly": { - "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - } - }, - "required": [ - "diskName", - "diskURI" - ], - "type": "object" - }, - "azureFile": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "properties": { - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretName": { - "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", - "type": "string" - }, - "shareName": { - "description": "shareName is the azure share Name", - "type": "string" - } - }, - "required": [ - "secretName", - "shareName" - ], - "type": "object" - }, - "cephfs": { - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "monitors": { - "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", - "type": "string" - }, - "readOnly": { - "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" - }, - "secretFile": { - "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "user": { - "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors" - ], - "type": "object" - }, - "cinder": { - "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "volumeID": { - "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "configMap": { - "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", - "properties": { - "key": { - "description": "key is the key to project.", - "type": "string" - }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" - } - }, - "required": [ - "key", - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "optional specify whether the ConfigMap or its keys must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "csi": { - "description": "Represents a source location of a volume to mount, managed by an external CSI driver", - "properties": { - "driver": { - "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", - "type": "string" - }, - "fsType": { - "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", - "type": "string" - }, - "nodePublishSecretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "readOnly": { - "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).", - "type": "boolean" - }, - "volumeAttributes": { - "additionalProperties": { - "type": "string" - }, - "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", - "type": "object" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "downwardAPI": { - "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "Items is a list of downward API volume file", - "items": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", - "properties": { - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "mode": { - "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", - "type": "string" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "emptyDir": { - "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", - "properties": { - "medium": { - "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", - "type": "string" - }, - "sizeLimit": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - }, - "type": "object" - }, - "ephemeral": { - "description": "Represents an ephemeral volume that is handled by a normal storage driver.", - "properties": { - "volumeClaimTemplate": { - "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", - "properties": { - "metadata": { - "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", - "type": "object" - }, - "creationTimestamp": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" - }, - "deletionGracePeriodSeconds": { - "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "format": "int64", - "type": "integer" - }, - "deletionTimestamp": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" - }, - "finalizers": { - "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set", - "x-kubernetes-patch-strategy": "merge" - }, - "generateName": { - "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", - "type": "string" - }, - "generation": { - "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "format": "int64", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", - "type": "object" - }, - "managedFields": { - "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", - "items": { - "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", - "type": "string" - }, - "fieldsType": { - "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", - "type": "string" - }, - "fieldsV1": { - "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", - "type": "object" - }, - "manager": { - "description": "Manager is an identifier of the workflow managing these fields.", - "type": "string" - }, - "operation": { - "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", - "type": "string" - }, - "subresource": { - "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", - "type": "string" - }, - "time": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", - "type": "string" - }, - "namespace": { - "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", - "type": "string" - }, - "ownerReferences": { - "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", - "items": { - "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller.", - "type": "boolean" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", - "type": "string" - }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", - "type": "string" - } - }, - "required": [ - "apiVersion", - "kind", - "name", - "uid" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "uid" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "uid", - "x-kubernetes-patch-strategy": "merge" - }, - "resourceVersion": { - "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", - "type": "string" - }, - "uid": { - "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", - "type": "string" - } - }, - "type": "object" - }, - "spec": { - "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", - "properties": { - "accessModes": { - "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "dataSource": { - "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "dataSourceRef": { - "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "resources": { - "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", - "properties": { - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - } - }, - "type": "object" - }, - "selector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "storageClassName": { - "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", - "type": "string" - }, - "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", - "type": "string" - }, - "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", - "type": "string" - }, - "volumeName": { - "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "spec" - ], - "type": "object" - } - }, - "type": "object" - }, - "fc": { - "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "lun": { - "description": "lun is Optional: FC target lun number", - "format": "int32", - "type": "integer" - }, - "readOnly": { - "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "targetWWNs": { - "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "wwids": { - "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "flexVolume": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", - "properties": { - "driver": { - "description": "driver is the name of the driver to use for this volume.", - "type": "string" - }, - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", - "type": "string" - }, - "options": { - "additionalProperties": { - "type": "string" - }, - "description": "options is Optional: this field holds extra command options if any.", - "type": "object" - }, - "readOnly": { - "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "flocker": { - "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", - "properties": { - "datasetName": { - "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", - "type": "string" - }, - "datasetUUID": { - "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", - "type": "string" - } - }, - "type": "object" - }, - "gcePersistentDisk": { - "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" - }, - "partition": { - "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "format": "int32", - "type": "integer" - }, - "pdName": { - "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" - } - }, - "required": [ - "pdName" - ], - "type": "object" - }, - "gitRepo": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", - "properties": { - "directory": { - "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", - "type": "string" - }, - "repository": { - "description": "repository is the URL", - "type": "string" - }, - "revision": { - "description": "revision is the commit hash for the specified revision.", - "type": "string" - } - }, - "required": [ - "repository" - ], - "type": "object" - }, - "glusterfs": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "endpoints": { - "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "path": { - "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" - } - }, - "required": [ - "endpoints", - "path" - ], - "type": "object" - }, - "hostPath": { - "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", - "properties": { - "path": { - "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", - "type": "string" - }, - "type": { - "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "image": { - "description": "ImageVolumeSource represents a image volume resource.", - "properties": { - "pullPolicy": { - "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", - "type": "string" - }, - "reference": { - "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - } - }, - "type": "object" - }, - "iscsi": { - "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", - "properties": { - "chapAuthDiscovery": { - "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "fsType": { - "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", - "type": "string" - }, - "initiatorName": { - "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", - "type": "string" - }, - "iqn": { - "description": "iqn is the target iSCSI Qualified Name.", - "type": "string" - }, - "iscsiInterface": { - "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", - "type": "string" - }, - "lun": { - "description": "lun represents iSCSI Target Lun number.", - "format": "int32", - "type": "integer" - }, - "portals": { - "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "readOnly": { - "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "targetPortal": { - "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "type": "string" - } - }, - "required": [ - "targetPortal", - "iqn", - "lun" - ], - "type": "object" - }, - "name": { - "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "nfs": { - "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", - "properties": { - "path": { - "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" - }, - "server": { - "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "string" - } - }, - "required": [ - "server", - "path" - ], - "type": "object" - }, - "persistentVolumeClaim": { - "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", - "properties": { - "claimName": { - "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", - "type": "string" - }, - "readOnly": { - "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" - } - }, - "required": [ - "claimName" - ], - "type": "object" - }, - "photonPersistentDisk": { - "description": "Represents a Photon Controller persistent disk resource.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "pdID": { - "description": "pdID is the ID that identifies Photon Controller persistent disk", - "type": "string" - } - }, - "required": [ - "pdID" - ], - "type": "object" - }, - "portworxVolume": { - "description": "PortworxVolumeSource represents a Portworx volume resource.", - "properties": { - "fsType": { - "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "volumeID": { - "description": "volumeID uniquely identifies a Portworx volume", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "projected": { - "description": "Represents a projected volume source", - "properties": { - "defaultMode": { - "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "sources": { - "description": "sources is the list of volume projections. Each entry in this list handles one source.", - "items": { - "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", - "properties": { - "clusterTrustBundle": { - "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "name": { - "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", - "type": "string" - }, - "optional": { - "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", - "type": "boolean" - }, - "path": { - "description": "Relative path from the volume root to write the bundle.", - "type": "string" - }, - "signerName": { - "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "configMap": { - "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", - "properties": { - "items": { - "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", - "properties": { - "key": { - "description": "key is the key to project.", - "type": "string" - }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" - } - }, - "required": [ - "key", - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "optional specify whether the ConfigMap or its keys must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "downwardAPI": { - "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", - "properties": { - "items": { - "description": "Items is a list of DownwardAPIVolume file", - "items": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", - "properties": { - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "mode": { - "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", - "type": "string" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "secret": { - "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", - "properties": { - "items": { - "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", - "properties": { - "key": { - "description": "key is the key to project.", - "type": "string" - }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" - } - }, - "required": [ - "key", - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "optional field specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "serviceAccountToken": { - "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", - "properties": { - "audience": { - "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", - "type": "string" - }, - "expirationSeconds": { - "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "format": "int64", - "type": "integer" - }, - "path": { - "description": "path is the path relative to the mount point of the file to project the token into.", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "quobyte": { - "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", - "properties": { - "group": { - "description": "group to map volume access to Default is no group", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" - }, - "registry": { - "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", - "type": "string" - }, - "tenant": { - "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", - "type": "string" - }, - "user": { - "description": "user to map volume access to Defaults to serivceaccount user", - "type": "string" - }, - "volume": { - "description": "volume is a string that references an already created Quobyte volume by name.", - "type": "string" - } - }, - "required": [ - "registry", - "volume" - ], - "type": "object" - }, - "rbd": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "keyring": { - "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "monitors": { - "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "pool": { - "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "readOnly": { - "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "user": { - "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors", - "image" - ], - "type": "object" - }, - "scaleIO": { - "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", - "type": "string" - }, - "gateway": { - "description": "gateway is the host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", - "type": "string" - }, - "readOnly": { - "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "sslEnabled": { - "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", - "type": "boolean" - }, - "storageMode": { - "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", - "type": "string" - }, - "storagePool": { - "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", - "type": "string" - }, - "system": { - "description": "system is the name of the storage system as configured in ScaleIO.", - "type": "string" - }, - "volumeName": { - "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.", - "type": "string" - } - }, - "required": [ - "gateway", - "system", - "secretRef" - ], - "type": "object" - }, - "secret": { - "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "description": "Maps a string key to a path within a volume.", - "properties": { - "key": { - "description": "key is the key to project.", - "type": "string" - }, - "mode": { - "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" - } - }, - "required": [ - "key", - "path" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "optional": { - "description": "optional field specify whether the Secret or its keys must be defined", - "type": "boolean" - }, - "secretName": { - "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", - "type": "string" - } - }, - "type": "object" - }, - "storageos": { - "description": "Represents a StorageOS persistent volume resource.", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "volumeName": { - "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", - "type": "string" - }, - "volumeNamespace": { - "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", - "type": "string" - } - }, - "type": "object" - }, - "vsphereVolume": { - "description": "Represents a vSphere volume resource.", - "properties": { - "fsType": { - "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "storagePolicyID": { - "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", - "type": "string" - }, - "storagePolicyName": { - "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", - "type": "string" - }, - "volumePath": { - "description": "volumePath is the path that identifies vSphere volume vmdk", - "type": "string" - } - }, - "required": [ - "volumePath" - ], - "type": "object" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "title": "Backstage container additional volumes", - "type": "array" - }, - "hostAliases": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/#adding-additional-entries-with-hostaliases", - "items": { - "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", - "properties": { - "hostnames": { - "description": "Hostnames for the above IP address.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "ip": { - "description": "IP address of the host file entry.", - "type": "string" - } - }, - "required": [ - "ip" - ], - "type": "object" - }, - "title": "Adding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable", - "type": "array" - }, - "image": { - "additionalProperties": false, - "properties": { - "digest": { - "default": "", - "description": "digest takes precedence over image tag", - "title": "Backstage image digest", - "type": "string" - }, - "pullPolicy": { - "default": "", - "description": "Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy", - "enum": [ - "Always", - "IfNotPresent", - "Never", - "" - ], - "title": "Specify a imagePullPolicy.", - "type": "string" - }, - "pullSecrets": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/", - "examples": [ - "myRegistryKeySecretName" - ], - "items": { - "type": "string" - }, - "title": "Optionally specify an array of imagePullSecrets.", - "type": "array" - }, - "registry": { - "default": "ghcr.io", - "examples": [ - "ghcr.io", - "quay.io", - "docker.io" - ], - "title": "Backstage image registry", - "type": "string" - }, - "repository": { - "default": "backstage/backstage", - "title": "Backstage image repository", - "type": "string" - }, - "tag": { - "default": "latest", - "description": "Immutable tags are recommended.", - "title": "Backstage image tag", - "type": "string" - } - }, - "title": "Image parameters", - "type": "object" - }, - "initContainers": { - "default": [], - "items": { - "description": "A single application container that you want to run within a pod.", - "properties": { - "args": { - "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "command": { - "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "description": "EnvVar represents an environment variable present in a Container.", - "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", - "type": "string" - }, - "valueFrom": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "fieldRef": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "resourceFieldRef": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "secretKeyRef": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", - "properties": { - "configMapRef": { - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "prefix": { - "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "secretRef": { - "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret must be defined", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "image": { - "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" - }, - "lifecycle": { - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", - "properties": { - "postStart": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } - }, - "type": "object" - }, - "preStop": { - "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "sleep": { - "description": "SleepAction describes a \"sleep\" action.", - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "seconds" - ], - "type": "object" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - } - }, - "type": "object" - }, - "stopSignal": { - "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name", - "type": "string" - } - }, - "type": "object" - }, - "livenessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "name": { - "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "type": "string" - }, - "ports": { - "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", - "items": { - "description": "ContainerPort represents a network port in a single container.", - "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "format": "int32", - "type": "integer" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", - "type": "string" - }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", - "type": "string" - }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", - "type": "string" - } - }, - "required": [ - "containerPort" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "containerPort", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "containerPort", - "x-kubernetes-patch-strategy": "merge" - }, - "readinessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "resizePolicy": { - "description": "Resources resize policy for the container.", - "items": { - "description": "ContainerResizePolicy represents resource resize policy for the container.", - "properties": { - "resourceName": { - "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", - "type": "string" - }, - "restartPolicy": { - "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", - "type": "string" - } - }, - "required": [ - "resourceName", - "restartPolicy" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "ResourceRequirements describes the compute resource requirements.", - "properties": { - "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", - "items": { - "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", - "properties": { - "name": { - "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", - "type": "string" - }, - "request": { - "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" - }, - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - } - }, - "type": "object" - }, - "restartPolicy": { - "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", - "type": "string" - }, - "securityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", - "type": "string" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" - }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", - "type": "string" - }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "startupProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "stdin": { - "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" - }, - "stdinOnce": { - "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" - }, - "terminationMessagePath": { - "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", - "type": "string" - }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" - }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" - }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container.", - "items": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" - }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } - }, - "required": [ - "name", - "devicePath" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "devicePath" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" - }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", - "type": "string" - }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" - } - }, - "required": [ - "name", - "mountPath" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "mountPath" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" - }, - "workingDir": { - "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "title": "Backstage container init containers", - "type": "array" - }, - "installDir": { - "default": "/app", - "title": "Directory containing the backstage installation", - "type": "string" - }, - "livenessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "nodeSelector": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector", - "title": "Node labels for pod assignment", - "type": "object" - }, - "pdb": { - "additionalProperties": false, - "properties": { - "create": { - "default": false, - "description": "Create a PDB", - "title": "Backstage PDB", - "type": "boolean" - }, - "maxUnavailable": { - "default": "", - "title": "Backstage PDB maxUnavailable", - "type": [ - "string", - "integer" - ] - }, - "minAvailable": { - "default": "", - "title": "Backstage PDB minAvailable", - "type": [ - "string", - "integer" - ] - } - }, - "title": "PDB parameters", - "type": "object" - }, - "podAnnotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Annotations to add to the backend deployment pods", - "type": "object" - }, - "podLabels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Labels to add to the backend deployment pods", - "type": "object" - }, - "podSecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "appArmorProfile": { - "description": "AppArmorProfile defines a pod or container's AppArmor settings.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", - "type": "string" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" - }, - "seccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", - "type": "string" - }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "windowsOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "readinessProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "replicas": { - "default": 1, - "minimum": 0, - "title": "Number of deployment replicas", - "type": "integer" - }, - "resources": { - "description": "ResourceRequirements describes the compute resource requirements.", - "properties": { - "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", - "items": { - "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", - "properties": { - "name": { - "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", - "type": "string" - }, - "request": { - "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" - }, - "limits": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - } - }, - "type": "object" - }, - "revisionHistoryLimit": { - "default": 10, - "minimum": 0, - "title": "The count of deployment revisions", - "type": "integer" - }, - "startupProbe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "grpc": { - "description": "GRPCAction specifies an action involving a GRPC service.", - "properties": { - "port": { - "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", - "format": "int32", - "type": "integer" - }, - "service": { - "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "httpGet": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "tolerations": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/", - "items": { - "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", - "properties": { - "effect": { - "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", - "type": "string" - }, - "key": { - "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", - "type": "string" - }, - "operator": { - "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", - "type": "string" - }, - "tolerationSeconds": { - "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "format": "int64", - "type": "integer" - }, - "value": { - "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", - "type": "string" - } - }, - "type": "object" - }, - "title": "Node tolerations for server scheduling to nodes with taints", - "type": "array" - }, - "topologySpreadConstraints": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints", - "items": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", - "properties": { - "labelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", - "format": "int32", - "type": "integer" - }, - "minDomains": { - "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.", - "format": "int32", - "type": "integer" - }, - "nodeAffinityPolicy": { - "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", - "type": "string" - }, - "nodeTaintsPolicy": { - "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", - "type": "string" - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", - "type": "string" - } - }, - "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" - ], - "type": "object" - }, - "title": "Topology Spread Constraint for pod assignment", - "type": "array" - } - }, - "title": "Backstage parameters", - "type": "object" - }, - "clusterDomain": { - "default": "cluster.local", - "title": "Default Kubernetes cluster domain", - "type": "string" - }, - "commonAnnotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Annotations to add to all deployed objects", - "type": "object" - }, - "commonLabels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Labels to add to all deployed objects", - "type": "object" - }, - "diagnosticMode": { - "additionalProperties": false, - "properties": { - "args": { - "default": [ - "infinity" - ], - "items": { - "type": "string" - }, - "title": "Args to override all containers in the Deployment", - "type": "array" - }, - "command": { - "default": [ - "sleep" - ], - "items": { - "type": "string" - }, - "title": "Command to override all containers in the Deployment", - "type": "array" - }, - "enabled": { - "default": false, - "description": "All probes will be disabled and the command will be overridden", - "title": "Enable diagnostic mode", - "type": "boolean" - } - }, - "title": "Enable diagnostic mode in the Deployment", - "type": "object" - }, - "extraDeploy": { - "default": [], - "items": { - "type": [ - "string", - "object" - ] - }, - "title": "Array of extra objects to deploy with the release", - "type": "array", - "uniqueItems": true - }, - "fullnameOverride": { - "default": "", - "title": "String to fully override common.names.fullname", - "type": "string" - }, - "global": { - "properties": { - "imagePullSecrets": { - "default": [], - "examples": [ - [ - "myRegistryKeySecretName" - ] - ], - "items": { - "type": "string" - }, - "title": "Global Docker registry secret names as an array", - "type": "array", - "uniqueItems": true - }, - "imageRegistry": { - "default": "", - "title": "Global Docker image registry", - "type": "string" - } - }, - "title": "Global parameters.", - "type": "object" - }, - "ingress": { - "additionalProperties": false, - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional annotations for the Ingress resource", - "type": "object" - }, - "className": { - "default": "", - "examples": [ - "nginx" - ], - "title": "Name of the IngressClass cluster resource which defines which controller will implement the resource.", - "type": "string" - }, - "enabled": { - "default": false, - "title": "Enable the creation of the ingress resource", - "type": "boolean" - }, - "extraHosts": { - "default": [], - "items": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "pathType": { - "type": "string" - }, - "port": { - "type": "integer" - } - }, - "type": "object" - }, - "title": "List of additional hostnames to be covered with this ingress record", - "type": "array" - }, - "extraTls": { - "default": [], - "items": { - "description": "IngressTLS describes the transport layer security associated with an ingress.", - "properties": { - "hosts": { - "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "secretName": { - "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", - "type": "string" - } - }, - "type": "object" - }, - "title": "The TLS configuration for additional hostnames to be covered with this ingress record.", - "type": "array" - }, - "host": { - "default": "", - "examples": [ - "backstage.10.0.0.1.nip.io" - ], - "title": "Hostname to be used to expose the route to access the backstage application.", - "type": "string" - }, - "path": { - "default": "/", - "examples": [ - "/backstage" - ], - "title": "Path to be used to expose the full route to access the backstage application.", - "type": "string" - }, - "tls": { - "additionalProperties": false, - "properties": { - "enabled": { - "default": false, - "description": "TLS for the host defined at `ingress.host` parameter", - "title": "Enable TLS configuration", - "type": "boolean" - }, - "secretName": { - "default": "", - "title": "The name to which the TLS Secret will be called", - "type": "string" - } - }, - "title": "Ingress TLS parameters", - "type": "object" - } - }, - "title": "Ingress parameters", - "type": "object" - }, - "kubeVersion": { - "default": "", - "title": "Override Kubernetes version", - "type": "string" - }, - "metrics": { - "additionalProperties": false, - "description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus", - "properties": { - "serviceMonitor": { - "additionalProperties": false, - "description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "ServiceMonitor annotations", - "type": "object" - }, - "enabled": { - "default": false, - "description": "Prometheus Operator must be installed in your cluster prior to enabling.", - "title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created", - "type": "boolean" - }, - "interval": { - "default": null, - "title": "ServiceMonitor scrape interval", - "type": [ - "string", - "null" - ] - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional ServiceMonitor labels", - "type": "object" - }, - "path": { - "default": "/metrics", - "description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md", - "title": "ServiceMonitor endpoint path", - "type": "string" - }, - "port": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ], - "default": "http-backend", - "description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.", - "title": "ServiceMonitor endpoint port" - } - }, - "title": "ServiceMonitor configuration", - "type": "object" - } - }, - "title": "Metrics configuration", - "type": "object" - }, - "nameOverride": { - "default": "", - "title": "String to partially override common.names.fullname", - "type": "string" - }, - "networkPolicy": { - "additionalProperties": false, - "properties": { - "egressRules": { - "additionalProperties": false, - "properties": { - "customRules": { - "items": { - "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", - "properties": { - "ports": { - "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "description": "NetworkPolicyPort describes a port to allow traffic on", - "properties": { - "endPort": { - "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", - "format": "int32", - "type": "integer" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "protocol": { - "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "to": { - "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", - "items": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", - "properties": { - "ipBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "properties": { - "cidr": { - "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", - "type": "string" - }, - "except": { - "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "cidr" - ], - "type": "object" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "podSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "title": "", - "type": "array" - }, - "denyConnectionsToExternal": { - "default": false, - "title": "Deny external connections. Should not be enabled when working with an external database.", - "type": "boolean" - } - }, - "title": "Custom egress rules for the network policy", - "type": "object" - }, - "enabled": { - "default": false, - "title": "Specifies whether a NetworkPolicy should be created", - "type": "boolean" - }, - "ingressRules": { - "additionalProperties": false, - "properties": { - "customRules": { - "items": { - "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", - "properties": { - "from": { - "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", - "properties": { - "ipBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "properties": { - "cidr": { - "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", - "type": "string" - }, - "except": { - "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "cidr" - ], - "type": "object" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "podSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "ports": { - "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "description": "NetworkPolicyPort describes a port to allow traffic on", - "properties": { - "endPort": { - "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", - "format": "int32", - "type": "integer" - }, - "port": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - }, - "protocol": { - "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "title": "", - "type": "array" - }, - "namespaceSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "podSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - } - }, - "title": "Custom egress rules for the network policy", - "type": "object" - } - }, - "title": "Network policies", - "type": "object" - }, - "postgresql": { - "$schema": "http://json-schema.org/schema#", - "properties": { - "architecture": { - "description": "Allowed values: `standalone` or `replication`", - "form": true, - "title": "PostgreSQL architecture", - "type": "string" - }, - "auth": { - "form": true, - "properties": { - "database": { - "description": "Name of the custom database to be created during the 1st initialization of PostgreSQL", - "form": true, - "title": "PostgreSQL custom database", - "type": "string" - }, - "enablePostgresUser": { - "description": "Assign a password to the \"postgres\" admin user. Otherwise, remote access will be blocked for this user", - "form": true, - "title": "Enable \"postgres\" admin user", - "type": "boolean" - }, - "password": { - "description": "Defaults to a random 10-character alphanumeric string if not set", - "form": true, - "title": "Password for the custom user to create", - "type": "string" - }, - "postgresPassword": { - "description": "Defaults to a random 10-character alphanumeric string if not set", - "form": true, - "title": "Password for the \"postgres\" admin user", - "type": "string" - }, - "replicationPassword": { - "description": "Defaults to a random 10-character alphanumeric string if not set", - "form": true, - "hidden": { - "path": "architecture", - "value": "standalone" - }, - "title": "Password for PostgreSQL replication user", - "type": "string" - }, - "replicationUsername": { - "description": "Name of user used to manage replication.", - "form": true, - "hidden": { - "path": "architecture", - "value": "standalone" - }, - "title": "PostgreSQL replication user", - "type": "string" - }, - "username": { - "description": "Name of the custom user to be created during the 1st initialization of PostgreSQL. This user only has permissions on the PostgreSQL custom database", - "form": true, - "title": "PostgreSQL custom user", - "type": "string" - } - }, - "title": "Authentication configuration", - "type": "object" - }, - "metrics": { - "properties": { - "enabled": { - "form": true, - "title": "Configure metrics exporter", - "type": "boolean" - } - }, - "type": "object" - }, - "persistence": { - "properties": { - "size": { - "form": true, - "render": "slider", - "sliderMax": 100, - "sliderMin": 1, - "sliderUnit": "Gi", - "title": "Persistent Volume Size", - "type": "string" - } - }, - "type": "object" - }, - "replication": { - "form": true, - "properties": { - "enabled": { - "form": true, - "title": "Enable Replication", - "type": "boolean" - }, - "readReplicas": { - "form": true, - "hidden": { - "path": "architecture", - "value": "standalone" - }, - "title": "read Replicas", - "type": "integer" - } - }, - "title": "Replication Details", - "type": "object" - }, - "resources": { - "description": "Configure resource requests", - "form": true, - "properties": { - "requests": { - "properties": { - "cpu": { - "form": true, - "render": "slider", - "sliderMax": 2000, - "sliderMin": 10, - "sliderUnit": "m", - "title": "CPU Request", - "type": "string" - }, - "memory": { - "form": true, - "render": "slider", - "sliderMax": 2048, - "sliderMin": 10, - "sliderUnit": "Mi", - "title": "Memory Request", - "type": "string" - } - }, - "type": "object" - } - }, - "title": "Required Resources", - "type": "object" - }, - "volumePermissions": { - "properties": { - "enabled": { - "description": "Change the owner of the persist volume mountpoint to RunAsUser:fsGroup", - "form": true, - "title": "Enable Init Containers", - "type": "boolean" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "service": { - "additionalProperties": false, - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom annotations for Backstage service", - "type": "object" - }, - "clusterIP": { - "default": "", - "title": "Backstage service Cluster IP", - "type": "string" - }, - "externalTrafficPolicy": { - "default": "Cluster", - "description": "Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip", - "enum": [ - "Cluster", - "Local" - ], - "title": "Backstage service external traffic policy", - "type": "string" - }, - "extraPorts": { - "default": [], - "items": { - "type": "object" - }, - "title": "Extra ports to expose in the Backstage service", - "type": "array" - }, - "ipFamilies": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "title": "Backstage service IP families", - "type": "array" - }, - "ipFamilyPolicy": { - "default": "", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", - "enum": [ - "", - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "title": "Backstage service IP family policy", - "type": "string" - }, - "loadBalancerIP": { - "default": "", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", - "title": "Backstage service Load Balancer IP", - "type": "string" - }, - "loadBalancerSourceRanges": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", - "examples": [ - "10.10.10.0/24" - ], - "items": { - "type": "string" - }, - "title": "Load Balancer sources", - "type": "array" - }, - "nodePorts": { - "additionalProperties": false, - "properties": { - "backend": { - "default": "", - "maximum": 32767, - "minimum": 30000, - "title": "Node port for backend", - "type": [ - "string", - "integer" - ] - } - }, - "title": "Node port for the Backstage client connections", - "type": "object" - }, - "ports": { - "additionalProperties": false, - "properties": { - "backend": { - "default": 7007, - "title": "Backstage svc port number", - "type": "integer" - }, - "name": { - "default": "http-backend", - "title": "Backstage svc port name", - "type": "string" - }, - "targetPort": { - "default": "backend", - "title": "Backstage svc target port referencing receiving pod container port", - "type": "string" - } - }, - "title": "Backstage svc port for client connections", - "type": "object" - }, - "sessionAffinity": { - "default": "None", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness", - "enum": [ - "None", - "ClientIP" - ], - "title": "Control where client requests go, to the same pod or round-robin", - "type": "string" - }, - "type": { - "default": "ClusterIP", - "enum": [ - "ClusterIP", - "NodePort", - "LoadBalancer", - "ExternalName" - ], - "title": "Kubernetes Service type", - "type": "string" - } - }, - "title": "Service parameters", - "type": "object" - }, - "serviceAccount": { - "additionalProperties": false, - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom annotations for the ServiceAccount.", - "type": "object" - }, - "automountServiceAccountToken": { - "default": true, - "title": "Auto-mount the service account token in the pod", - "type": "boolean" - }, - "create": { - "default": false, - "title": "Enable the creation of a ServiceAccount for Backstage pods", - "type": "boolean" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "default": {}, - "title": "Additional custom labels to the service ServiceAccount.", - "type": "object" - }, - "name": { - "default": "", - "description": "If not set and `serviceAccount.create` is true, a name is generated", - "title": "Name of the ServiceAccount to use", - "type": "string" - } - }, - "title": "Service Account Configuration", - "type": "object" - } - }, - "title": "Backstage chart schema", - "type": "object" -} \ No newline at end of file diff --git a/charts/backstage/vendor/backstage/charts/backstage/values.schema.tmpl.json b/charts/backstage/vendor/backstage/charts/backstage/values.schema.tmpl.json deleted file mode 100644 index 80f5f946..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/values.schema.tmpl.json +++ /dev/null @@ -1,988 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "title": "Backstage chart schema", - "properties": { - "global": { - "title": "Global parameters.", - "type": "object", - "properties": { - "imageRegistry": { - "title": "Global Docker image registry", - "type": "string", - "default": "" - }, - "imagePullSecrets": { - "title": "Global Docker registry secret names as an array", - "type": "array", - "default": [], - "items": { - "type": "string" - }, - "uniqueItems": true, - "examples": [ - [ - "myRegistryKeySecretName" - ] - ] - } - } - }, - "kubeVersion": { - "title": "Override Kubernetes version", - "type": "string", - "default": "" - }, - "nameOverride": { - "title": "String to partially override common.names.fullname", - "type": "string", - "default": "" - }, - "fullnameOverride": { - "title": "String to fully override common.names.fullname", - "type": "string", - "default": "" - }, - "clusterDomain": { - "title": "Default Kubernetes cluster domain", - "type": "string", - "default": "cluster.local" - }, - "commonLabels": { - "title": "Labels to add to all deployed objects", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "commonAnnotations": { - "title": "Annotations to add to all deployed objects", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "extraDeploy": { - "title": "Array of extra objects to deploy with the release", - "type": "array", - "default": [], - "items": { - "type": [ - "string", - "object" - ] - }, - "uniqueItems": true - }, - "diagnosticMode": { - "title": "Enable diagnostic mode in the Deployment", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "Enable diagnostic mode", - "description": "All probes will be disabled and the command will be overridden", - "type": "boolean", - "default": false - }, - "command": { - "title": "Command to override all containers in the Deployment", - "type": "array", - "items": { - "type": "string" - }, - "default": [ - "sleep" - ] - }, - "args": { - "title": "Args to override all containers in the Deployment", - "type": "array", - "items": { - "type": "string" - }, - "default": [ - "infinity" - ] - } - } - }, - "ingress": { - "title": "Ingress parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "Enable the creation of the ingress resource", - "type": "boolean", - "default": false - }, - "className": { - "title": "Name of the IngressClass cluster resource which defines which controller will implement the resource.", - "type": "string", - "default": "", - "examples": [ - "nginx" - ] - }, - "annotations": { - "title": "Additional annotations for the Ingress resource", - "type": "object", - "default": {}, - "additionalProperties": { - "type": "string" - } - }, - "host": { - "title": "Hostname to be used to expose the route to access the backstage application.", - "type": "string", - "default": "", - "examples": [ - "backstage.10.0.0.1.nip.io" - ] - }, - "extraHosts": { - "title": "List of additional hostnames to be covered with this ingress record", - "type": "array", - "default": [], - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "pathType": { - "type": "string" - }, - "port": { - "type": "integer" - } - } - } - }, - "path": { - "title": "Path to be used to expose the full route to access the backstage application.", - "type": "string", - "default": "/", - "examples": [ - "/backstage" - ] - }, - "tls": { - "title": "Ingress TLS parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "Enable TLS configuration", - "description": "TLS for the host defined at `ingress.host` parameter", - "type": "boolean", - "default": false - }, - "secretName": { - "title": "The name to which the TLS Secret will be called", - "type": "string", - "default": "" - } - } - }, - "extraTls": { - "title": "The TLS configuration for additional hostnames to be covered with this ingress record.", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.networking.v1.IngressTLS" - }, - "default": [] - } - } - }, - "backstage": { - "title": "Backstage parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "replicas": { - "title": "Number of deployment replicas", - "type": "integer", - "minimum": 0, - "default": 1 - }, - "revisionHistoryLimit": { - "title": "The count of deployment revisions", - "type": "integer", - "minimum": 0, - "default": 10 - }, - "image": { - "title": "Image parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "digest": { - "default": "", - "description": "digest takes precedence over image tag", - "title": "Backstage image digest", - "type": "string" - }, - "registry": { - "title": "Backstage image registry", - "type": "string", - "default": "ghcr.io", - "examples": [ - "ghcr.io", - "quay.io", - "docker.io" - ] - }, - "repository": { - "title": "Backstage image repository", - "type": "string", - "default": "backstage/backstage" - }, - "tag": { - "title": "Backstage image tag", - "description": "Immutable tags are recommended.", - "type": "string", - "default": "latest" - }, - "pullPolicy": { - "title": "Specify a imagePullPolicy.", - "description": "Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy", - "type": "string", - "default": "", - "enum": [ - "Always", - "IfNotPresent", - "Never", - "" - ] - }, - "pullSecrets": { - "title": "Optionally specify an array of imagePullSecrets.", - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/", - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "examples": [ - "myRegistryKeySecretName" - ] - } - } - }, - "autoscaling": { - "title": "Autoscaling parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "description": "Enable autoscaling", - "title": "Backstage Autoscaling", - "type": "boolean", - "default": false - }, - "minReplicas": { - "title": "Minimum number of Backstage pod replicas that the autoscaler is allowed to scale down to", - "type": "integer", - "default": 1 - }, - "maxReplicas": { - "title": "Maximum number of Backstage pod replicas that the autoscaler is allowed to scale up to", - "type": "integer", - "default": 100 - }, - "targetCPUUtilizationPercentage": { - "title": "Percentage of CPU that each Backstage pod should be using on average before the autoscaler decides to scale", - "type": "integer", - "default": 80 - }, - "targetMemoryUtilizationPercentage": { - "title": "Percentage of memory that each Backstage pod should be using on average before the autoscaler decides to scale", - "type": "integer" - } - } - }, - "pdb": { - "title": "PDB parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "create": { - "description": "Create a PDB", - "title": "Backstage PDB", - "type": "boolean", - "default": false - }, - "minAvailable": { - "title": "Backstage PDB minAvailable", - "type": [ - "string", - "integer" - ], - "default": "" - }, - "maxUnavailable": { - "title": "Backstage PDB maxUnavailable", - "type": [ - "string", - "integer" - ], - "default": "" - } - } - }, - "containerPorts": { - "title": "Container ports on the Deployment", - "type": "object", - "additionalProperties": false, - "properties": { - "backend": { - "title": "Backstage backend port.", - "type": "integer", - "default": 7007 - } - } - }, - "command": { - "title": "Backstage container command", - "type": "array", - "items": { - "type": "string" - }, - "default": [ - "node", - "packages/backend" - ] - }, - "affinity": { - "default": {}, - "description": "Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity", - "properties": { - "nodeAffinity": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity", - "description": "Describes node affinity scheduling rules for the pod." - }, - "podAffinity": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinity", - "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." - }, - "podAntiAffinity": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.PodAntiAffinity", - "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." - } - }, - "title": "Affinity for pod assignment", - "type": "object" - }, - "topologySpreadConstraints": { - "default": [], - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" - }, - "title": "Topology Spread Constraint for pod assignment", - "type": "array" - }, - "args": { - "title": "Backstage container command arguments", - "type": "array", - "items": { - "type": "string" - }, - "default": [] - }, - "extraAppConfig": { - "title": "Extra app configuration files to inline into command arguments", - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "filename": { - "type": "string" - }, - "configMapRef": { - "type": "string" - } - } - }, - "default": [] - }, - "extraContainers": { - "title": "Deployment sidecars.", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Container" - }, - "default": [] - }, - "extraEnvVars": { - "title": "Backstage container environment variables", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.EnvVar" - }, - "default": [], - "examples": [ - [ - { - "name": "APP_CONFIG_backend_cache_store", - "value": "memory" - } - ] - ] - }, - "extraEnvVarsCM": { - "title": "Backstage container environment variables from existing ConfigMaps", - "type": "array", - "description": "Translates into array of `envFrom.[].configMapRef.name`", - "items": { - "type": "string" - }, - "default": [], - "examples": [ - [ - "my-backstage-configmap" - ] - ] - }, - "extraEnvVarsSecrets": { - "title": "Backstage container environment variables from existing Secrets", - "type": "array", - "description": "Translates into array of `envFrom.[].secretRef.name`", - "items": { - "type": "string" - }, - "default": [], - "examples": [ - [ - "my-backstage-secrets" - ] - ] - }, - "extraPorts": { - "title": "Extra ports to expose in the Backstage container", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.ContainerPort" - }, - "default": [] - }, - "extraVolumeMounts": { - "title": "Backstage container additional volume mounts", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount" - }, - "default": [] - }, - "extraVolumes": { - "title": "Backstage container additional volumes", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Volume" - }, - "default": [] - }, - "initContainers": { - "title": "Backstage container init containers", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Container" - }, - "default": [] - }, - "installDir": { - "title": "Directory containing the backstage installation", - "type": "string", - "default": "/app" - }, - "resources": { - "title": "Resource requests/limits", - "description": "Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "default": {}, - "examples": [ - { - "limits": { - "memory": "1Gi", - "cpu": "1000m" - }, - "requests": { - "memory": "250Mi", - "cpu": "100m" - } - } - ] - }, - "readinessProbe": { - "title": "Readiness probe", - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", - "default": { - "httpGet": { - "path": "/.backstage/health/v1/readiness", - "port": 7007, - "scheme": "HTTP" - } - }, - "examples": [ - { - "failureThreshold": 3, - "httpGet": { - "path": "/.backstage/health/v1/readiness", - "port": 7007, - "scheme": "HTTP" - }, - "initialDelaySeconds": 30, - "periodSeconds": 10, - "successThreshold": 2, - "timeoutSeconds": 2 - } - ] - }, - "livenessProbe": { - "title": "Liveness probe", - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", - "default": { - "httpGet": { - "path": "/.backstage/health/v1/liveness", - "port": 7007, - "scheme": "HTTP" - } - }, - "examples": [ - { - "failureThreshold": 3, - "httpGet": { - "path": "/.backstage/health/v1/liveness", - "port": 7007, - "scheme": "HTTP" - }, - "initialDelaySeconds": 60, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 2 - } - ] - }, - "startupProbe": { - "title": "Startup probe", - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", - "default": { - "httpGet": { - "path": "/.backstage/health/v1/liveness", - "port": 7007, - "scheme": "HTTP" - } - }, - "examples": [ - { - "failureThreshold": 3, - "httpGet": { - "path": "/.backstage/health/v1/liveness", - "port": 7007, - "scheme": "HTTP" - }, - "initialDelaySeconds": 60, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 2 - } - ] - }, - "podSecurityContext": { - "title": "Security settings for a Pod.", - "description": "The security settings that you specify for a Pod apply to all Containers in the Pod. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext", - "default": {} - }, - "containerSecurityContext": { - "title": "Security settings for a Container.", - "description": "Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext", - "default": {} - }, - "appConfig": { - "title": "Generates ConfigMap and configures it in the Backstage pods", - "type": [ - "object", - "string" - ], - "default": {}, - "examples": [ - { - "app": { - "baseUrl": "https://somedomain.tld" - } - } - ] - }, - "nodeSelector": { - "title": "Node labels for pod assignment", - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "tolerations": { - "title": "Node tolerations for server scheduling to nodes with taints", - "description": "Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration" - }, - "default": [] - }, - "hostAliases": { - "title": "Adding entries to a Pod's /etc/hosts file provides Pod-level override of hostname resolution when DNS and other options are not applicable", - "description": "Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/#adding-additional-entries-with-hostaliases", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.core.v1.HostAlias" - }, - "default": [] - }, - "podAnnotations": { - "title": "Annotations to add to the backend deployment pods", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "podLabels": { - "title": "Labels to add to the backend deployment pods", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "annotations": { - "title": "Additional custom annotations for the `Deployment` resource", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - } - } - }, - "service": { - "title": "Service parameters", - "type": "object", - "additionalProperties": false, - "properties": { - "type": { - "title": "Kubernetes Service type", - "type": "string", - "default": "ClusterIP", - "enum": [ - "ClusterIP", - "NodePort", - "LoadBalancer", - "ExternalName" - ] - }, - "ports": { - "title": "Backstage svc port for client connections", - "type": "object", - "additionalProperties": false, - "properties": { - "backend": { - "title": "Backstage svc port number", - "type": "integer", - "default": 7007 - }, - "name": { - "title": "Backstage svc port name", - "type": "string", - "default": "http-backend" - }, - "targetPort": { - "title": "Backstage svc target port referencing receiving pod container port", - "type": "string", - "default": "backend" - } - } - }, - "nodePorts": { - "title": "Node port for the Backstage client connections", - "type": "object", - "additionalProperties": false, - "properties": { - "backend": { - "title": "Node port for backend", - "type": [ - "string", - "integer" - ], - "default": "", - "minimum": 30000, - "maximum": 32767 - } - } - }, - "sessionAffinity": { - "title": "Control where client requests go, to the same pod or round-robin", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness", - "type": "string", - "default": "None", - "enum": [ - "None", - "ClientIP" - ] - }, - "clusterIP": { - "title": "Backstage service Cluster IP", - "type": "string", - "default": "" - }, - "loadBalancerIP": { - "title": "Backstage service Load Balancer IP", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", - "type": "string", - "default": "" - }, - "loadBalancerSourceRanges": { - "title": "Load Balancer sources", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer", - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "examples": [ - "10.10.10.0/24" - ] - }, - "externalTrafficPolicy": { - "title": "Backstage service external traffic policy", - "description": "Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip", - "type": "string", - "default": "Cluster", - "enum": [ - "Cluster", - "Local" - ] - }, - "annotations": { - "title": "Additional custom annotations for Backstage service", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "extraPorts": { - "title": "Extra ports to expose in the Backstage service", - "type": "array", - "items": { - "type": "object" - }, - "default": [] - }, - "ipFamilyPolicy": { - "title": "Backstage service IP family policy", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", - "type": "string", - "default": "", - "enum": [ - "", - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ] - }, - "ipFamilies": { - "title": "Backstage service IP families", - "description": "Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services", - "type": "array", - "items": { - "type": "string", - "enum": ["IPv4", "IPv6"] - }, - "default": [] - } - } - }, - "networkPolicy": { - "title": "Network policies", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "Specifies whether a NetworkPolicy should be created", - "type": "boolean", - "default": false - }, - "ingressRules": { - "title": "Custom egress rules for the network policy", - "type": "object", - "additionalProperties": false, - "properties": { - "customRules": { - "title": "", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" - } - }, - "namespaceSelector": { - "title": "Namespace Selector.", - "description": "Selects Namespaces using cluster scoped-labels.", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "default": {} - }, - "podSelector": { - "title": "Pod Selector.", - "description": "Selects selects Pods in this namespace.", - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "default": {} - } - } - }, - "egressRules": { - "title": "Custom egress rules for the network policy", - "type": "object", - "additionalProperties": false, - "properties": { - "customRules": { - "title": "", - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.4/_definitions.json#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" - } - }, - "denyConnectionsToExternal": { - "title": "Deny external connections. Should not be enabled when working with an external database.", - "type": "boolean", - "default": false - } - } - } - } - }, - "postgresql": { - "title": "PostgreSQL chart configuration", - "description": "Ref. https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml", - "$ref": "https://raw.githubusercontent.com/bitnami/charts/main/bitnami/postgresql/values.schema.json" - }, - "serviceAccount": { - "title": "Service Account Configuration", - "type": "object", - "additionalProperties": false, - "properties": { - "create": { - "title": "Enable the creation of a ServiceAccount for Backstage pods", - "type": "boolean", - "default": false - }, - "name": { - "title": "Name of the ServiceAccount to use", - "description": "If not set and `serviceAccount.create` is true, a name is generated", - "type": "string", - "default": "" - }, - "labels": { - "title": "Additional custom labels to the service ServiceAccount.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "annotations": { - "title": "Additional custom annotations for the ServiceAccount.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "automountServiceAccountToken": { - "title": "Auto-mount the service account token in the pod", - "type": "boolean", - "default": true - } - } - }, - "metrics": { - "title": "Metrics configuration", - "description": "Allows configuring your backstage instance as a scrape target for Prometheus. Ref: https://github.com/prometheus/prometheus", - "type": "object", - "additionalProperties": false, - "properties": { - "serviceMonitor": { - "title": "ServiceMonitor configuration", - "description": "A custom resource that is consumed by Prometheus Operator. Ref: https://github.com/prometheus-operator/prometheus-operator", - "type": "object", - "additionalProperties": false, - "properties": { - "enabled": { - "title": "If enabled, a ServiceMonitor resource for Prometheus Operator is created", - "description": "Prometheus Operator must be installed in your cluster prior to enabling.", - "type": "boolean", - "default": false - }, - "annotations": { - "title": "ServiceMonitor annotations", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "labels": { - "title": "Additional ServiceMonitor labels", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "default": {} - }, - "interval": { - "title": "ServiceMonitor scrape interval", - "type": [ - "string", - "null" - ], - "default": null - }, - "path": { - "title": "ServiceMonitor endpoint path", - "description": "ote that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the Prometheus metrics tutorial. https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md", - "type": "string", - "default": "/metrics" - }, - "port": { - "default": "http-backend", - "description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.", - "title": "ServiceMonitor endpoint port", - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ] - } - } - } - } - } - } -} \ No newline at end of file diff --git a/charts/backstage/vendor/backstage/charts/backstage/values.yaml b/charts/backstage/vendor/backstage/charts/backstage/values.yaml deleted file mode 100644 index 36aac536..00000000 --- a/charts/backstage/vendor/backstage/charts/backstage/values.yaml +++ /dev/null @@ -1,504 +0,0 @@ -# Default values for the Backstage chart. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -# -- Global parameters -# Global Docker image parameters -# Please, note that this will override the image parameters, including dependencies, configured to use the global value -# Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass -# @default -- See below -global: - # -- Global Docker image registry - imageRegistry: "" - - # -- Global Docker registry secret names as an array - #
E.g. `imagePullSecrets: [myRegistryKeySecretName]` - imagePullSecrets: [] - -# -- Common parameters - -# -- Override Kubernetes version -kubeVersion: "" - -# -- String to partially override common.names.fullname -nameOverride: "" - -# -- String to fully override common.names.fullname -fullnameOverride: "" - -# -- Default Kubernetes cluster domain -clusterDomain: cluster.local - -# -- Labels to add to all deployed objects -commonLabels: {} - -# -- Annotations to add to all deployed objects -commonAnnotations: {} - -# -- Array of extra objects to deploy with the release -extraDeploy: [] - -# -- Enable diagnostic mode in the Deployment -diagnosticMode: - - # -- Enable diagnostic mode (all probes will be disabled and the command will be overridden) - enabled: false - - # -- Command to override all containers in the Deployment - command: - - sleep - - # -- Args to override all containers in the Deployment - args: - - infinity - -# -- Ingress parameters -ingress: - - # -- Enable the creation of the ingress resource - enabled: false - - # -- Name of the IngressClass cluster resource which defines which controller will implement the resource (e.g nginx) - className: "" - - # -- Additional annotations for the Ingress resource - annotations: {} - - # -- Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io) - host: "" - - # -- List of additional hostnames to be covered with this ingress record (e.g. a CNAME) - # - extraHosts: [] - - # -- Path to be used to expose the full route to access the backstage application (e.g: IP.nip.io/backstage) - path: "/" - - # -- Ingress TLS parameters - tls: - - # -- Enable TLS configuration for the host defined at `ingress.host` parameter - enabled: false - - # -- The name to which the TLS Secret will be called - secretName: "" - - # -- The TLS configuration for additional hostnames to be covered with this ingress record. - #
Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls - # - extraTls: [] - -# -- Backstage parameters -# @default -- See below -backstage: - - # -- Number of deployment replicas - replicas: 1 - - # -- Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept. - # May be set to 0 in case of GitOps deployment approach. - revisionHistoryLimit: 10 - - image: - - # -- Backstage image registry - registry: ghcr.io - - # -- Backstage image repository - repository: backstage/backstage - - # -- Backstage image tag (immutable tags are recommended) - tag: latest - - # -- Backstage image digest (digest takes precedence over image tag) - digest: "" - - # -- Specify a imagePullPolicy. - # Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' - #
Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy - pullPolicy: "" - - # -- Optionally specify an array of imagePullSecrets. - # Secrets must be manually created in the namespace. - #
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ - #
E.g: `pullSecrets: [myRegistryKeySecretName]` - pullSecrets: [] - - # -- Pod Disruption Budget configuration - # ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ - pdb: - create: false - minAvailable: "" - maxUnavailable: "" - - # -- Autoscaling configuration. - #
Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - - # -- Container ports on the Deployment - containerPorts: - backend: 7007 - - # -- Backstage container command - command: ["node", "packages/backend"] - - # -- Backstage container command arguments - args: [] - - # -- Extra app configuration files to inline into command arguments - extraAppConfig: [] - - # -- Deployment sidecars - extraContainers: [] - - # -- Backstage container environment variables - extraEnvVars: [] - - # -- Backstage container environment variables from existing ConfigMaps - extraEnvVarsCM: [] - - # -- Backstage container environment variables from existing Secrets - extraEnvVarsSecrets: [] - - # -- Backstage container additional ports - extraPorts: [] - - # -- Backstage container additional volume mounts - extraVolumeMounts: [] - - # -- Backstage container additional volumes - extraVolumes: [] - - # -- Backstage container init containers - initContainers: [] - - # -- Directory containing the backstage installation - installDir: /app - - # -- Resource requests/limits - #
Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container - # - resources: {} - - # -- Readiness Probe - # Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes - #