Skip to content

Commit f6101bb

Browse files
Removed fcos references
1 parent be63c92 commit f6101bb

File tree

12 files changed

+6
-866
lines changed

12 files changed

+6
-866
lines changed

data/data/coreos/fcos.json

Lines changed: 0 additions & 820 deletions
This file was deleted.

data/data/manifests/bootkube/cvo-overrides.yaml.template

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ metadata:
44
namespace: openshift-cluster-version
55
name: version
66
spec:
7-
{{- if .IsFCOS }}
8-
upstream: https://amd64.origin.releases.ci.openshift.org/graph
9-
channel: stable-4
10-
{{- else if .IsSCOS }}
7+
{{- if .IsSCOS }}
118
upstream: https://amd64.origin.releases.ci.openshift.org/graph
129
channel: stable-scos-4
1310
{{- else }}

hack/build-coreos-manifest.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ import (
2222

2323
const (
2424
streamRHCOSJSON = "data/data/coreos/rhcos.json"
25-
streamFCOSJSON = "data/data/coreos/fcos.json"
2625
streamSCOSJSON = "data/data/coreos/scos.json"
2726
streamMarketplaceRHCOSJSON = "data/data/coreos/marketplace-rhcos.json"
28-
fcosTAG = "okd"
2927
scosTAG = "scos"
3028
dest = "bin/manifests/coreos-bootimages.yaml"
3129
)
@@ -78,9 +76,6 @@ func getBootImages() ([]byte, error) {
7876
var streamJSON string
7977
tags, _ := os.LookupEnv("TAGS")
8078
switch {
81-
case strings.Contains(tags, fcosTAG):
82-
streamJSON = streamFCOSJSON
83-
okd = true
8479
case strings.Contains(tags, scosTAG):
8580
streamJSON = streamSCOSJSON
8681
okd = true

pkg/asset/ignition/bootstrap/common.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ type bootstrapTemplateData struct {
8989
BootstrapInPlace *types.BootstrapInPlace
9090
UseIPv6ForNodeIP bool
9191
UseDualForNodeIP bool
92-
IsFCOS bool
9392
IsSCOS bool
9493
IsOKD bool
9594
BootstrapNodeIP string
@@ -391,7 +390,6 @@ func (a *Common) getTemplateData(dependencies asset.Parents, bootstrapInPlace bo
391390
BootstrapInPlace: bootstrapInPlaceConfig,
392391
UseIPv6ForNodeIP: ipv6Primary,
393392
UseDualForNodeIP: hasIPv4 && hasIPv6,
394-
IsFCOS: installConfig.Config.IsFCOS(),
395393
IsSCOS: installConfig.Config.IsSCOS(),
396394
IsOKD: installConfig.Config.IsOKD(),
397395
BootstrapNodeIP: bootstrapNodeIP,

pkg/asset/manifests/operators.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ func (m *Manifests) generateBootKubeManifests(dependencies asset.Parents) []*ass
171171
RootCaCert: string(rootCA.Cert()),
172172
RootCACertBase64: base64.StdEncoding.EncodeToString(rootCA.Cert()),
173173
RootCASignerKeyBase64: base64.StdEncoding.EncodeToString(rootCA.Key()),
174-
IsFCOS: installConfig.Config.IsFCOS(),
175174
IsSCOS: installConfig.Config.IsSCOS(),
176175
IsOKD: installConfig.Config.IsOKD(),
177176
}

pkg/asset/manifests/template.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ type bootkubeTemplateData struct {
7878
EtcdSignerClientCert string
7979
EtcdSignerClientKey string
8080
EtcdSignerKey string
81-
IsFCOS bool
8281
IsSCOS bool
8382
IsOKD bool
8483
McsTLSCert string

pkg/infrastructure/vsphere/clusterapi/import.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ func importRhcosOva(ctx context.Context, session *session.Session, folder *objec
8282
return fmt.Errorf("failed to parse ovf: %w", err)
8383
}
8484

85-
// The fcos ova enables secure boot by default, this causes
86-
// scos to fail once
85+
// Some OVAs enable secure boot by default, this can cause
86+
// issues with certain configurations
8787
secureBoot := checkOvaSecureBoot(ovfEnvelope)
8888

8989
// The RHCOS OVA only has one network defined by default

pkg/rhcos/builds.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ func FormatURLWithIntegrity(artifact *stream.Artifact) (string, error) {
9090
}
9191

9292
// FindArtifactURL returns a single "disk" artifact type; this
93-
// mainly abstracts over e.g. `qcow2.xz` and `qcow2.gz`. (FCOS uses
94-
// xz, RHCOS uses gzip right now)
93+
// mainly abstracts over different compression formats like `qcow2.xz` and `qcow2.gz`.
9594
//
9695
// Use this function only for cases where there's a single artifact type, such
9796
// as `qemu` and `openstack`.

pkg/rhcos/stream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !(okd || fcos || scos)
1+
//go:build !(okd || scos)
22

33
package rhcos
44

pkg/rhcos/stream_fcos.go

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)