...

Text file src/edge-infra.dev/test/fixtures/warehouse/layout/blobs/sha256/d82ae90aca369a00741a2ded91942464a24fae794afd1562ddacc0b3623bb4f4

Documentation: edge-infra.dev/test/fixtures/warehouse/layout/blobs/sha256

     1apiVersion: v1
     2kind: Namespace
     3metadata:
     4  name: pxe
     5  labels:
     6    workload.edge.ncr.com: platform
     7  annotations:
     8    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
     9    pallet.edge.ncr.com/name: pxe
    10    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
    11    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
    12    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
    13    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
    14---
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  name: dhcphosts.dnsmasq.kvaps.cf
    19  annotations:
    20    controller-gen.kubebuilder.io/version: v0.8.0
    21    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
    22    pallet.edge.ncr.com/name: pxe
    23    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
    24    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
    25    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
    26    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
    27  labels: {}
    28spec:
    29  group: dnsmasq.kvaps.cf
    30  names:
    31    kind: DhcpHosts
    32    listKind: DhcpHostsList
    33    plural: dhcphosts
    34    singular: dhcphosts
    35  scope: Namespaced
    36  versions:
    37  - name: v1beta1
    38    additionalPrinterColumns:
    39    - name: Controller
    40      type: string
    41      jsonPath: .spec.controller
    42    - name: Age
    43      type: date
    44      jsonPath: .metadata.creationTimestamp
    45    schema:
    46      openAPIV3Schema:
    47        type: object
    48        description: DhcpHosts is the Schema for the dhcphosts API
    49        properties:
    50          apiVersion:
    51            type: string
    52            description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    53          kind:
    54            type: string
    55            description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    56          metadata:
    57            type: object
    58          spec:
    59            type: object
    60            description: DhcpHostsSpec defines the desired state of DhcpHosts
    61            properties:
    62              controller:
    63                type: string
    64              hosts:
    65                type: array
    66                items:
    67                  type: object
    68                  description: DnsmasqDhcpHost holds the mapping between Macs and IP that will be added to dnsmasq dhcp-hosts file.
    69                  properties:
    70                    hostname:
    71                      type: string
    72                    clientID:
    73                      type: string
    74                    ignore:
    75                      type: boolean
    76                    ip:
    77                      type: string
    78                    leaseTime:
    79                      type: string
    80                    macs:
    81                      type: array
    82                      items:
    83                        type: string
    84                    setTags:
    85                      type: array
    86                      items:
    87                        type: string
    88                    tags:
    89                      type: array
    90                      items:
    91                        type: string
    92          status:
    93            type: object
    94            description: DhcpHostsStatus defines the observed state of DhcpHosts
    95    served: true
    96    storage: true
    97    subresources: {}
    98---
    99apiVersion: apiextensions.k8s.io/v1
   100kind: CustomResourceDefinition
   101metadata:
   102  name: dhcpoptions.dnsmasq.kvaps.cf
   103  annotations:
   104    controller-gen.kubebuilder.io/version: v0.8.0
   105    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   106    pallet.edge.ncr.com/name: pxe
   107    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   108    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   109    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   110    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   111  labels: {}
   112spec:
   113  group: dnsmasq.kvaps.cf
   114  names:
   115    kind: DhcpOptions
   116    listKind: DhcpOptionsList
   117    plural: dhcpoptions
   118    singular: dhcpoptions
   119  scope: Namespaced
   120  versions:
   121  - name: v1beta1
   122    additionalPrinterColumns:
   123    - name: Controller
   124      type: string
   125      jsonPath: .spec.controller
   126    - name: Age
   127      type: date
   128      jsonPath: .metadata.creationTimestamp
   129    schema:
   130      openAPIV3Schema:
   131        type: object
   132        description: DhcpOptions is the Schema for the dhcpoptions API
   133        properties:
   134          apiVersion:
   135            type: string
   136            description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   137          kind:
   138            type: string
   139            description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   140          metadata:
   141            type: object
   142          spec:
   143            type: object
   144            description: DhcpOptionsSpec defines the desired state of DhcpOptions
   145            properties:
   146              controller:
   147                type: string
   148              options:
   149                type: array
   150                items:
   151                  type: object
   152                  description: DhcpOption defines dhcp-option for dnsmasq
   153                  properties:
   154                    encap:
   155                      type: string
   156                    key:
   157                      type: string
   158                      pattern: ^([0-9]+|option:.+|option6:.+)$
   159                    leaseTime:
   160                      type: string
   161                    tags:
   162                      type: array
   163                      items:
   164                        type: string
   165                    values:
   166                      type: array
   167                      items:
   168                        type: string
   169                    viEncap:
   170                      type: string
   171                  required:
   172                  - key
   173                  - values
   174          status:
   175            type: object
   176            description: DhcpOptionsStatus defines the observed state of DhcpOptions
   177    served: true
   178    storage: true
   179    subresources: {}
   180---
   181apiVersion: apiextensions.k8s.io/v1
   182kind: CustomResourceDefinition
   183metadata:
   184  name: dnshosts.dnsmasq.kvaps.cf
   185  annotations:
   186    controller-gen.kubebuilder.io/version: v0.8.0
   187    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   188    pallet.edge.ncr.com/name: pxe
   189    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   190    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   191    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   192    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   193  labels: {}
   194spec:
   195  group: dnsmasq.kvaps.cf
   196  names:
   197    kind: DnsHosts
   198    listKind: DnsHostsList
   199    plural: dnshosts
   200    singular: dnshosts
   201  scope: Namespaced
   202  versions:
   203  - name: v1beta1
   204    additionalPrinterColumns:
   205    - name: Controller
   206      type: string
   207      jsonPath: .spec.controller
   208    - name: Age
   209      type: date
   210      jsonPath: .metadata.creationTimestamp
   211    schema:
   212      openAPIV3Schema:
   213        type: object
   214        description: DnsHosts is the Schema for the dnshosts API
   215        properties:
   216          apiVersion:
   217            type: string
   218            description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   219          kind:
   220            type: string
   221            description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   222          metadata:
   223            type: object
   224          spec:
   225            type: object
   226            description: DnsHostsSpec defines the desired state of DnsHosts
   227            properties:
   228              controller:
   229                type: string
   230              hosts:
   231                type: array
   232                items:
   233                  type: object
   234                  description: DnsHost holds the mapping between IP and hostnames that will be added to dnsmasq hosts file.
   235                  properties:
   236                    hostnames:
   237                      type: array
   238                      description: Hostnames for the above IP address.
   239                      items:
   240                        type: string
   241                    ip:
   242                      type: string
   243                      description: IP address of the host file entry.
   244                  required:
   245                  - ip
   246          status:
   247            type: object
   248            description: DnsHostsStatus defines the observed state of DnsHosts
   249    served: true
   250    storage: true
   251    subresources: {}
   252---
   253apiVersion: apiextensions.k8s.io/v1
   254kind: CustomResourceDefinition
   255metadata:
   256  name: dnsmasqoptions.dnsmasq.kvaps.cf
   257  annotations:
   258    controller-gen.kubebuilder.io/version: v0.8.0
   259    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   260    pallet.edge.ncr.com/name: pxe
   261    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   262    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   263    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   264    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   265  labels: {}
   266spec:
   267  group: dnsmasq.kvaps.cf
   268  names:
   269    kind: DnsmasqOptions
   270    listKind: DnsmasqOptionsList
   271    plural: dnsmasqoptions
   272    singular: dnsmasqoptions
   273  scope: Namespaced
   274  versions:
   275  - name: v1beta1
   276    additionalPrinterColumns:
   277    - name: Controller
   278      type: string
   279      jsonPath: .spec.controller
   280    - name: Age
   281      type: date
   282      jsonPath: .metadata.creationTimestamp
   283    schema:
   284      openAPIV3Schema:
   285        type: object
   286        description: DnsmasqOptions is the Schema for the dnsmasqoptions API
   287        properties:
   288          apiVersion:
   289            type: string
   290            description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   291          kind:
   292            type: string
   293            description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   294          metadata:
   295            type: object
   296          spec:
   297            type: object
   298            description: DnsmasqOptionsSpec defines the desired state of DnsmasqOptions
   299            properties:
   300              controller:
   301                type: string
   302              options:
   303                type: array
   304                items:
   305                  type: object
   306                  description: DnsmasqOption defines option for dnsmasq
   307                  properties:
   308                    key:
   309                      type: string
   310                      enum:
   311                      - dhcp-range
   312                      - dhcp-host
   313                      - dhcp-userclass
   314                      - dhcp-circuitid
   315                      - dhcp-remoteid
   316                      - dhcp-subscrid
   317                      - dhcp-ignore
   318                      - dhcp-broadcast
   319                      - mx-host
   320                      - dhcp-boot
   321                      - dhcp-option
   322                      - dhcp-option-force
   323                      - server
   324                      - rev-server
   325                      - local
   326                      - domain
   327                      - dhcp-vendorclass
   328                      - alias
   329                      - dhcp-vendorclass
   330                      - srv-host
   331                      - txt-record
   332                      - ptr-record
   333                      - bootp-dynamic
   334                      - dhcp-mac
   335                      - dhcp-ignore-names
   336                      - rebind-domain-ok
   337                      - dhcp-match
   338                      - dhcp-name-match
   339                      - tag-if
   340                      - naptr-record
   341                      - dhcp-generate-names
   342                      - cname
   343                      - pxe-service
   344                      - add-mac
   345                      - dhcp-duid
   346                      - host-record
   347                      - caa-record
   348                      - dns-rr
   349                      - auth-zone
   350                      - synth-domain
   351                    values:
   352                      type: array
   353                      items:
   354                        type: string
   355                  required:
   356                  - key
   357                  - values
   358          status:
   359            type: object
   360            description: DnsmasqOptionsStatus defines the observed state of DnsmasqOptions
   361    served: true
   362    storage: true
   363    subresources: {}
   364---
   365apiVersion: v1
   366kind: ServiceAccount
   367metadata:
   368  name: dnsmasq-controller
   369  namespace: pxe
   370  annotations:
   371    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   372    pallet.edge.ncr.com/name: pxe
   373    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   374    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   375    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   376    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   377  labels: {}
   378---
   379apiVersion: rbac.authorization.k8s.io/v1
   380kind: Role
   381metadata:
   382  name: dnsmasq-controller-leader-election
   383  namespace: pxe
   384  annotations:
   385    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   386    pallet.edge.ncr.com/name: pxe
   387    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   388    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   389    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   390    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   391  labels: {}
   392rules:
   393- resources:
   394  - configmaps
   395  apiGroups:
   396  - ""
   397  verbs:
   398  - get
   399  - list
   400  - watch
   401  - create
   402  - update
   403  - patch
   404  - delete
   405- resources:
   406  - configmaps/status
   407  apiGroups:
   408  - ""
   409  verbs:
   410  - get
   411  - update
   412  - patch
   413- resources:
   414  - events
   415  apiGroups:
   416  - ""
   417  verbs:
   418  - create
   419---
   420apiVersion: rbac.authorization.k8s.io/v1
   421kind: ClusterRole
   422metadata:
   423  name: dnsmasq-controller
   424  annotations:
   425    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   426    pallet.edge.ncr.com/name: pxe
   427    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   428    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   429    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   430    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   431  labels: {}
   432rules:
   433- resources:
   434  - dhcphosts
   435  - dhcpoptions
   436  - dnsmasqoptions
   437  apiGroups:
   438  - dnsmasq.kvaps.cf
   439  verbs:
   440  - get
   441  - list
   442  - watch
   443  - create
   444  - delete
   445  - update
   446- resources:
   447  - dnshosts
   448  apiGroups:
   449  - dnsmasq.kvaps.cf
   450  verbs:
   451  - get
   452  - list
   453  - watch
   454- resources:
   455  - ienodes
   456  apiGroups:
   457  - dsds.edge.ncr.com
   458  verbs:
   459  - get
   460  - list
   461  - watch
   462- resources:
   463  - configmaps
   464  apiGroups:
   465  - ""
   466  verbs:
   467  - get
   468  - list
   469  - watch
   470- resources:
   471  - deployments
   472  apiGroups:
   473  - apps
   474  verbs:
   475  - get
   476  - create
   477  - patch
   478  - delete
   479  - list
   480  - update
   481  - watch
   482- resources:
   483  - services
   484  apiGroups:
   485  - ""
   486  verbs:
   487  - get
   488  - create
   489  - delete
   490  - list
   491  - watch
   492- resources:
   493  - secrets
   494  apiGroups:
   495  - ""
   496  verbs:
   497  - get
   498  - list
   499  - watch
   500- resources:
   501  - nodes
   502  apiGroups:
   503  - ""
   504  verbs:
   505  - get
   506  - list
   507  - watch
   508---
   509apiVersion: rbac.authorization.k8s.io/v1
   510kind: RoleBinding
   511metadata:
   512  name: dnsmasq-controller-leader-election
   513  namespace: pxe
   514  annotations:
   515    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   516    pallet.edge.ncr.com/name: pxe
   517    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   518    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   519    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   520    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   521  labels: {}
   522roleRef:
   523  name: dnsmasq-controller-leader-election
   524  kind: Role
   525  apiGroup: rbac.authorization.k8s.io
   526subjects:
   527- name: dnsmasq-controller
   528  namespace: pxe
   529  kind: ServiceAccount
   530---
   531apiVersion: rbac.authorization.k8s.io/v1
   532kind: ClusterRoleBinding
   533metadata:
   534  name: dnsmasq-controller
   535  annotations:
   536    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   537    pallet.edge.ncr.com/name: pxe
   538    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   539    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   540    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   541    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   542  labels: {}
   543roleRef:
   544  name: dnsmasq-controller
   545  kind: ClusterRole
   546  apiGroup: rbac.authorization.k8s.io
   547subjects:
   548- name: dnsmasq-controller
   549  namespace: pxe
   550  kind: ServiceAccount
   551---
   552apiVersion: v1
   553kind: ConfigMap
   554metadata:
   555  name: ipxe-template
   556  namespace: pxe
   557  annotations:
   558    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   559    pallet.edge.ncr.com/name: pxe
   560    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   561    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   562    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   563    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   564  labels: {}
   565data:
   566  IPXE_LOCATION: /opt/nodes
   567  IPXE_TEMPLATE_LOCATION: /etc/node-ipxe-template.tmpl
   568  node-ipxe-template.tmpl: |
   569    #!ipxe
   570    echo iPXE NCR {{.IEN_NAME}}
   571    show unixtime
   572    kernel http://{{.VIP}}:30095/vmlinuz initrd=initrd fetch=http://{{.VIP}}:30095/filesystem.squashfs BOOTIF={{.MAC}} ip={{.NODE_IP}}::{{.GATEWAY_4}}:{{.SUBNET_MASK}}:{{.IEN_NAME}}::off boot=live components locale=en_GB.UTF-8 setkmap=gb mirror/country=GB hostname=pxe-{{.IEN_NAME}} ncr/opmode=install {{.NCR_ACTIVATION_CODE}} ncr/edge_endpoint={{.API_ENDPOINT}}
   573    initrd http://{{.VIP}}:30095/initrd
   574    # shell
   575    boot ||
   576    # If everything failed, give the user some options
   577    echo Boot failed
   578    prompt --key 0x02 --timeout 2000 Press Ctrl-B for the iPXE command line... && shell ||
   579---
   580apiVersion: apps/v1
   581kind: Deployment
   582metadata:
   583  name: dnsmasq-controller
   584  labels:
   585    app: dnsmasq-controller
   586    role: dhcp
   587    platform.edge.ncr.com/component: pxe-controller
   588  namespace: pxe
   589  annotations:
   590    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   591    pallet.edge.ncr.com/name: pxe
   592    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   593    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   594    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   595    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   596spec:
   597  selector:
   598    matchLabels:
   599      app: dnsmasq-controller
   600      role: dhcp
   601      platform.edge.ncr.com/component: pxe-controller
   602  template:
   603    metadata:
   604      labels:
   605        app: dnsmasq-controller
   606        role: dhcp
   607        platform.edge.ncr.com/component: pxe-controller
   608      annotations:
   609        pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   610        pallet.edge.ncr.com/name: pxe
   611        pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   612        pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   613        pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/sds'
   614        pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   615    spec:
   616      terminationGracePeriodSeconds: 10
   617      serviceAccountName: dnsmasq-controller
   618      hostNetwork: true
   619      priorityClassName: system-cluster-critical
   620      containers:
   621      - name: dnsmasq
   622        image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/dnsmasq-controller@sha256:3f992c47121a4b3074c02e892f6ccf15dd01c8777fe5f3a19fe5880214cfeb6a
   623        args:
   624        - --watch-namespace=$(NAMESPACE)
   625        - --metrics-addr=:0
   626        - --enable-leader-election=true
   627        - --dhcp
   628        - --
   629        - --dhcp-broadcast
   630        - --dhcp-authoritative
   631        - --leasefile-ro
   632        - --enable-tftp
   633        - --tftp-root=/opt
   634        env:
   635        - name: NAMESPACE
   636          valueFrom:
   637            fieldRef:
   638              fieldPath: metadata.namespace
   639        resources:
   640          limits:
   641            cpu: "100m"
   642            memory: 30Mi
   643          requests:
   644            cpu: 100m
   645            memory: 20Mi
   646        securityContext:
   647          capabilities:
   648            add:
   649            - NET_ADMIN
   650        command: ["/dnsmasq-controller"]
   651        imagePullPolicy: IfNotPresent
   652        volumeMounts:
   653        - name: nodes
   654          mountPath: /opt/nodes
   655      - name: pxe-controller
   656        image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/pxe-controller@sha256:ea961dc8c22600632dd4f5b7e1f0fa0974901b7749f98b20ff2f82c97b407b6c
   657        env:
   658        - name: IPXE_LOCATION
   659          valueFrom:
   660            configMapKeyRef:
   661              name: ipxe-template
   662              key: IPXE_LOCATION
   663        - name: IPXE_TEMPLATE_LOCATION
   664          valueFrom:
   665            configMapKeyRef:
   666              name: ipxe-template
   667              key: IPXE_TEMPLATE_LOCATION
   668        - name: EDGE_API
   669          value: https://$env.$domain/api/v2
   670        volumeMounts:
   671        - name: nodes
   672          mountPath: /opt/nodes
   673        - name: ipxe-template
   674          readOnly: true
   675          mountPath: "/etc/node-ipxe-template.tmpl"
   676          subPath: "node-ipxe-template.tmpl"
   677        - name: boot
   678          readOnly: true
   679          mountPath: "/boot"
   680        imagePullPolicy: IfNotPresent
   681      tolerations:
   682      - effect: NoSchedule
   683        operator: Exists
   684      - effect: NoExecute
   685        operator: Exists
   686      - key: CriticalAddonsOnly
   687        operator: Exists
   688      affinity:
   689        nodeAffinity:
   690          preferredDuringSchedulingIgnoredDuringExecution:
   691          - preference:
   692              matchExpressions:
   693              - key: node.ncr.com/class
   694                operator: In
   695                values:
   696                - server
   697            weight: 100
   698      imagePullSecrets:
   699      - name: edge-docker-pull-secret
   700      volumes:
   701      - name: boot
   702        hostPath:
   703          path: /boot
   704      - name: ipxe-template
   705        configMap:
   706          name: ipxe-template
   707      - name: nodes
   708        emptyDir: {}
   709  strategy:
   710    type: Recreate

View as plain text