diff --git a/Makefile b/Makefile index f89c3f84..945f0389 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # To re-generate a bundle for another specific version without changing the standard setup, you can: # - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2) # - use environment variables to overwrite this value (e.g export VERSION=0.0.2) -VERSION ?= 0.17.2 +VERSION ?= 0.17.3 # CHANNELS define the bundle channels used in the bundle. # Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable") @@ -362,6 +362,5 @@ refdocs: crd-ref-docs $(CRD_REFDOCS) \ --source-path=api \ --config=docs/api-reference/config.yaml \ - --templates-dir=docs/api-reference/templates/asciidoctor \ --renderer=asciidoctor \ --output-path=docs/api-reference/reference.asciidoc diff --git a/bundle/manifests/saas-operator.clusterserviceversion.yaml b/bundle/manifests/saas-operator.clusterserviceversion.yaml index 4d9b6b41..0ff30c0a 100644 --- a/bundle/manifests/saas-operator.clusterserviceversion.yaml +++ b/bundle/manifests/saas-operator.clusterserviceversion.yaml @@ -576,7 +576,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/3scale/saas-operator support: Red Hat - name: saas-operator.v0.17.2 + name: saas-operator.v0.17.3 namespace: placeholder spec: apiservicedefinitions: {} @@ -4401,7 +4401,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.annotations['olm.targetNamespaces'] - image: quay.io/3scale/saas-operator:v0.17.2 + image: quay.io/3scale/saas-operator:v0.17.3 livenessProbe: httpGet: path: /healthz @@ -4903,4 +4903,4 @@ spec: provider: name: Red Hat url: https://www.3scale.net/ - version: 0.17.2 + version: 0.17.3 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 764bc58a..24596897 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -13,4 +13,4 @@ kind: Kustomization images: - name: controller newName: quay.io/3scale/saas-operator - newTag: v0.17.2 + newTag: v0.17.3 diff --git a/docs/api-reference/config.yaml b/docs/api-reference/config.yaml index 903e9192..621b1ea0 100644 --- a/docs/api-reference/config.yaml +++ b/docs/api-reference/config.yaml @@ -1,5 +1,6 @@ processor: - # RE2 regular expressions describing type fields that should be excluded from the generated documentation. + ignoreTypes: + - "List$" ignoreFields: - "TypeMeta$" diff --git a/docs/api-reference/reference.asciidoc b/docs/api-reference/reference.asciidoc index 37dc5ab3..b0c91391 100644 --- a/docs/api-reference/reference.asciidoc +++ b/docs/api-reference/reference.asciidoc @@ -15,27 +15,16 @@ Package v1alpha1 contains API Schema definitions for the saas v1alpha1 API group .Resource Types - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-apicast[$$Apicast$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-apicastlist[$$ApicastList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-autossl[$$AutoSSL$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-autossllist[$$AutoSSLList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-backend[$$Backend$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-backendlist[$$BackendList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-corsproxy[$$CORSProxy$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-corsproxylist[$$CORSProxyList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-echoapi[$$EchoAPI$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-echoapilist[$$EchoAPIList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-mappingservice[$$MappingService$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-mappingservicelist[$$MappingServiceList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-redisshard[$$RedisShard$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-redisshardlist[$$RedisShardList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-sentinel[$$Sentinel$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-sentinellist[$$SentinelList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-system[$$System$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-systemlist[$$SystemList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-twemproxyconfig[$$TwemproxyConfig$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-twemproxyconfiglist[$$TwemproxyConfigList$$] - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-zync[$$Zync$$] -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-zynclist[$$ZyncList$$] @@ -68,10 +57,7 @@ APISpec is the configuration for main Zync api component Apicast is the Schema for the apicasts API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-apicastlist[$$ApicastList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -135,24 +121,6 @@ ApicastEnvironmentSpec is the configuration for an Apicast environment |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-apicastlist"] -==== ApicastList - -ApicastList contains a list of Apicast - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `ApicastList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-apicast[$$Apicast$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-apicastspec"] ==== ApicastSpec @@ -200,10 +168,7 @@ AssetsSpec has configuration to access assets in AWS s3 AutoSSL is the Schema for the autossls API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-autossllist[$$AutoSSLList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -242,24 +207,6 @@ AutoSSLConfig defines configuration options for the component |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-autossllist"] -==== AutoSSLList - -AutoSSLList contains a list of AutoSSL - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `AutoSSLList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-autossl[$$AutoSSL$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-autosslspec"] ==== AutoSSLSpec @@ -297,10 +244,7 @@ AutoSSLSpec defines the desired state of AutoSSL Backend is the Schema for the backends API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-backendlist[$$BackendList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -341,24 +285,6 @@ BackendConfig configures app behavior for Backend |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-backendlist"] -==== BackendList - -BackendList contains a list of Backend - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `BackendList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-backend[$$Backend$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-backendspec"] ==== BackendSpec @@ -408,10 +334,7 @@ BugsnagSpec has configuration for Bugsnag integration CORSProxy is the Schema for the corsproxies API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-corsproxylist[$$CORSProxyList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -443,24 +366,6 @@ CORSProxyConfig defines configuration options for the component |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-corsproxylist"] -==== CORSProxyList - -CORSProxyList contains a list of CORSProxy - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `CORSProxyList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-corsproxy[$$CORSProxy$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-corsproxyspec"] ==== CORSProxySpec @@ -541,10 +446,7 @@ CronSpec is the configuration for Backend Cron EchoAPI is the Schema for the echoapis API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-echoapilist[$$EchoAPIList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -558,24 +460,6 @@ EchoAPI is the Schema for the echoapis API |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-echoapilist"] -==== EchoAPIList - -EchoAPIList contains a list of echoapi - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `EchoAPIList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-echoapi[$$EchoAPI$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-echoapispec"] ==== EchoAPISpec @@ -850,10 +734,7 @@ LoadBalancerSpec configures the AWS load balancer for the component MappingService is the Schema for the mappingservices API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-mappingservicelist[$$MappingServiceList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -888,24 +769,6 @@ MappingServiceConfig configures app behavior for MappingService |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-mappingservicelist"] -==== MappingServiceList - -MappingServiceList contains a list of MappingService - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `MappingServiceList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-mappingservice[$$MappingService$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-mappingservicespec"] ==== MappingServiceSpec @@ -1135,10 +998,7 @@ RedHatCustomerPortalSpec has configuration for integration with Red Hat Customer RedisShard is the Schema for the redisshards API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-redisshardlist[$$RedisShardList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -1152,24 +1012,6 @@ RedisShard is the Schema for the redisshards API |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-redisshardlist"] -==== RedisShardList - -RedisShardList contains a list of RedisShard - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `RedisShardList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-redisshard[$$RedisShard$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-redisshardnodes"] ==== RedisShardNodes @@ -1267,12 +1109,6 @@ ResourceRequirementsSpec defines the resource requirements for the component - xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-workerspec[$$WorkerSpec$$] **** -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`limits`* __object (keys:link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#resourcename-v1-core[$$ResourceName$$], values:Quantity)__ | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ -| *`requests`* __object (keys:link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#resourcename-v1-core[$$ResourceName$$], values:Quantity)__ | 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. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ -|=== [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-smtpspec"] @@ -1354,10 +1190,7 @@ SegmentSpec has configuration for Segment integration Sentinel is the Schema for the sentinels API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-sentinellist[$$SentinelList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -1391,24 +1224,6 @@ SentinelConfig defines configuration options for the component |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-sentinellist"] -==== SentinelList - -SentinelList contains a list of Sentinel - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `SentinelList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-sentinel[$$Sentinel$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-sentinelspec"] ==== SentinelSpec @@ -1529,10 +1344,7 @@ SphinxConfig has configuration options for System's sphinx System is the Schema for the systems API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-systemlist[$$SystemList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -1635,24 +1447,6 @@ SystemConfig holds configuration for SystemApp component |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-systemlist"] -==== SystemList - -SystemList contains a list of System - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `SystemList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-system[$$System$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-systemrailsconsolespec"] ==== SystemRailsConsoleSpec @@ -1845,10 +1639,7 @@ ThinkingSpec configures the thinking library for sphinx TwemproxyConfig is the Schema for the twemproxyconfigs API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-twemproxyconfiglist[$$TwemproxyConfigList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -1862,24 +1653,6 @@ TwemproxyConfig is the Schema for the twemproxyconfigs API |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-twemproxyconfiglist"] -==== TwemproxyConfigList - -TwemproxyConfigList contains a list of TwemproxyConfig - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `TwemproxyConfigList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-twemproxyconfig[$$TwemproxyConfig$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-twemproxyconfigspec"] ==== TwemproxyConfigSpec @@ -2034,10 +1807,7 @@ WorkerSpec is the configuration for Backend Worker Zync is the Schema for the zyncs API -.Appears In: -**** -- xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-zynclist[$$ZyncList$$] -**** + [cols="25a,75a", options="header"] |=== @@ -2073,24 +1843,6 @@ ZyncConfig configures app behavior for Zync |=== -[id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-zynclist"] -==== ZyncList - -ZyncList contains a list of Zync - - - -[cols="25a,75a", options="header"] -|=== -| Field | Description -| *`apiVersion`* __string__ | `saas.3scale.net/v1alpha1` -| *`kind`* __string__ | `ZyncList` -| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. - -| *`items`* __xref:{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-zync[$$Zync$$] array__ | -|=== - - [id="{anchor_prefix}-github-com-3scale-saas-operator-api-v1alpha1-zyncrailsspec"] ==== ZyncRailsSpec diff --git a/docs/api-reference/templates/asciidoctor/gv_details.tpl b/docs/api-reference/templates/asciidoctor/gv_details.tpl deleted file mode 100644 index e039850f..00000000 --- a/docs/api-reference/templates/asciidoctor/gv_details.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{- define "gvDetails" -}} -{{- $gv := . -}} -[id="{{ asciidocGroupVersionID $gv | asciidocRenderAnchorID }}"] -=== {{ $gv.GroupVersionString }} - -{{ $gv.Doc }} - -{{- if $gv.Kinds }} -.Resource Types -{{- range $gv.SortedKinds }} -- {{ $gv.TypeForKind . | asciidocRenderTypeLink }} -{{- end }} -{{ end }} - -{{ range $gv.SortedTypes }} -{{ template "type" . }} -{{ end }} - -{{- end -}} diff --git a/docs/api-reference/templates/asciidoctor/gv_list.tpl b/docs/api-reference/templates/asciidoctor/gv_list.tpl deleted file mode 100644 index 41c5f59b..00000000 --- a/docs/api-reference/templates/asciidoctor/gv_list.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{- define "gvList" -}} -{{- $groupVersions := . -}} - -// Generated documentation. Please do not edit. -:anchor_prefix: k8s-api - -[id="{p}-api-reference"] -== API Reference - -.Packages -{{- range $groupVersions }} -- {{ asciidocRenderGVLink . }} -{{- end }} - -{{ range $groupVersions }} -{{ template "gvDetails" . }} -{{ end }} - -{{- end -}} diff --git a/docs/api-reference/templates/asciidoctor/type.tpl b/docs/api-reference/templates/asciidoctor/type.tpl deleted file mode 100644 index 24592b54..00000000 --- a/docs/api-reference/templates/asciidoctor/type.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{- define "type" -}} -{{- $type := . -}} -{{- if asciidocShouldRenderType $type -}} - -[id="{{ asciidocTypeID $type | asciidocRenderAnchorID }}"] -==== {{ $type.Name }} {{ if $type.IsAlias }}({{ asciidocRenderTypeLink $type.UnderlyingType }}) {{ end }} - -{{ $type.Doc }} - -{{ if $type.References -}} -.Appears In: -**** -{{- range $type.SortedReferences }} -- {{ asciidocRenderTypeLink . }} -{{- end }} -**** -{{- end }} - -{{ if $type.Members -}} -[cols="25a,75a", options="header"] -|=== -| Field | Description -{{ if $type.GVK -}} -| *`apiVersion`* __string__ | `{{ $type.GVK.Group }}/{{ $type.GVK.Version }}` -| *`kind`* __string__ | `{{ $type.GVK.Kind }}` -{{ end -}} - -{{ range $type.Members -}} -| *`{{ .Name }}`* __{{ asciidocRenderType .Type }}__ | {{ template "type_members" . }} -{{ end -}} -|=== -{{ end -}} - -{{- end -}} -{{- end -}} diff --git a/docs/api-reference/templates/asciidoctor/type_members.tpl b/docs/api-reference/templates/asciidoctor/type_members.tpl deleted file mode 100644 index 89f6db0e..00000000 --- a/docs/api-reference/templates/asciidoctor/type_members.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{- define "type_members" -}} -{{- $field := . -}} -{{- if eq $field.Name "metadata" -}} -Refer to Kubernetes API documentation for fields of `metadata`. -{{ else -}} -{{ $field.Doc }} -{{- end -}} -{{- end -}} diff --git a/pkg/version/version.go b/pkg/version/version.go index 4ef1f83a..c8b84e01 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,7 +1,7 @@ package version const ( - version string = "v0.17.2" + version string = "v0.17.3" ) // Current returns the current marin3r operator version