Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom internal alias #999

Merged
merged 135 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
169bc64
Added dns aliases types and crd
satr Oct 20, 2023
b5c16df
Added dns aliases controller and handler bases
satr Oct 20, 2023
9cb596c
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Oct 23, 2023
a298b10
Extended dns aliases controller and handler, added appName to the Rad…
satr Oct 23, 2023
8b3bc04
Added ingresses stubs to test
satr Oct 23, 2023
8033711
Creating, updating RadixDNSAliases
satr Oct 23, 2023
8ab98ac
Extended applicationconfig and RadixDNSAliases controllers
satr Oct 24, 2023
6e63dfb
Extended RadixDNSAliases controllers and handler, added ClusterConfi…
satr Oct 25, 2023
97aa2a1
Extended RadixDNSAliases syncer
satr Oct 26, 2023
d8303b5
Extended RadixDNSAliases syncer and handler, unit-tests, added cluste…
satr Oct 26, 2023
fcb7d3d
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Oct 27, 2023
9fafa24
Added config to syncers, added ingresses
satr Oct 27, 2023
6211ea6
Fixed unit-test
satr Oct 30, 2023
be95c7a
Added unit-test
satr Oct 30, 2023
a031561
Added unit-test, updating of an ingress port
satr Oct 30, 2023
d506fc9
Added unit-test for owner ref
satr Oct 30, 2023
b1461a6
Added unit-test for header
satr Oct 30, 2023
f585e69
Updated unit-test for controller
satr Oct 30, 2023
0917810
Updated unit-test for app controller
satr Oct 30, 2023
eceba1b
Updated unit-test for app controller
satr Oct 30, 2023
d8ead9b
Handled changed, new a dn deleted aliases app-config
satr Oct 31, 2023
eb3d087
Added unit-tests for dns aliases in app-config
satr Oct 31, 2023
3f307aa
Added port to the Radix DNS Alias
satr Oct 31, 2023
ca2d1e7
Update unit-tests
satr Nov 1, 2023
c32cb0d
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 1, 2023
7ba6fd8
Update unit-tests
satr Nov 1, 2023
c8619e1
Added DNS alias validation
satr Nov 1, 2023
aca8f6b
Added DNS alias validation tests. Removed dot from validation of reso…
satr Nov 2, 2023
fd2a696
Extended DNS alias validation
satr Nov 2, 2023
641901b
Added validation on existing RadixDNSAliases on applying RadixApplica…
satr Nov 2, 2023
38c7f8c
Added whitelisted DNS aliases to the chart
satr Nov 2, 2023
1a26b66
Added reserved DNS aliases to the chart and config
satr Nov 3, 2023
51b1786
Added unit-tests
satr Nov 3, 2023
104d503
Added dnsalias reserved list check to common validation
satr Nov 6, 2023
ccea475
Fixed method invocation
satr Nov 6, 2023
7f0b7ec
Added validation on applying ra
satr Nov 6, 2023
7848bac
Added pipeline args for reserved dns aliases
satr Nov 6, 2023
f987a83
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 7, 2023
bfc2469
Merged with master
satr Nov 7, 2023
1a23786
Fixed unit-test
satr Nov 7, 2023
ce13bb5
Added validation for reserved aliases
satr Nov 7, 2023
8eaa2db
Config moved to pkg
satr Nov 8, 2023
ac5ea33
Renamed CRD plural name for radixdnsalias
satr Nov 8, 2023
8fefc42
ClusterConfig renamed to DNSConfig
satr Nov 8, 2023
5abdea4
DNSConfig moved to dnsalias package
satr Nov 8, 2023
ab65794
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 8, 2023
5dc2042
Merged
satr Nov 8, 2023
edf9b83
Merged
satr Nov 8, 2023
49119bf
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 9, 2023
02ee052
Full config used as an argument of pipelinejob handler
satr Nov 9, 2023
eacdb93
Added reserved dns aliases validation to pipeline jobs
satr Nov 9, 2023
cbc3087
Fixed test
satr Nov 9, 2023
9e4d82b
Adding RDA role and binding to tekton
satr Nov 10, 2023
6569f59
Added RDA role and binding to tekton
satr Nov 10, 2023
2c556ad
Extracted a method for tekton use
satr Nov 13, 2023
c49a32b
Renamed property
satr Nov 13, 2023
5135498
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 14, 2023
d369c36
Merged
satr Nov 14, 2023
9287fe2
Added reserved DNS alias arguments to pipeline and tekton jobs
satr Nov 14, 2023
19a5ffd
Added reserved DNS alias roles
satr Nov 15, 2023
a015dc7
Removed reconcile from RDA
satr Nov 15, 2023
7595ac4
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 16, 2023
b470913
Domain in DNSAlias renamed to Alias. DNS aliases added to RadixDeploy…
satr Nov 16, 2023
65fa7ef
Ingress interfaces moved to pkg
satr Nov 16, 2023
9eb2f54
Fixed linter failure
satr Nov 16, 2023
23e4524
Extracted kubeUtil for all controllers
satr Nov 16, 2023
94da1b2
Extracted ingress logic from deployment package
satr Nov 17, 2023
a551ae2
Added args ingress and oauthconfig to dnsalias
satr Nov 17, 2023
e3935d7
Replaced registration of ingress by RadixDNSAlias. Needs to fix unit-…
satr Nov 17, 2023
10f574e
Do not sync dnsaliases whyle there is no deployment existing
satr Nov 20, 2023
74b8d07
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 20, 2023
b053e7c
Update refs
satr Nov 21, 2023
e33be73
Added deletion of dns aliases on deleting radix environments, create/…
satr Nov 21, 2023
921b40c
Fixing sync of oauth ingresses
satr Nov 23, 2023
cdd0e69
Fixed sync of oauth ingress path
satr Nov 23, 2023
a06bb69
Fixed some alias tests
satr Nov 27, 2023
fbfc085
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 28, 2023
f492360
Added rd informer
satr Nov 29, 2023
a4902d1
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 29, 2023
712a28c
Merged
satr Nov 29, 2023
28f8854
Restored tests
satr Nov 29, 2023
cbdcd65
Adding garbage collect for DNS alias
satr Nov 29, 2023
7e85cf7
Removed unnecessary ingress garbage collect DNS alias ingresses logic
satr Nov 30, 2023
ce6b030
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Nov 30, 2023
e30503a
Added update RD informer
satr Nov 30, 2023
16bc1a4
Added finalizer to RadixDNSAlias
satr Nov 30, 2023
b0b32ac
Added status to RadixDNSAlias
satr Nov 30, 2023
2482043
Replaced standard ingress webhook error message to hide application name
satr Nov 30, 2023
4a0e7aa
Removed yaml attr from radixdnsalias
satr Dec 1, 2023
7f3a553
Fixed unit-tests
satr Dec 1, 2023
351985b
Set version
satr Dec 1, 2023
c3b3df8
Fixed linter reported issues
satr Dec 1, 2023
93224cc
Fixed linter reported issues
satr Dec 1, 2023
4196b7e
Added app alias as reserved
satr Dec 4, 2023
620cf01
Removed receiver from UpdatePrivateImageHubsSecretsPassword
satr Dec 4, 2023
7a24ed4
Removed receiver from GetPendingPrivateImageHubSecrets
satr Dec 4, 2023
ffa7bc2
Corrected error message
satr Dec 4, 2023
5d5a475
Fixed reported review issues
satr Dec 5, 2023
3fb226c
Fixed reported review issues.
satr Dec 5, 2023
592811b
Fixed reported review issues.
satr Dec 5, 2023
8e6db46
Fixed reported review issues.
satr Dec 5, 2023
7cf218c
Fixed reported review issues.
satr Dec 5, 2023
1447bbe
Fixed reported review issues.
satr Dec 5, 2023
028b327
Fixed reported review issues. Replaced commonerrors.Concat with stand…
satr Dec 5, 2023
5af0c2a
Fixed reported review issues. Replaced k8s attributes
satr Dec 5, 2023
309026c
Merge remote-tracking branch 'origin/master' into custom-internal-alias
satr Dec 7, 2023
d606135
Merge
satr Dec 7, 2023
679a66e
Moved methods, used only in radix-api to radix-api
satr Dec 7, 2023
c226cc0
Cleanup
satr Dec 7, 2023
a2f13f3
Reworked method syncDNSAliases. Added unit-tests
satr Dec 7, 2023
e008b81
Removed port from RadixDNSAlias.Take it from RadixDeployment. RDA App…
satr Dec 7, 2023
189e934
Replaced panic for test errs with required
satr Dec 11, 2023
e6d58bb
DNS alias specific ingresses are processed independently from other i…
satr Dec 12, 2023
fb96a9d
Fixed tests
satr Dec 12, 2023
911f68b
Fixed deleted dnsalias logic, method moved to radix-api
satr Dec 12, 2023
299a6c7
Removed GetIngresses methods, Changed log-level method
satr Dec 12, 2023
efcad8c
Merge branch 'master' into custom-internal-alias
satr Dec 12, 2023
97a178a
Corrected logic for DNSAlias deletion
satr Dec 12, 2023
e7e157a
Cleaned linter reported issues
satr Dec 12, 2023
d8f3ace
Cleaned linter reported issues
satr Dec 12, 2023
b468e51
Added defaultAlias label to default ingresses
satr Dec 12, 2023
a7c9453
Corrected deletion of radix environment. Added tests
satr Dec 12, 2023
1e96ba6
Added unit-tests for ingress labels
satr Dec 12, 2023
cba1566
Fixed unit-tests
satr Dec 12, 2023
2932d35
Registry moved from radix to radixv1
satr Dec 14, 2023
3963c00
Cleanup
satr Dec 14, 2023
a00b19c
Cleanup
satr Dec 15, 2023
965263d
Cleanup
satr Dec 15, 2023
3341237
Cleanup
satr Dec 15, 2023
59d4835
Cleanup
satr Dec 15, 2023
3bb3dd3
Changed status column title
satr Dec 15, 2023
e04bc8f
Cleanup
satr Dec 18, 2023
6795b64
Controllers fail with panic, when creating informers with error
satr Dec 18, 2023
9fc9d0c
Fixed of review commented issues
satr Dec 18, 2023
300eb87
Fixed of review commented issues
satr Dec 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"--RADIX_FILE_NAME=/workspace/radixconfig.yaml",
"--TO_ENVIRONMENT=qa",
"--IMAGE_TAG_NAME=server=1.23-alpine-slim",
"--IMAGE_TAG_NAME=server2=1.22.1-alpine-perl"
"--IMAGE_TAG_NAME=server2=1.22.1-alpine-perl",
"--RADIX_RESERVED_APP_DNS_ALIASES=api=radix-api,canary=radix-canary-golang,console=radix-web-console,cost-api=radix-cost-allocation-api,webhook=radix-github-webhook",
"--RADIX_RESERVED_DNS_ALIASES=grafana,prometheus,www"
]
},
{
Expand All @@ -50,7 +52,9 @@
"--DEPLOYMENT_NAME=dev-hyxzv-j9pg34k2",
"--RADIX_FILE_NAME=/workspace/radixconfig.yaml",
"--DEBUG=true",
"--RADIX_CONTAINER_REGISTRY=radixdev.azurecr.io"
"--RADIX_CONTAINER_REGISTRY=radixdev.azurecr.io",
"--RADIX_RESERVED_APP_DNS_ALIASES=api=radix-api,canary=radix-canary-golang,console=radix-web-console,cost-api=radix-cost-allocation-api,webhook=radix-github-webhook",
"--RADIX_RESERVED_DNS_ALIASES=grafana,prometheus,www"
]
},
{
Expand All @@ -71,7 +75,9 @@
"--RADIX_CLUSTER_TYPE=development",
"--RADIX_ZONE=dev",
"--RADIX_CLUSTERNAME=weekly-44",
"--RADIX_CONTAINER_REGISTRY=radixdev.azurecr.io"
"--RADIX_CONTAINER_REGISTRY=radixdev.azurecr.io",
"--RADIX_RESERVED_APP_DNS_ALIASES=api=radix-api,canary=radix-canary-golang,console=radix-web-console,cost-api=radix-cost-allocation-api,webhook=radix-github-webhook",
"--RADIX_RESERVED_DNS_ALIASES=grafana,prometheus,www"
]
},
{
Expand Down Expand Up @@ -127,7 +133,9 @@
"RADIX_DEPLOYMENTS_PER_ENVIRONMENT_HISTORY_LIMIT": "10",
"RADIX_PIPELINE_JOBS_HISTORY_LIMIT": "5",
"SECCOMP_PROFILE_FILENAME": "allow-buildah.json",
"RADIX_BUILDAH_IMAGE_BUILDER": "quay.io/buildah/stable:v1.31"
"RADIX_BUILDAH_IMAGE_BUILDER": "quay.io/buildah/stable:v1.31",
"RADIX_RESERVED_APP_DNS_ALIASES": "api=radix-api,canary=radix-canary-golang,console=radix-web-console,cost-api=radix-cost-allocation-api,webhook=radix-github-webhook",
"RADIX_RESERVED_DNS_ALIASES": "grafana,prometheus,www"
},
"args": ["--useOutClusterClient=false"]
},
Expand Down
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ mocks:
mockgen -source ./pkg/apis/deployment/deploymentfactory.go -destination ./pkg/apis/deployment/deploymentfactory_mock.go -package deployment
mockgen -source ./pkg/apis/deployment/deployment.go -destination ./pkg/apis/deployment/deployment_mock.go -package deployment
mockgen -source ./pkg/apis/deployment/auxiliaryresourcemanager.go -destination ./pkg/apis/deployment/auxiliaryresourcemanager_mock.go -package deployment
mockgen -source ./pkg/apis/deployment/ingressannotationprovider.go -destination ./pkg/apis/deployment/ingressannotationprovider_mock.go -package deployment
mockgen -source ./pkg/apis/ingress/ingressannotationprovider.go -destination ./pkg/apis/ingress/ingressannotationprovider_mock.go -package ingress
mockgen -source ./pkg/apis/alert/alert.go -destination ./pkg/apis/alert/alert_mock.go -package alert
mockgen -source ./pkg/apis/alert/alertfactory.go -destination ./pkg/apis/alert/alertfactory_mock.go -package alert
mockgen -source ./pkg/apis/batch/syncer.go -destination ./pkg/apis/batch/syncer_mock.go -package batch
mockgen -source ./pkg/apis/batch/syncerfactory.go -destination ./pkg/apis/batch/syncerfactory_mock.go -package batch
mockgen -source ./radix-operator/batch/internal/syncerfactory.go -destination ./radix-operator/batch/internal/syncerfactory_mock.go -package internal
mockgen -source ./pkg/apis/dnsalias/syncer.go -destination ./pkg/apis/dnsalias/syncer_mock.go -package dnsalias
mockgen -source ./radix-operator/dnsalias/internal/syncerfactory.go -destination ./radix-operator/dnsalias/internal/syncerfactory_mock.go -package internal
mockgen -source ./radix-operator/common/handler.go -destination ./radix-operator/common/handler_mock.go -package common
mockgen -source ./pipeline-runner/internal/wait/job.go -destination ./pipeline-runner/internal/wait/job_mock.go -package wait

Expand Down Expand Up @@ -130,7 +132,7 @@ code-gen:
$(GOPATH)/pkg/mod/k8s.io/[email protected]/generate-groups.sh all $(ROOT_PACKAGE)/pkg/client $(ROOT_PACKAGE)/pkg/apis $(CUSTOM_RESOURCE_NAME):$(CUSTOM_RESOURCE_VERSION) --go-header-file $(GOPATH)/pkg/mod/k8s.io/[email protected]/hack/boilerplate.go.txt

.PHONY: crds
crds: temp-crds radixapplication-crd radixbatch-crd delete-temp-crds
crds: temp-crds radixapplication-crd radixbatch-crd radixdnsalias-crd delete-temp-crds

.PHONY: radixapplication-crd
radixapplication-crd: temp-crds
Expand All @@ -141,6 +143,10 @@ radixapplication-crd: temp-crds
radixbatch-crd: temp-crds
cp $(CRD_TEMP_DIR)radix.equinor.com_radixbatches.yaml $(CRD_CHART_DIR)radixbatch.yaml

.PHONY: radixdnsalias-crd
radixdnsalias-crd: temp-crds
cp $(CRD_TEMP_DIR)radix.equinor.com_radixdnsaliases.yaml $(CRD_CHART_DIR)radixdnsalias.yaml

.PHONY: temp-crds
temp-crds: controller-gen
echo "tempcrdrun"
Expand All @@ -154,4 +160,8 @@ delete-temp-crds:
staticcheck:
staticcheck `go list ./... | grep -v "pkg/client"` && go vet `go list ./... | grep -v "pkg/client"`

.PHONY: lint
lint:
golangci-lint run


4 changes: 2 additions & 2 deletions charts/radix-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: radix-operator
version: 1.26.2
appVersion: 1.46.2
version: 1.27.0
appVersion: 1.47.0
kubeVersion: ">=1.24.0"
description: Radix Operator
keywords:
Expand Down
17 changes: 17 additions & 0 deletions charts/radix-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,20 @@ Create the name of the service account to use
{{- define "radix-operator.serviceAccountName" -}}
{{- default (include "radix-operator.fullname" .) .Values.serviceAccount.name }}
{{- end }}

{{/*
Utility function to take list to comma separated dictionary
*/}}
{{- define "helm-toolkit.utils.joinMapWithComma" -}}
{{- $local := dict "first" true -}}
{{- range $k, $v := . -}}{{- if not $local.first -}},{{- end -}}{{ $k }}={{ $v }}{{- $_ := set $local "first" false -}}{{- end -}}
{{- end -}}

{{/*
Utility function to take list to comma separated string
*/}}
{{- define "helm-toolkit.utils.joinListWithComma" -}}
{{- $local := dict "first" true -}}
{{- range $k, $v := . -}}{{- if not $local.first -}},{{- end -}}{{- $v -}}{{- $_ := set $local "first" false -}}{{- end -}}
{{- end -}}

4 changes: 4 additions & 0 deletions charts/radix-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ spec:
value: {{ .Values.seccompProfile.fileNameOnNode }}
- name: RADIX_BUILDAH_IMAGE_BUILDER
value: {{ .Values.buildahImageBuilder }}
- name: RADIX_RESERVED_APP_DNS_ALIASES
value: {{ include "helm-toolkit.utils.joinMapWithComma" .Values.reservedAppDNSAlias | quote }}
- name: RADIX_RESERVED_DNS_ALIASES
value: {{ include "helm-toolkit.utils.joinListWithComma" .Values.reservedDNSAlias | quote }}
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 2 additions & 0 deletions charts/radix-operator/templates/radix-operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ rules:
- radixalerts/status
- radixbatches
- radixbatches/status
- radixdnsaliases
- radixdnsaliases/status
verbs:
nilsgstrabo marked this conversation as resolved.
Show resolved Hide resolved
- get
- list
Expand Down
64 changes: 50 additions & 14 deletions charts/radix-operator/templates/radixapplication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ spec:
applies to.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
horizontalScaling:
description: 'Configuration for automatic horizontal scaling
Expand Down Expand Up @@ -880,14 +880,14 @@ spec:
description: Defines which port in the ports list where
metrics is served.
maxLength: 15
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
type: object
name:
description: Name of the component.
maxLength: 253
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
node:
description: 'Defines GPU requirements for the component. More
Expand All @@ -910,7 +910,7 @@ spec:
description: Name of the port.
maxLength: 15
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
port:
description: Port number.
Expand All @@ -934,7 +934,7 @@ spec:
description: 'Defines which port (name) from the ports list
that shall be accessible from the internet. More info: https://www.radix.equinor.com/references/reference-radix-config/#publicport'
maxLength: 15
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
resources:
description: 'Configures CPU and memory resources for the component.
Expand Down Expand Up @@ -1079,6 +1079,42 @@ spec:
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
dnsAlias:
description: 'List of DNS names and which component and environment
incoming requests shall be routed to. More info: https://www.radix.equinor.com/references/reference-radix-config/#dnsalias'
items:
description: DNSAlias defines mapping between an DNS alias and a
component and environment.
properties:
alias:
description: Alias name, e.g. my-app, which will prefix full
internal alias my-app.radix.equinor.com
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
component:
description: Name of the component that shall receive the incoming
requests.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
environment:
description: Name of the environment for the component.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
required:
- alias
- component
- environment
type: object
type: array
x-kubernetes-list-map-keys:
- alias
x-kubernetes-list-type: map
dnsAppAlias:
description: 'Configure a component and environment to be linked to
the app alias DNS record. More info: https://www.radix.equinor.com/references/reference-radix-config/#dnsappalias'
Expand All @@ -1088,13 +1124,13 @@ spec:
requests.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
environment:
description: Name of the environment for the component.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
type: object
dnsExternalAlias:
Expand All @@ -1115,13 +1151,13 @@ spec:
requests.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
environment:
description: Name of the environment for the component.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
required:
- alias
Expand Down Expand Up @@ -1210,7 +1246,7 @@ spec:
description: Name of the environment.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
required:
- name
Expand Down Expand Up @@ -1264,7 +1300,7 @@ spec:
applies to.
maxLength: 63
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
identity:
description: 'Environment specific configuration for workload
Expand Down Expand Up @@ -1726,15 +1762,15 @@ spec:
description: Defines which port in the ports list where
metrics is served.
maxLength: 15
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
type: object
name:
description: Name of the environment which the settings applies
to.
maxLength: 253
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
node:
description: 'Defines GPU requirements for the job. More info:
Expand Down Expand Up @@ -1779,7 +1815,7 @@ spec:
description: Name of the port.
maxLength: 15
minLength: 1
pattern: ^(([a-z0-9][-a-z0-9.]*)?[a-z0-9])?$
pattern: ^(([a-z0-9][-a-z0-9]*)?[a-z0-9])?$
type: string
port:
description: Port number.
Expand Down
Loading