Skip to content

Commit

Permalink
Rename prefix to be consistent with kubernetes-image-puller-pod
Browse files Browse the repository at this point in the history
Signed-off-by: dkwon17 <[email protected]>
  • Loading branch information
dkwon17 committed Dec 6, 2023
1 parent 057c50e commit 27b3a25
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/certmanager/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ spec:
issuerRef:
kind: Issuer
name: selfsigned-issuer
secretName: k8s-image-puller-operator-service-cert # this secret will not be prefixed, since it's not managed by kustomize
secretName: kubernetes-image-puller-operator-service-cert # this secret will not be prefixed, since it's not managed by kustomize
2 changes: 1 addition & 1 deletion config/default/manager_webhook_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
- name: cert
secret:
defaultMode: 420
secretName: k8s-image-puller-operator-service-cert
secretName: kubernetes-image-puller-operator-service-cert
10 changes: 5 additions & 5 deletions config/kubernetes/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Red Hat, Inc. - initial API and implementation
#

namePrefix: k8s-image-puller-operator-
namePrefix: kubernetes-image-puller-operator-

resources:
- ../default
Expand All @@ -27,24 +27,24 @@ vars:
kind: Certificate
group: cert-manager.io
version: v1
name: k8s-image-puller-operator-serving-cert # this name should match the one in certificate.yaml
name: kubernetes-image-puller-operator-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: k8s-image-puller-operator-serving-cert # this name should match the one in certificate.yaml
name: kubernetes-image-puller-operator-serving-cert # this name should match the one in certificate.yaml
- name: SERVICE_NAMESPACE # namespace of the service
objref:
kind: Service
version: v1
name: k8s-image-puller-operator-service
name: kubernetes-image-puller-operator-service
fieldref:
fieldpath: metadata.namespace
- name: SERVICE_NAME
objref:
kind: Service
version: v1
name: k8s-image-puller-operator-service
name: kubernetes-image-puller-operator-service
2 changes: 1 addition & 1 deletion config/manifests/prefixed/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This has to be a separate kustomize file, since namePrefix below cannot be
# disabled for specific types, and we need the CSV's .metadata.name to be unchanged

namePrefix: k8s-image-puller-operator-
namePrefix: kubernetes-image-puller-operator-

bases:
- ../../default
Expand Down
2 changes: 1 addition & 1 deletion config/openshift/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Red Hat, Inc. - initial API and implementation
#

namePrefix: k8s-image-puller-operator-
namePrefix: kubernetes-image-puller-operator-

resources:
- ../default
Expand Down
2 changes: 1 addition & 1 deletion config/openshift/patches/service_cert_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ metadata:
name: service
namespace: kubernetes-image-puller-operator
annotations:
service.beta.openshift.io/serving-cert-secret-name: k8s-image-puller-operator-service-cert
service.beta.openshift.io/serving-cert-secret-name: kubernetes-image-puller-operator-service-cert
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kind: Service
metadata:
labels:
name: kubernetes-image-puller-operator
name: controller-manager-metrics-service
name: manager-metrics-service
namespace: kubernetes-image-puller-operator
spec:
ports:
Expand Down

0 comments on commit 27b3a25

Please sign in to comment.