File tree Expand file tree Collapse file tree 4 files changed +37
-9
lines changed Expand file tree Collapse file tree 4 files changed +37
-9
lines changed Original file line number Diff line number Diff line change @@ -475,6 +475,22 @@ spec:
475475 - type : integer
476476 - type : string
477477 x-kubernetes-int-or-string : true
478+ metadata :
479+ description : |-
480+ EmbeddedObjectMetaWithAnnotations defines the metadata which can be attached
481+ to a resource. It's a slimmed down version of metav1.ObjectMeta only
482+ containing annotations.
483+ properties :
484+ annotations :
485+ additionalProperties :
486+ type : string
487+ description : |-
488+ Annotations is an unstructured key value map stored with a resource that may be
489+ set by external tools to store and retrieve arbitrary metadata. They are not
490+ queryable and should be preserved when modifying objects.
491+ More info: http://kubernetes.io/docs/user-guide/annotations
492+ type : object
493+ type : object
478494 required :
479495 - backendPort
480496 type : object
Original file line number Diff line number Diff line change 6767 - type: integer
6868 - type: string
6969 x-kubernetes-int-or-string: true
70+ metadata:
71+ description: |-
72+ EmbeddedObjectMetaWithAnnotations defines the metadata which can be attached
73+ to a resource. It's a slimmed down version of metav1.ObjectMeta only
74+ containing annotations.
75+ properties:
76+ annotations:
77+ additionalProperties:
78+ type: string
79+ description: |-
80+ Annotations is an unstructured key value map stored with a resource that may be
81+ set by external tools to store and retrieve arbitrary metadata. They are not
82+ queryable and should be preserved when modifying objects.
83+ More info: http://kubernetes.io/docs/user-guide/annotations
84+ type: object
85+ type: object
7086 required:
7187 - backendPort
7288 type: object
@@ -3589,12 +3605,6 @@ spec:
35893605 Must be set if and only if type is "Localhost".
35903606 type: string
35913607 type:
3592- description: |-
3593- type indicates which kind of AppArmor profile will be applied.
3594- Valid options are:
3595- Localhost - a profile pre-loaded on the node.
3596- RuntimeDefault - the container runtime's default profile.
3597- Unconfined - no AppArmor enforcement.
35983608 type: string
35993609 required:
36003610 - type
Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ func (s *StackSetIngressSpec) GetAnnotations() map[string]string {
124124// backendport for ingress managed outside of stackset.
125125// +k8s:deepcopy-gen=true
126126type StackSetExternalIngressSpec struct {
127- BackendPort intstr.IntOrString `json:"backendPort"`
127+ EmbeddedObjectMetaWithAnnotations `json:"metadata,omitempty"`
128+ BackendPort intstr.IntOrString `json:"backendPort"`
128129}
129130
130131// RouteGroupSpec defines the specification for defining a RouteGroup attached
You can’t perform that action at this time.
0 commit comments