Bug 1986148 - Bump API for Ingress RequiredHSTSPolicies field
Summary: Bump API for Ingress RequiredHSTSPolicies field
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.0
Assignee: Candace Holman
QA Contact: Arvind iyengar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-26 18:48 UTC by Candace Holman
Modified: 2022-08-04 22:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:41:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-config-operator pull 212 0 None closed Bug 1986148: Bump API for Ingress RequiredHSTSPolicies 2021-07-27 11:29:01 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:41:42 UTC

Comment 1 Andrew McDermott 2021-07-27 11:31:20 UTC
Moving state back to POST as we also want to include https://github.com/openshift/openshift-apiserver/pull/224.

Comment 2 Andrew McDermott 2021-07-27 14:05:23 UTC
Moving back to MODIFIED as https://github.com/openshift/openshift-apiserver/pull/224 now covered by https://bugzilla.redhat.com/show_bug.cgi?id=1986408.

Comment 4 jechen 2021-07-28 20:00:41 UTC
Verified in 4.9.0-0.nightly-2021-07-28-043044

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-07-28-043044   True        False         7h19m   Cluster version is 4.9.0-0.nightly-2021-07-28-043044

## edit ingress controler to add requiredHSTSPolicy
$ oc edit ingresses.config.openshift.io/cluster
spec:
  requiredHSTSPolicies:
  - domainPatterns:
    - abc.com
    maxAge:
      largestMaxAge: 31536000
      smallestMaxAge: 1


## Verified requiredHSTSPolicy is added successfully
$ oc get ingresses.config.openshift.io/cluster -oyaml
<--snip-->
spec:
  domain: apps.jechen-0728a.qe.devcluster.openshift.com
  requiredHSTSPolicies:
  - domainPatterns:
    - abc.com
    maxAge:
      largestMaxAge: 31536000
      smallestMaxAge: 1

Comment 7 errata-xmlrpc 2021-10-18 17:41:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759


Note You need to log in before you can comment on or make changes to this bug.