...

Text file src/edge-infra.dev/pkg/k8s/eyaml/filesys/testdata/fluxcd/manifests/image-automation-controller.yaml

Documentation: edge-infra.dev/pkg/k8s/eyaml/filesys/testdata/fluxcd/manifests

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    controller-gen.kubebuilder.io/version: v0.5.0
     6  creationTimestamp: null
     7  name: imageupdateautomations.image.toolkit.fluxcd.io
     8spec:
     9  group: image.toolkit.fluxcd.io
    10  names:
    11    kind: ImageUpdateAutomation
    12    listKind: ImageUpdateAutomationList
    13    plural: imageupdateautomations
    14    singular: imageupdateautomation
    15  scope: Namespaced
    16  versions:
    17  - additionalPrinterColumns:
    18    - jsonPath: .status.lastAutomationRunTime
    19      name: Last run
    20      type: string
    21    name: v1alpha1
    22    schema:
    23      openAPIV3Schema:
    24        description: ImageUpdateAutomation is the Schema for the imageupdateautomations
    25          API
    26        properties:
    27          apiVersion:
    28            description: 'APIVersion defines the versioned schema of this representation
    29              of an object. Servers should convert recognized schemas to the latest
    30              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    31            type: string
    32          kind:
    33            description: 'Kind is a string value representing the REST resource this
    34              object represents. Servers may infer this from the endpoint the client
    35              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    36            type: string
    37          metadata:
    38            type: object
    39          spec:
    40            description: ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation
    41            properties:
    42              checkout:
    43                description: Checkout gives the parameters for cloning the git repository,
    44                  ready to make changes.
    45                properties:
    46                  branch:
    47                    description: Branch gives the branch to clone from the git repository.
    48                      If `.spec.push` is not supplied, commits will also be pushed
    49                      to this branch.
    50                    type: string
    51                  gitRepositoryRef:
    52                    description: GitRepositoryRef refers to the resource giving access
    53                      details to a git repository to update files in.
    54                    properties:
    55                      name:
    56                        description: Name of the referent
    57                        type: string
    58                    required:
    59                    - name
    60                    type: object
    61                required:
    62                - branch
    63                - gitRepositoryRef
    64                type: object
    65              commit:
    66                description: Commit specifies how to commit to the git repository.
    67                properties:
    68                  authorEmail:
    69                    description: AuthorEmail gives the email to provide when making
    70                      a commit
    71                    type: string
    72                  authorName:
    73                    description: AuthorName gives the name to provide when making
    74                      a commit
    75                    type: string
    76                  messageTemplate:
    77                    description: MessageTemplate provides a template for the commit
    78                      message, into which will be interpolated the details of the
    79                      change made.
    80                    type: string
    81                  signingKey:
    82                    description: SigningKey provides the option to sign commits with
    83                      a GPG key
    84                    properties:
    85                      secretRef:
    86                        description: SecretRef holds the name to a secret that contains
    87                          a 'git.asc' key corresponding to the ASCII Armored file
    88                          containing the GPG signing keypair as the value. It must
    89                          be in the same namespace as the ImageUpdateAutomation.
    90                        properties:
    91                          name:
    92                            description: Name of the referent
    93                            type: string
    94                        required:
    95                        - name
    96                        type: object
    97                    type: object
    98                required:
    99                - authorEmail
   100                - authorName
   101                type: object
   102              interval:
   103                description: Interval gives an lower bound for how often the automation
   104                  run should be attempted.
   105                type: string
   106              push:
   107                description: Push specifies how and where to push commits made by
   108                  the automation. If missing, commits are pushed (back) to `.spec.checkout.branch`.
   109                properties:
   110                  branch:
   111                    description: Branch specifies that commits should be pushed to
   112                      the branch named. The branch is created using `.spec.checkout.branch`
   113                      as the starting point, if it doesn't already exist.
   114                    type: string
   115                required:
   116                - branch
   117                type: object
   118              suspend:
   119                description: Suspend tells the controller to not run this automation,
   120                  until it is unset (or set to false). Defaults to false.
   121                type: boolean
   122              update:
   123                default:
   124                  strategy: Setters
   125                description: Update gives the specification for how to update the
   126                  files in the repository. This can be left empty, to use the default
   127                  value.
   128                properties:
   129                  path:
   130                    description: Path to the directory containing the manifests to
   131                      be updated. Defaults to 'None', which translates to the root
   132                      path of the GitRepositoryRef.
   133                    type: string
   134                  strategy:
   135                    default: Setters
   136                    description: Strategy names the strategy to be used.
   137                    enum:
   138                    - Setters
   139                    type: string
   140                required:
   141                - strategy
   142                type: object
   143            required:
   144            - checkout
   145            - commit
   146            - interval
   147            type: object
   148          status:
   149            description: ImageUpdateAutomationStatus defines the observed state of
   150              ImageUpdateAutomation
   151            properties:
   152              conditions:
   153                items:
   154                  description: "Condition contains details for one aspect of the current
   155                    state of this API Resource. --- This struct is intended for direct
   156                    use as an array at the field path .status.conditions.  For example,
   157                    type FooStatus struct{     // Represents the observations of a
   158                    foo's current state.     // Known .status.conditions.type are:
   159                    \"Available\", \"Progressing\", and \"Degraded\"     // +patchMergeKey=type
   160                    \    // +patchStrategy=merge     // +listType=map     // +listMapKey=type
   161                    \    Conditions []metav1.Condition `json:\"conditions,omitempty\"
   162                    patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
   163                    \n     // other fields }"
   164                  properties:
   165                    lastTransitionTime:
   166                      description: lastTransitionTime is the last time the condition
   167                        transitioned from one status to another. This should be when
   168                        the underlying condition changed.  If that is not known, then
   169                        using the time when the API field changed is acceptable.
   170                      format: date-time
   171                      type: string
   172                    message:
   173                      description: message is a human readable message indicating
   174                        details about the transition. This may be an empty string.
   175                      maxLength: 32768
   176                      type: string
   177                    observedGeneration:
   178                      description: observedGeneration represents the .metadata.generation
   179                        that the condition was set based upon. For instance, if .metadata.generation
   180                        is currently 12, but the .status.conditions[x].observedGeneration
   181                        is 9, the condition is out of date with respect to the current
   182                        state of the instance.
   183                      format: int64
   184                      minimum: 0
   185                      type: integer
   186                    reason:
   187                      description: reason contains a programmatic identifier indicating
   188                        the reason for the condition's last transition. Producers
   189                        of specific condition types may define expected values and
   190                        meanings for this field, and whether the values are considered
   191                        a guaranteed API. The value should be a CamelCase string.
   192                        This field may not be empty.
   193                      maxLength: 1024
   194                      minLength: 1
   195                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   196                      type: string
   197                    status:
   198                      description: status of the condition, one of True, False, Unknown.
   199                      enum:
   200                      - "True"
   201                      - "False"
   202                      - Unknown
   203                      type: string
   204                    type:
   205                      description: type of condition in CamelCase or in foo.example.com/CamelCase.
   206                        --- Many .condition.type values are consistent across resources
   207                        like Available, but because arbitrary conditions can be useful
   208                        (see .node.status.conditions), the ability to deconflict is
   209                        important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   210                      maxLength: 316
   211                      pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   212                      type: string
   213                  required:
   214                  - lastTransitionTime
   215                  - message
   216                  - reason
   217                  - status
   218                  - type
   219                  type: object
   220                type: array
   221              lastAutomationRunTime:
   222                description: LastAutomationRunTime records the last time the controller
   223                  ran this automation through to completion (even if no updates were
   224                  made).
   225                format: date-time
   226                type: string
   227              lastHandledReconcileAt:
   228                description: LastHandledReconcileAt holds the value of the most recent
   229                  reconcile request value, so a change can be detected.
   230                type: string
   231              lastPushCommit:
   232                description: LastPushCommit records the SHA1 of the last commit made
   233                  by the controller, for this automation object
   234                type: string
   235              lastPushTime:
   236                description: LastPushTime records the time of the last pushed change.
   237                format: date-time
   238                type: string
   239              observedGeneration:
   240                format: int64
   241                type: integer
   242            type: object
   243        type: object
   244    served: true
   245    storage: false
   246    subresources:
   247      status: {}
   248  - additionalPrinterColumns:
   249    - jsonPath: .status.lastAutomationRunTime
   250      name: Last run
   251      type: string
   252    name: v1alpha2
   253    schema:
   254      openAPIV3Schema:
   255        description: ImageUpdateAutomation is the Schema for the imageupdateautomations
   256          API
   257        properties:
   258          apiVersion:
   259            description: 'APIVersion defines the versioned schema of this representation
   260              of an object. Servers should convert recognized schemas to the latest
   261              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   262            type: string
   263          kind:
   264            description: 'Kind is a string value representing the REST resource this
   265              object represents. Servers may infer this from the endpoint the client
   266              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   267            type: string
   268          metadata:
   269            type: object
   270          spec:
   271            description: ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation
   272            properties:
   273              git:
   274                description: GitSpec contains all the git-specific definitions. This
   275                  is technically optional, but in practice mandatory until there are
   276                  other kinds of source allowed.
   277                properties:
   278                  checkout:
   279                    description: Checkout gives the parameters for cloning the git
   280                      repository, ready to make changes. If not present, the `spec.ref`
   281                      field from the referenced `GitRepository` or its default will
   282                      be used.
   283                    properties:
   284                      ref:
   285                        description: Reference gives a branch, tag or commit to clone
   286                          from the Git repository.
   287                        properties:
   288                          branch:
   289                            description: The Git branch to checkout, defaults to master.
   290                            type: string
   291                          commit:
   292                            description: The Git commit SHA to checkout, if specified
   293                              Tag filters will be ignored.
   294                            type: string
   295                          semver:
   296                            description: The Git tag semver expression, takes precedence
   297                              over Tag.
   298                            type: string
   299                          tag:
   300                            description: The Git tag to checkout, takes precedence
   301                              over Branch.
   302                            type: string
   303                        type: object
   304                    required:
   305                    - ref
   306                    type: object
   307                  commit:
   308                    description: Commit specifies how to commit to the git repository.
   309                    properties:
   310                      author:
   311                        description: Author gives the email and optionally the name
   312                          to use as the author of commits.
   313                        properties:
   314                          email:
   315                            description: Email gives the email to provide when making
   316                              a commit.
   317                            type: string
   318                          name:
   319                            description: Name gives the name to provide when making
   320                              a commit.
   321                            type: string
   322                        required:
   323                        - email
   324                        type: object
   325                      messageTemplate:
   326                        description: MessageTemplate provides a template for the commit
   327                          message, into which will be interpolated the details of
   328                          the change made.
   329                        type: string
   330                      signingKey:
   331                        description: SigningKey provides the option to sign commits
   332                          with a GPG key
   333                        properties:
   334                          secretRef:
   335                            description: SecretRef holds the name to a secret that
   336                              contains a 'git.asc' key corresponding to the ASCII
   337                              Armored file containing the GPG signing keypair as the
   338                              value. It must be in the same namespace as the ImageUpdateAutomation.
   339                            properties:
   340                              name:
   341                                description: Name of the referent
   342                                type: string
   343                            required:
   344                            - name
   345                            type: object
   346                        type: object
   347                    required:
   348                    - author
   349                    type: object
   350                  push:
   351                    description: Push specifies how and where to push commits made
   352                      by the automation. If missing, commits are pushed (back) to
   353                      `.spec.checkout.branch` or its default.
   354                    properties:
   355                      branch:
   356                        description: Branch specifies that commits should be pushed
   357                          to the branch named. The branch is created using `.spec.checkout.branch`
   358                          as the starting point, if it doesn't already exist.
   359                        type: string
   360                    required:
   361                    - branch
   362                    type: object
   363                required:
   364                - commit
   365                type: object
   366              interval:
   367                description: Interval gives an lower bound for how often the automation
   368                  run should be attempted.
   369                type: string
   370              sourceRef:
   371                description: SourceRef refers to the resource giving access details
   372                  to a git repository.
   373                properties:
   374                  apiVersion:
   375                    description: API version of the referent
   376                    type: string
   377                  kind:
   378                    default: GitRepository
   379                    description: Kind of the referent
   380                    enum:
   381                    - GitRepository
   382                    type: string
   383                  name:
   384                    description: Name of the referent
   385                    type: string
   386                required:
   387                - kind
   388                - name
   389                type: object
   390              suspend:
   391                description: Suspend tells the controller to not run this automation,
   392                  until it is unset (or set to false). Defaults to false.
   393                type: boolean
   394              update:
   395                default:
   396                  strategy: Setters
   397                description: Update gives the specification for how to update the
   398                  files in the repository. This can be left empty, to use the default
   399                  value.
   400                properties:
   401                  path:
   402                    description: Path to the directory containing the manifests to
   403                      be updated. Defaults to 'None', which translates to the root
   404                      path of the GitRepositoryRef.
   405                    type: string
   406                  strategy:
   407                    default: Setters
   408                    description: Strategy names the strategy to be used.
   409                    enum:
   410                    - Setters
   411                    type: string
   412                required:
   413                - strategy
   414                type: object
   415            required:
   416            - interval
   417            - sourceRef
   418            type: object
   419          status:
   420            description: ImageUpdateAutomationStatus defines the observed state of
   421              ImageUpdateAutomation
   422            properties:
   423              conditions:
   424                items:
   425                  description: "Condition contains details for one aspect of the current
   426                    state of this API Resource. --- This struct is intended for direct
   427                    use as an array at the field path .status.conditions.  For example,
   428                    type FooStatus struct{     // Represents the observations of a
   429                    foo's current state.     // Known .status.conditions.type are:
   430                    \"Available\", \"Progressing\", and \"Degraded\"     // +patchMergeKey=type
   431                    \    // +patchStrategy=merge     // +listType=map     // +listMapKey=type
   432                    \    Conditions []metav1.Condition `json:\"conditions,omitempty\"
   433                    patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
   434                    \n     // other fields }"
   435                  properties:
   436                    lastTransitionTime:
   437                      description: lastTransitionTime is the last time the condition
   438                        transitioned from one status to another. This should be when
   439                        the underlying condition changed.  If that is not known, then
   440                        using the time when the API field changed is acceptable.
   441                      format: date-time
   442                      type: string
   443                    message:
   444                      description: message is a human readable message indicating
   445                        details about the transition. This may be an empty string.
   446                      maxLength: 32768
   447                      type: string
   448                    observedGeneration:
   449                      description: observedGeneration represents the .metadata.generation
   450                        that the condition was set based upon. For instance, if .metadata.generation
   451                        is currently 12, but the .status.conditions[x].observedGeneration
   452                        is 9, the condition is out of date with respect to the current
   453                        state of the instance.
   454                      format: int64
   455                      minimum: 0
   456                      type: integer
   457                    reason:
   458                      description: reason contains a programmatic identifier indicating
   459                        the reason for the condition's last transition. Producers
   460                        of specific condition types may define expected values and
   461                        meanings for this field, and whether the values are considered
   462                        a guaranteed API. The value should be a CamelCase string.
   463                        This field may not be empty.
   464                      maxLength: 1024
   465                      minLength: 1
   466                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   467                      type: string
   468                    status:
   469                      description: status of the condition, one of True, False, Unknown.
   470                      enum:
   471                      - "True"
   472                      - "False"
   473                      - Unknown
   474                      type: string
   475                    type:
   476                      description: type of condition in CamelCase or in foo.example.com/CamelCase.
   477                        --- Many .condition.type values are consistent across resources
   478                        like Available, but because arbitrary conditions can be useful
   479                        (see .node.status.conditions), the ability to deconflict is
   480                        important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   481                      maxLength: 316
   482                      pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   483                      type: string
   484                  required:
   485                  - lastTransitionTime
   486                  - message
   487                  - reason
   488                  - status
   489                  - type
   490                  type: object
   491                type: array
   492              lastAutomationRunTime:
   493                description: LastAutomationRunTime records the last time the controller
   494                  ran this automation through to completion (even if no updates were
   495                  made).
   496                format: date-time
   497                type: string
   498              lastHandledReconcileAt:
   499                description: LastHandledReconcileAt holds the value of the most recent
   500                  reconcile request value, so a change can be detected.
   501                type: string
   502              lastPushCommit:
   503                description: LastPushCommit records the SHA1 of the last commit made
   504                  by the controller, for this automation object
   505                type: string
   506              lastPushTime:
   507                description: LastPushTime records the time of the last pushed change.
   508                format: date-time
   509                type: string
   510              observedGeneration:
   511                format: int64
   512                type: integer
   513            type: object
   514        type: object
   515    served: true
   516    storage: false
   517    subresources:
   518      status: {}
   519  - additionalPrinterColumns:
   520    - jsonPath: .status.lastAutomationRunTime
   521      name: Last run
   522      type: string
   523    name: v1beta1
   524    schema:
   525      openAPIV3Schema:
   526        description: ImageUpdateAutomation is the Schema for the imageupdateautomations
   527          API
   528        properties:
   529          apiVersion:
   530            description: 'APIVersion defines the versioned schema of this representation
   531              of an object. Servers should convert recognized schemas to the latest
   532              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   533            type: string
   534          kind:
   535            description: 'Kind is a string value representing the REST resource this
   536              object represents. Servers may infer this from the endpoint the client
   537              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   538            type: string
   539          metadata:
   540            type: object
   541          spec:
   542            description: ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation
   543            properties:
   544              git:
   545                description: GitSpec contains all the git-specific definitions. This
   546                  is technically optional, but in practice mandatory until there are
   547                  other kinds of source allowed.
   548                properties:
   549                  checkout:
   550                    description: Checkout gives the parameters for cloning the git
   551                      repository, ready to make changes. If not present, the `spec.ref`
   552                      field from the referenced `GitRepository` or its default will
   553                      be used.
   554                    properties:
   555                      ref:
   556                        description: Reference gives a branch, tag or commit to clone
   557                          from the Git repository.
   558                        properties:
   559                          branch:
   560                            description: The Git branch to checkout, defaults to master.
   561                            type: string
   562                          commit:
   563                            description: The Git commit SHA to checkout, if specified
   564                              Tag filters will be ignored.
   565                            type: string
   566                          semver:
   567                            description: The Git tag semver expression, takes precedence
   568                              over Tag.
   569                            type: string
   570                          tag:
   571                            description: The Git tag to checkout, takes precedence
   572                              over Branch.
   573                            type: string
   574                        type: object
   575                    required:
   576                    - ref
   577                    type: object
   578                  commit:
   579                    description: Commit specifies how to commit to the git repository.
   580                    properties:
   581                      author:
   582                        description: Author gives the email and optionally the name
   583                          to use as the author of commits.
   584                        properties:
   585                          email:
   586                            description: Email gives the email to provide when making
   587                              a commit.
   588                            type: string
   589                          name:
   590                            description: Name gives the name to provide when making
   591                              a commit.
   592                            type: string
   593                        required:
   594                        - email
   595                        type: object
   596                      messageTemplate:
   597                        description: MessageTemplate provides a template for the commit
   598                          message, into which will be interpolated the details of
   599                          the change made.
   600                        type: string
   601                      signingKey:
   602                        description: SigningKey provides the option to sign commits
   603                          with a GPG key
   604                        properties:
   605                          secretRef:
   606                            description: SecretRef holds the name to a secret that
   607                              contains a 'git.asc' key corresponding to the ASCII
   608                              Armored file containing the GPG signing keypair as the
   609                              value. It must be in the same namespace as the ImageUpdateAutomation.
   610                            properties:
   611                              name:
   612                                description: Name of the referent
   613                                type: string
   614                            required:
   615                            - name
   616                            type: object
   617                        type: object
   618                    required:
   619                    - author
   620                    type: object
   621                  push:
   622                    description: Push specifies how and where to push commits made
   623                      by the automation. If missing, commits are pushed (back) to
   624                      `.spec.checkout.branch` or its default.
   625                    properties:
   626                      branch:
   627                        description: Branch specifies that commits should be pushed
   628                          to the branch named. The branch is created using `.spec.checkout.branch`
   629                          as the starting point, if it doesn't already exist.
   630                        type: string
   631                    required:
   632                    - branch
   633                    type: object
   634                required:
   635                - commit
   636                type: object
   637              interval:
   638                description: Interval gives an lower bound for how often the automation
   639                  run should be attempted.
   640                type: string
   641              sourceRef:
   642                description: SourceRef refers to the resource giving access details
   643                  to a git repository.
   644                properties:
   645                  apiVersion:
   646                    description: API version of the referent
   647                    type: string
   648                  kind:
   649                    default: GitRepository
   650                    description: Kind of the referent
   651                    enum:
   652                    - GitRepository
   653                    type: string
   654                  name:
   655                    description: Name of the referent
   656                    type: string
   657                required:
   658                - kind
   659                - name
   660                type: object
   661              suspend:
   662                description: Suspend tells the controller to not run this automation,
   663                  until it is unset (or set to false). Defaults to false.
   664                type: boolean
   665              update:
   666                default:
   667                  strategy: Setters
   668                description: Update gives the specification for how to update the
   669                  files in the repository. This can be left empty, to use the default
   670                  value.
   671                properties:
   672                  path:
   673                    description: Path to the directory containing the manifests to
   674                      be updated. Defaults to 'None', which translates to the root
   675                      path of the GitRepositoryRef.
   676                    type: string
   677                  strategy:
   678                    default: Setters
   679                    description: Strategy names the strategy to be used.
   680                    enum:
   681                    - Setters
   682                    type: string
   683                required:
   684                - strategy
   685                type: object
   686            required:
   687            - interval
   688            - sourceRef
   689            type: object
   690          status:
   691            description: ImageUpdateAutomationStatus defines the observed state of
   692              ImageUpdateAutomation
   693            properties:
   694              conditions:
   695                items:
   696                  description: "Condition contains details for one aspect of the current
   697                    state of this API Resource. --- This struct is intended for direct
   698                    use as an array at the field path .status.conditions.  For example,
   699                    type FooStatus struct{     // Represents the observations of a
   700                    foo's current state.     // Known .status.conditions.type are:
   701                    \"Available\", \"Progressing\", and \"Degraded\"     // +patchMergeKey=type
   702                    \    // +patchStrategy=merge     // +listType=map     // +listMapKey=type
   703                    \    Conditions []metav1.Condition `json:\"conditions,omitempty\"
   704                    patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
   705                    \n     // other fields }"
   706                  properties:
   707                    lastTransitionTime:
   708                      description: lastTransitionTime is the last time the condition
   709                        transitioned from one status to another. This should be when
   710                        the underlying condition changed.  If that is not known, then
   711                        using the time when the API field changed is acceptable.
   712                      format: date-time
   713                      type: string
   714                    message:
   715                      description: message is a human readable message indicating
   716                        details about the transition. This may be an empty string.
   717                      maxLength: 32768
   718                      type: string
   719                    observedGeneration:
   720                      description: observedGeneration represents the .metadata.generation
   721                        that the condition was set based upon. For instance, if .metadata.generation
   722                        is currently 12, but the .status.conditions[x].observedGeneration
   723                        is 9, the condition is out of date with respect to the current
   724                        state of the instance.
   725                      format: int64
   726                      minimum: 0
   727                      type: integer
   728                    reason:
   729                      description: reason contains a programmatic identifier indicating
   730                        the reason for the condition's last transition. Producers
   731                        of specific condition types may define expected values and
   732                        meanings for this field, and whether the values are considered
   733                        a guaranteed API. The value should be a CamelCase string.
   734                        This field may not be empty.
   735                      maxLength: 1024
   736                      minLength: 1
   737                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   738                      type: string
   739                    status:
   740                      description: status of the condition, one of True, False, Unknown.
   741                      enum:
   742                      - "True"
   743                      - "False"
   744                      - Unknown
   745                      type: string
   746                    type:
   747                      description: type of condition in CamelCase or in foo.example.com/CamelCase.
   748                        --- Many .condition.type values are consistent across resources
   749                        like Available, but because arbitrary conditions can be useful
   750                        (see .node.status.conditions), the ability to deconflict is
   751                        important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   752                      maxLength: 316
   753                      pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   754                      type: string
   755                  required:
   756                  - lastTransitionTime
   757                  - message
   758                  - reason
   759                  - status
   760                  - type
   761                  type: object
   762                type: array
   763              lastAutomationRunTime:
   764                description: LastAutomationRunTime records the last time the controller
   765                  ran this automation through to completion (even if no updates were
   766                  made).
   767                format: date-time
   768                type: string
   769              lastHandledReconcileAt:
   770                description: LastHandledReconcileAt holds the value of the most recent
   771                  reconcile request value, so a change can be detected.
   772                type: string
   773              lastPushCommit:
   774                description: LastPushCommit records the SHA1 of the last commit made
   775                  by the controller, for this automation object
   776                type: string
   777              lastPushTime:
   778                description: LastPushTime records the time of the last pushed change.
   779                format: date-time
   780                type: string
   781              observedGeneration:
   782                format: int64
   783                type: integer
   784            type: object
   785        type: object
   786    served: true
   787    storage: true
   788    subresources:
   789      status: {}
   790status:
   791  acceptedNames:
   792    kind: ""
   793    plural: ""
   794  conditions: []
   795  storedVersions: []
   796---
   797apiVersion: v1
   798kind: ServiceAccount
   799metadata:
   800  name: image-automation-controller
   801---
   802apiVersion: apps/v1
   803kind: Deployment
   804metadata:
   805  labels:
   806    control-plane: controller
   807  name: image-automation-controller
   808spec:
   809  replicas: 1
   810  selector:
   811    matchLabels:
   812      app: image-automation-controller
   813  template:
   814    metadata:
   815      annotations:
   816        prometheus.io/port: "8080"
   817        prometheus.io/scrape: "true"
   818      labels:
   819        app: image-automation-controller
   820    spec:
   821      containers:
   822      - args:
   823        - --events-addr=http://notification-controller/
   824        - --watch-all-namespaces
   825        - --log-level=info
   826        - --log-encoding=json
   827        - --enable-leader-election
   828        env:
   829        - name: RUNTIME_NAMESPACE
   830          valueFrom:
   831            fieldRef:
   832              fieldPath: metadata.namespace
   833        image: fluxcd/image-automation-controller:v0.17.0
   834        imagePullPolicy: IfNotPresent
   835        livenessProbe:
   836          httpGet:
   837            path: /healthz
   838            port: healthz
   839        name: manager
   840        ports:
   841        - containerPort: 8080
   842          name: http-prom
   843        - containerPort: 9440
   844          name: healthz
   845          protocol: TCP
   846        readinessProbe:
   847          httpGet:
   848            path: /readyz
   849            port: healthz
   850        resources:
   851          limits:
   852            cpu: 1000m
   853            memory: 1Gi
   854          requests:
   855            cpu: 100m
   856            memory: 64Mi
   857        securityContext:
   858          allowPrivilegeEscalation: false
   859          readOnlyRootFilesystem: true
   860        volumeMounts:
   861        - mountPath: /tmp
   862          name: temp
   863      securityContext:
   864        fsGroup: 1337
   865      serviceAccountName: image-automation-controller
   866      terminationGracePeriodSeconds: 10
   867      volumes:
   868      - emptyDir: {}
   869        name: temp

View as plain text