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

Commit

Permalink
Release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McKay committed Sep 29, 2021
1 parent 3bef731 commit 785dd14
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= v0.2.0-rc.3
VERSION ?= v0.2.0

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
capabilities: Basic Install
operators.operatorframework.io/builder: operator-sdk-v1.10.0+git
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: gatekeeper-operator.v0.2.0-rc.3
name: gatekeeper-operator.v0.2.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -318,7 +318,7 @@ spec:
env:
- name: RELATED_IMAGE_GATEKEEPER
value: openpolicyagent/gatekeeper:v3.5.2
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0-rc.3
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -451,4 +451,4 @@ spec:
provider:
name: Red Hat
replaces: gatekeeper-operator.v0.1.2
version: 0.2.0-rc.3
version: 0.2.0
38 changes: 6 additions & 32 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ namePrefix: gatekeeper-operator-
commonLabels:
control-plane: gatekeeper-operator-controller-manager

bases:
- ../crd
- ../manager
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
#- ../webhook
Expand All @@ -25,10 +22,10 @@ bases:
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#- ../prometheus

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

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

# the following config is for teaching kustomize how to do var substitution
vars:
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
#- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
# objref:
# kind: Certificate
# group: cert-manager.io
# version: v1
# name: serving-cert # this name should match the one in certificate.yaml
# fieldref:
# fieldpath: metadata.namespace
#- name: CERTIFICATE_NAME
# objref:
# kind: Certificate
# group: cert-manager.io
# version: v1
# name: serving-cert # this name should match the one in certificate.yaml
#- name: SERVICE_NAMESPACE # namespace of the service
# objref:
# kind: Service
# version: v1
# name: webhook-service
# fieldref:
# fieldpath: metadata.namespace
#- name: SERVICE_NAME
# objref:
# kind: Service
# version: v1
# name: webhook-service
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../crd
- ../manager
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/gatekeeper/gatekeeper-operator
newTag: v0.2.0-rc.3
newTag: v0.2.0
10 changes: 6 additions & 4 deletions config/rbac/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,23 @@ namePrefix: gatekeeper-operator-
commonLabels:
control-plane: gatekeeper-operator-controller-manager

resources:
# All RBAC will be applied under this service account in
# the deployment namespace. You may comment out this resource
# if your manager will use a service account that exists at
# runtime. Be sure to update RoleBinding and ClusterRoleBinding
# subjects if changing service account names.
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
# which protects your /metrics endpoint.
resources:
- service_account.yaml
- role.yaml
- role_binding.yaml
- leader_election_role.yaml
- leader_election_role_binding.yaml
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
# which protects your /metrics endpoint.
- auth_proxy_service.yaml
- auth_proxy_role.yaml
- auth_proxy_role_binding.yaml
- auth_proxy_client_clusterrole.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
2 changes: 1 addition & 1 deletion deploy/gatekeeper-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ spec:
env:
- name: RELATED_IMAGE_GATEKEEPER
value: openpolicyagent/gatekeeper:v3.5.2
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0-rc.3
image: quay.io/gatekeeper/gatekeeper-operator:v0.2.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down

0 comments on commit 785dd14

Please sign in to comment.