Skip to content

Commit

Permalink
Bump to v0.7.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
  • Loading branch information
saschagrunert authored and k8s-ci-robot committed Mar 27, 2023
1 parent 9fc2089 commit b101bf3
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.1-dev
0.7.1
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,15 @@ metadata:
]
capabilities: Basic Install
categories: Security
containerImage: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.0
olm.skipRange: '>=0.4.1 <0.7.1-dev'
containerImage: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
olm.skipRange: '>=0.4.1 <0.7.1'
operatorframework.io/cluster-monitoring: "true"
operatorframework.io/suggested-namespace: security-profiles-operator
operators.openshift.io/valid-subscription: '["OpenShift Kubernetes Engine", "OpenShift
Container Platform", "OpenShift Platform Plus"]'
operators.operatorframework.io/builder: operator-sdk-v1.25.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: security-profiles-operator.v0.7.1-dev
name: security-profiles-operator.v0.7.1
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -862,7 +862,7 @@ spec:
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
imagePullPolicy: Always
name: security-profiles-operator
resources:
Expand Down Expand Up @@ -968,5 +968,5 @@ spec:
name: rbac-proxy
- image: quay.io/security-profiles-operator/selinuxd
name: selinuxd
replaces: security-profiles-operator.v0.6.0
version: 0.7.1-dev
replaces: security-profiles-operator.v0.7.0
version: 0.7.1
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ dependencies:
match: BOM_VERSION

- name: spo-current
version: 0.7.1-dev
version: 0.7.1
refPaths:
- path: VERSION
match: ^.*
Expand Down
4 changes: 2 additions & 2 deletions deploy/base/clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
alm-examples: '[]'
capabilities: Basic Install
categories: Security
containerImage: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.0
containerImage: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
olm.skipRange: '>=0.4.1 <0.4.2-dev'
operatorframework.io/suggested-namespace: security-profiles-operator
operators.openshift.io/valid-subscription: '["OpenShift Kubernetes Engine", "OpenShift Container Platform", "OpenShift Platform Plus"]'
Expand Down Expand Up @@ -89,5 +89,5 @@ spec:
provider:
name: Kubernetes SIGs
url: https://github.com/kubernetes-sigs
replaces: security-profiles-operator.v0.6.0
replaces: security-profiles-operator.v0.7.0
version: 0.0.0
4 changes: 2 additions & 2 deletions deploy/catalog-preamble.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"package": "security-profiles-operator",
"entries": [
{
"name": "security-profiles-operator.v0.7.1-dev",
"skipRange": ">=0.4.1 <0.7.1-dev"
"name": "security-profiles-operator.v0.7.1",
"skipRange": ">=0.4.1 <0.7.1"
}
]
}
4 changes: 2 additions & 2 deletions deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: security-profiles-operator
description: "The Kubernetes Security Profiles Operator."
type: application
version: "0.7.1-dev"
appVersion: "0.7.1-dev"
version: "0.7.1"
appVersion: "0.7.1"
8 changes: 4 additions & 4 deletions deploy/kustomize-deployment/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ kind: Kustomization

images:
- name: security-profiles-operator
newName: gcr.io/k8s-staging-sp-operator/security-profiles-operator
newTag: latest
# # # newName: gcr.io/k8s-staging-sp-operator/security-profiles-operator
# # # newTag: latest
# For images to be released:
# newName: registry.k8s.io/security-profiles-operator/security-profiles-operator
# newTag: v0.7.1
newName: registry.k8s.io/security-profiles-operator/security-profiles-operator
newTag: v0.7.1


resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/namespace-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3008,7 +3008,7 @@ spec:
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
imagePullPolicy: Always
name: security-profiles-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/openshift-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,7 @@ spec:
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
image: image-registry.openshift-image-registry.svc:5000/openshift/security-profiles-operator:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
imagePullPolicy: Always
name: security-profiles-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/openshift-downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3019,7 +3019,7 @@ spec:
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
imagePullPolicy: Always
name: security-profiles-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3006,7 +3006,7 @@ spec:
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
imagePullPolicy: Always
name: security-profiles-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/webhook-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3006,7 +3006,7 @@ spec:
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
imagePullPolicy: Always
name: security-profiles-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion examples/olm/install-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
namespace: olm
spec:
sourceType: grpc
image: gcr.io/k8s-staging-sp-operator/security-profiles-operator-catalog:latest
image: registry.k8s.io/security-profiles-operator/security-profiles-operator-catalog:v0.7.1
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
Expand Down
4 changes: 2 additions & 2 deletions hack/ci/e2e-olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function build_and_push_packages() {

# Create a manifest with local image
cp deploy/operator.yaml ${OPERATOR_MANIFEST}
sed -i "s#gcr.io/k8s-staging-sp-operator/security-profiles-operator.*\$#${IMG}#" ${OPERATOR_MANIFEST}
sed -i "s#registry.k8s.io/security-profiles-operator.*\$#${IMG}#" ${OPERATOR_MANIFEST}
grep ${IMG} ${OPERATOR_MANIFEST} || exit 1

# this is a kludge, we need to make sure kustomize can be overwritten
Expand Down Expand Up @@ -73,7 +73,7 @@ function deploy_deps() {
kubectl -ncert-manager wait --for condition=ready pod -l app.kubernetes.io/instance=cert-manager

# All installation methods run off the same catalog
sed -i "s#gcr.io/k8s-staging-sp-operator/security-profiles-operator-catalog:latest#${CATALOG_IMG}#g" examples/olm/install-resources.yaml
sed -i "s#registry.k8s.io/security-profiles-operator/security-profiles-operator-catalog:v0.7.1#${CATALOG_IMG}#g" examples/olm/install-resources.yaml

}

Expand Down
2 changes: 1 addition & 1 deletion hack/deploy-localhost.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ index d7bf1964..d2a9c614 100644
fieldPath: spec.nodeName
- name: KUBELET_DIR
value: /var/lib/kubelet
- image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
- image: registry.k8s.io/security-profiles-operator/security-profiles-operator:v0.7.1
- imagePullPolicy: Always
+ image: localhost/security-profiles-operator:latest
+ imagePullPolicy: IfNotPresent
Expand Down
4 changes: 2 additions & 2 deletions installation-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ kubectl annotate ns $spo_ns \
--overwrite

# Install the chart from the release URL (or a file path if desired)
helm install security-profiles-operator --namespace security-profiles-operator https://github.com/kubernetes-sigs/security-profiles-operator/releases/download/v0.7.1-dev/security-profiles-operator-0.7.1-dev.tgz
helm install security-profiles-operator --namespace security-profiles-operator https://github.com/kubernetes-sigs/security-profiles-operator/releases/download/v0.7.1/security-profiles-operator-0.7.1.tgz
# Or update it with
# helm upgrade --install security-profiles-operator --namespace security-profiles-operator https://github.com/kubernetes-sigs/security-profiles-operator/releases/download/v0.7.1-dev/security-profiles-operator-0.7.1-dev.tgz
# helm upgrade --install security-profiles-operator --namespace security-profiles-operator https://github.com/kubernetes-sigs/security-profiles-operator/releases/download/v0.7.1/security-profiles-operator-0.7.1.tgz
```

#### Troubleshooting and maintenance
Expand Down
4 changes: 2 additions & 2 deletions test/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ func (e *e2e) deployOperator(manifest string) {
// ones from the nodes
e.logf("Setting imagePullPolicy to '%s' in manifest: %s", e.pullPolicy, manifest)
e.updateManifest(manifest, "imagePullPolicy: Always", fmt.Sprintf("imagePullPolicy: %s", e.pullPolicy))
e.updateManifest(manifest, "image: .*gcr.io/k8s-staging-sp-operator/.*", fmt.Sprintf("image: %s", e.testImage))
e.updateManifest(manifest, "value: .*gcr.io/k8s-staging-sp-operator/.*", fmt.Sprintf("value: %s", e.testImage))
e.updateManifest(manifest, "image: .*registry.k8s.io/.*", fmt.Sprintf("image: %s", e.testImage))
e.updateManifest(manifest, "value: .*registry.k8s.io/.*", fmt.Sprintf("value: %s", e.testImage))
e.updateManifest(manifest, "value: .*quay.io/.*/selinuxd.*", fmt.Sprintf("value: %s", e.selinuxdImage))
if e.selinuxEnabled {
e.updateManifest(manifest, "enableSelinux: false", "enableSelinux: true")
Expand Down

0 comments on commit b101bf3

Please sign in to comment.