Skip to content

Commit

Permalink
use unversioned nginx CRDs
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Nov 4, 2023
1 parent dbb91a7 commit 6265c1f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
24 changes: 12 additions & 12 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1335,18 +1335,18 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
project_name: "nginxinc/kubernetes-ingress",
license: APACHE_V2,
urls: &[
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/appprotect.f5.com_aplogconfs.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/appprotect.f5.com_appolicies.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/appprotect.f5.com_apusersigs.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/appprotectdos.f5.com_apdoslogconfs.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/appprotectdos.f5.com_apdospolicy.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/appprotectdos.f5.com_dosprotectedresources.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/externaldns.nginx.org_dnsendpoints.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/k8s.nginx.org_globalconfigurations.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/k8s.nginx.org_policies.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/k8s.nginx.org_transportservers.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/k8s.nginx.org_virtualserverroutes.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/v3.3.0/deployments/common/crds/k8s.nginx.org_virtualservers.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/appprotect.f5.com_aplogconfs.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/appprotect.f5.com_appolicies.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/appprotect.f5.com_apusersigs.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/appprotectdos.f5.com_apdoslogconfs.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/appprotectdos.f5.com_apdospolicy.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/appprotectdos.f5.com_dosprotectedresources.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/externaldns.nginx.org_dnsendpoints.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/k8s.nginx.org_globalconfigurations.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/k8s.nginx.org_policies.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/k8s.nginx.org_transportservers.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/k8s.nginx.org_virtualserverroutes.yaml",
"https://github.com/nginxinc/kubernetes-ingress/blob/main/config/crd/bases/k8s.nginx.org_virtualservers.yaml",
],
},
UpstreamSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ spec:
type: string
duration:
type: string
issue-temp-cert:
type: boolean
issuer:
type: string
issuer-group:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,8 @@ pub struct VirtualServerTlsCertManager {
pub common_name: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub duration: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "issue-temp-cert")]
pub issue_temp_cert: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub issuer: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "issuer-group")]
Expand Down

0 comments on commit 6265c1f

Please sign in to comment.