-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support clc metric and update images (#26)
Signed-off-by: Zhiwei Yin <[email protected]>
- Loading branch information
1 parent
e1a75e8
commit 887d1f5
Showing
17 changed files
with
10,501 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"tenantId": "abc", | ||
"subscriptionId": "123", | ||
"resourceGroup": "test", | ||
"aadClientId": "clientid", | ||
"aadClientSecret": "clientpassword" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: external-dns | ||
namespace: hypershift | ||
spec: | ||
progressDeadlineSeconds: 600 | ||
replicas: 1 | ||
revisionHistoryLimit: 10 | ||
selector: | ||
matchLabels: | ||
name: external-dns | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 25% | ||
maxUnavailable: 25% | ||
type: RollingUpdate | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: external-dns | ||
hypershift.openshift.io/operator-component: external-dns | ||
name: external-dns | ||
spec: | ||
containers: | ||
- args: | ||
- --source=service | ||
- --source=openshift-route | ||
- --domain-filter=myzone | ||
- --provider=azure | ||
- --registry=txt | ||
- --txt-suffix=-external-dns | ||
- --txt-owner-id=5461617c-6757-49cd-b5ba-deda35d941f5 | ||
- --label-filter=hypershift.openshift.io/route-visibility!=private | ||
- --interval=1m | ||
- --txt-cache-interval=1h | ||
- --azure-config-file=/etc/provider/credentials | ||
command: | ||
- /external-dns | ||
image: registry.redhat.io/edo/external-dns-rhel8@sha256:638fb6b5fc348f5cf52b9800d3d8e9f5315078fc9b1e57e800cb0a4a50f1b4b9 | ||
imagePullPolicy: IfNotPresent | ||
livenessProbe: | ||
failureThreshold: 5 | ||
httpGet: | ||
path: /healthz | ||
port: 7979 | ||
scheme: HTTP | ||
initialDelaySeconds: 60 | ||
periodSeconds: 60 | ||
successThreshold: 1 | ||
timeoutSeconds: 5 | ||
name: external-dns | ||
ports: | ||
- containerPort: 7979 | ||
name: metrics | ||
protocol: TCP | ||
resources: | ||
requests: | ||
cpu: 5m | ||
memory: 20Mi | ||
securityContext: | ||
privileged: false | ||
readOnlyRootFilesystem: true | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
volumeMounts: | ||
- mountPath: /etc/provider | ||
name: credentials | ||
dnsPolicy: ClusterFirst | ||
imagePullSecrets: | ||
- name: pull-secret | ||
- name: open-cluster-management-image-pull-credentials | ||
priorityClassName: hypershift-operator | ||
restartPolicy: Always | ||
schedulerName: default-scheduler | ||
securityContext: {} | ||
serviceAccount: external-dns | ||
serviceAccountName: external-dns | ||
terminationGracePeriodSeconds: 30 | ||
volumes: | ||
- name: credentials | ||
secret: | ||
defaultMode: 420 | ||
secretName: hypershift-operator-external-dns-credentials | ||
|
Oops, something went wrong.