Skip to content

Commit

Permalink
Merge pull request #437 from csrwng/hosted_exclusions
Browse files Browse the repository at this point in the history
Add manifest annotations for hosted deployment exclusions
  • Loading branch information
openshift-merge-robot committed Nov 15, 2019
2 parents b6d10fb + c2aa6e2 commit 57f5290
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
Expand Up @@ -5,6 +5,8 @@ metadata:
controller-tools.k8s.io: "1.0"
name: openshift-machine-api-aws
namespace: openshift-cloud-credential-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
secretRef:
name: aws-cloud-credentials
Expand Down Expand Up @@ -38,6 +40,8 @@ metadata:
controller-tools.k8s.io: "1.0"
name: openshift-machine-api-azure
namespace: openshift-cloud-credential-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
secretRef:
name: azure-cloud-credentials
Expand All @@ -55,6 +59,8 @@ metadata:
controller-tools.k8s.io: "1.0"
name: openshift-machine-api-openstack
namespace: openshift-cloud-credential-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
secretRef:
name: openstack-cloud-credentials
Expand All @@ -70,6 +76,8 @@ metadata:
controller-tools.k8s.io: "1.0"
name: openshift-machine-api-gcp
namespace: openshift-cloud-credential-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
secretRef:
name: gcp-cloud-credentials
Expand Down
1 change: 1 addition & 0 deletions install/0000_30_machine-api-operator_10_service.yaml
Expand Up @@ -6,6 +6,7 @@ metadata:
namespace: openshift-machine-api
annotations:
service.alpha.openshift.io/serving-cert-secret-name: machine-api-operator-tls
exclude.release.openshift.io/internal-openshift-hosted: "true"
labels:
k8s-app: machine-api-operator
spec:
Expand Down
2 changes: 2 additions & 0 deletions install/0000_30_machine-api-operator_11_deployment.yaml
Expand Up @@ -5,6 +5,8 @@ metadata:
namespace: openshift-machine-api
labels:
k8s-app: machine-api-operator
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
replicas: 1
selector:
Expand Down
2 changes: 2 additions & 0 deletions install/0000_30_machine-api-operator_12_clusteroperator.yaml
Expand Up @@ -2,6 +2,8 @@ apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
name: machine-api
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec: {}
status:
versions:
Expand Down
2 changes: 2 additions & 0 deletions install/0000_90_machine-api-operator_03_servicemonitor.yaml
Expand Up @@ -5,6 +5,8 @@ metadata:
k8s-app: machine-api-operator
name: machine-api-operator
namespace: openshift-machine-api
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
Expand Down
2 changes: 2 additions & 0 deletions install/0000_90_machine-api-operator_04_alertrules.yaml
Expand Up @@ -6,6 +6,8 @@ metadata:
role: alert-rules
name: machine-api-operator-prometheus-rules
namespace: openshift-machine-api
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
groups:
- name: machine-without-valid-node-ref
Expand Down

0 comments on commit 57f5290

Please sign in to comment.