Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 8cef9ff

Browse files
author
thomasmckay
authored
Merge pull request #211 from thomasmckay/release-v0.2.0
Release v0.2.0
2 parents 3bef731 + 785dd14 commit 8cef9ff

File tree

6 files changed

+18
-42
lines changed

6 files changed

+18
-42
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= v0.2.0-rc.3
6+
VERSION ?= v0.2.0
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

bundle/manifests/gatekeeper-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
capabilities: Basic Install
1919
operators.operatorframework.io/builder: operator-sdk-v1.10.0+git
2020
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
21-
name: gatekeeper-operator.v0.2.0-rc.3
21+
name: gatekeeper-operator.v0.2.0
2222
namespace: placeholder
2323
spec:
2424
apiservicedefinitions: {}
@@ -318,7 +318,7 @@ spec:
318318
env:
319319
- name: RELATED_IMAGE_GATEKEEPER
320320
value: openpolicyagent/gatekeeper:v3.5.2
321-
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0-rc.3
321+
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0
322322
imagePullPolicy: Always
323323
livenessProbe:
324324
httpGet:
@@ -451,4 +451,4 @@ spec:
451451
provider:
452452
name: Red Hat
453453
replaces: gatekeeper-operator.v0.1.2
454-
version: 0.2.0-rc.3
454+
version: 0.2.0

config/default/kustomization.yaml

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ namePrefix: gatekeeper-operator-
1414
commonLabels:
1515
control-plane: gatekeeper-operator-controller-manager
1616

17-
bases:
18-
- ../crd
19-
- ../manager
2017
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
2118
# crd/kustomization.yaml
2219
#- ../webhook
@@ -25,10 +22,10 @@ bases:
2522
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2623
#- ../prometheus
2724

28-
patchesStrategicMerge:
2925
# Protect the /metrics endpoint by putting it behind auth.
3026
# If you want your controller-manager to expose the /metrics
3127
# endpoint w/o any authn/z, please comment the following line.
28+
patchesStrategicMerge:
3229
- manager_auth_proxy_patch.yaml
3330

3431
# Mount the controller config file for loading manager configurations
@@ -45,31 +42,8 @@ patchesStrategicMerge:
4542
#- webhookcainjection_patch.yaml
4643

4744
# the following config is for teaching kustomize how to do var substitution
48-
vars:
49-
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
50-
#- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
51-
# objref:
52-
# kind: Certificate
53-
# group: cert-manager.io
54-
# version: v1
55-
# name: serving-cert # this name should match the one in certificate.yaml
56-
# fieldref:
57-
# fieldpath: metadata.namespace
58-
#- name: CERTIFICATE_NAME
59-
# objref:
60-
# kind: Certificate
61-
# group: cert-manager.io
62-
# version: v1
63-
# name: serving-cert # this name should match the one in certificate.yaml
64-
#- name: SERVICE_NAMESPACE # namespace of the service
65-
# objref:
66-
# kind: Service
67-
# version: v1
68-
# name: webhook-service
69-
# fieldref:
70-
# fieldpath: metadata.namespace
71-
#- name: SERVICE_NAME
72-
# objref:
73-
# kind: Service
74-
# version: v1
75-
# name: webhook-service
45+
apiVersion: kustomize.config.k8s.io/v1beta1
46+
kind: Kustomization
47+
resources:
48+
- ../crd
49+
- ../manager

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ kind: Kustomization
1414
images:
1515
- name: controller
1616
newName: quay.io/gatekeeper/gatekeeper-operator
17-
newTag: v0.2.0-rc.3
17+
newTag: v0.2.0

config/rbac/base/kustomization.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ namePrefix: gatekeeper-operator-
1414
commonLabels:
1515
control-plane: gatekeeper-operator-controller-manager
1616

17-
resources:
1817
# All RBAC will be applied under this service account in
1918
# the deployment namespace. You may comment out this resource
2019
# if your manager will use a service account that exists at
2120
# runtime. Be sure to update RoleBinding and ClusterRoleBinding
2221
# subjects if changing service account names.
22+
# Comment the following 4 lines if you want to disable
23+
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
24+
# which protects your /metrics endpoint.
25+
resources:
2326
- service_account.yaml
2427
- role.yaml
2528
- role_binding.yaml
2629
- leader_election_role.yaml
2730
- leader_election_role_binding.yaml
28-
# Comment the following 4 lines if you want to disable
29-
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
30-
# which protects your /metrics endpoint.
3131
- auth_proxy_service.yaml
3232
- auth_proxy_role.yaml
3333
- auth_proxy_role_binding.yaml
3434
- auth_proxy_client_clusterrole.yaml
35+
apiVersion: kustomize.config.k8s.io/v1beta1
36+
kind: Kustomization

deploy/gatekeeper-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ spec:
12401240
env:
12411241
- name: RELATED_IMAGE_GATEKEEPER
12421242
value: openpolicyagent/gatekeeper:v3.5.2
1243-
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0-rc.3
1243+
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0
12441244
imagePullPolicy: Always
12451245
livenessProbe:
12461246
httpGet:

0 commit comments

Comments
 (0)