-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gerd Oberlechner <goberlec@redhat.com>
- Loading branch information
Showing
9 changed files
with
131 additions
and
131 deletions.
There are no files selected for viewing
File renamed without changes.
48 changes: 24 additions & 24 deletions
48
...s/templates/clusterrole-external-dns.yaml → ...s/templates/clusterrole-external-dns.yaml
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
rules: | ||
- apiGroups: | ||
- route.openshift.io | ||
resources: | ||
- '*' | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- endpoints | ||
- services | ||
- nodes | ||
- pods | ||
verbs: | ||
- get | ||
- list | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
rules: | ||
- apiGroups: | ||
- route.openshift.io | ||
resources: | ||
- '*' | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- endpoints | ||
- services | ||
- nodes | ||
- pods | ||
verbs: | ||
- get | ||
- list | ||
- watch |
24 changes: 12 additions & 12 deletions
24
...ates/clusterrolebinding-external-dns.yaml → ...ates/clusterrolebinding-external-dns.yaml
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: external-dns | ||
subjects: | ||
- kind: ServiceAccount | ||
name: external-dns | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: external-dns | ||
subjects: | ||
- kind: ServiceAccount | ||
name: external-dns | ||
namespace: hypershift |
138 changes: 69 additions & 69 deletions
138
...ns/templates/deployment-external-dns.yaml → ...ns/templates/deployment-external-dns.yaml
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 |
---|---|---|
@@ -1,69 +1,69 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
namespace: '{{ .Release.Namespace }}' | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: external-dns | ||
strategy: {} | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: external-dns | ||
hypershift.openshift.io/operator-component: external-dns | ||
name: external-dns | ||
azure.workload.identity/use: true | ||
spec: | ||
containers: | ||
- args: | ||
- --source=service | ||
- --source=openshift-route | ||
- --domain-filter={{ .Values.domain }} | ||
- --provider=azure | ||
- --registry=txt | ||
- --txt-suffix=-external-dns | ||
- --txt-owner-id={{ .Values.txtOwnerId }} | ||
- --label-filter=hypershift.openshift.io/route-visibility!=private | ||
- --interval=1m | ||
- --txt-cache-interval=1h | ||
- --azure-config-file=/etc/provider/credentials | ||
command: | ||
- /ko-app/external-dns | ||
image: {{ .Values.image }} | ||
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 | ||
resources: | ||
requests: | ||
cpu: 5m | ||
memory: 20Mi | ||
securityContext: | ||
privileged: false | ||
readOnlyRootFilesystem: true | ||
volumeMounts: | ||
- mountPath: /etc/provider | ||
name: credentials | ||
priorityClassName: hypershift-operator | ||
serviceAccountName: external-dns | ||
volumes: | ||
- name: credentials | ||
secret: | ||
secretName: external-dns-azure | ||
status: {} | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
namespace: '{{ .Release.Namespace }}' | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: external-dns | ||
strategy: {} | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: external-dns | ||
hypershift.openshift.io/operator-component: external-dns | ||
name: external-dns | ||
azure.workload.identity/use: true | ||
spec: | ||
containers: | ||
- args: | ||
- --source=service | ||
- --source=openshift-route | ||
- --domain-filter={{ .Values.domain }} | ||
- --provider=azure | ||
- --registry=txt | ||
- --txt-suffix=-external-dns | ||
- --txt-owner-id={{ .Values.txtOwnerId }} | ||
- --label-filter=hypershift.openshift.io/route-visibility!=private | ||
- --interval=1m | ||
- --txt-cache-interval=1h | ||
- --azure-config-file=/etc/provider/credentials | ||
command: | ||
- /ko-app/external-dns | ||
image: {{ .Values.image }} | ||
Check failure on line 37 in hypershiftoperator/deploy/helm/charts/external-dns/templates/deployment-external-dns.yaml
|
||
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 | ||
resources: | ||
requests: | ||
cpu: 5m | ||
memory: 20Mi | ||
securityContext: | ||
privileged: false | ||
readOnlyRootFilesystem: true | ||
volumeMounts: | ||
- mountPath: /etc/provider | ||
name: credentials | ||
priorityClassName: hypershift-operator | ||
serviceAccountName: external-dns | ||
volumes: | ||
- name: credentials | ||
secret: | ||
secretName: external-dns-azure | ||
status: {} |
34 changes: 17 additions & 17 deletions
34
...ns/templates/podmonitor-external-dns.yaml → ...ns/templates/podmonitor-external-dns.yaml
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
apiVersion: azmonitoring.coreos.com/v1 | ||
kind: PodMonitor | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
namespace: '{{ .Release.Namespace }}' | ||
spec: | ||
jobLabel: component | ||
namespaceSelector: {} | ||
podMetricsEndpoints: | ||
- bearerTokenSecret: | ||
key: "" | ||
interval: 30s | ||
port: metrics | ||
selector: | ||
matchLabels: | ||
name: external-dns | ||
apiVersion: azmonitoring.coreos.com/v1 | ||
kind: PodMonitor | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
namespace: '{{ .Release.Namespace }}' | ||
spec: | ||
jobLabel: component | ||
namespaceSelector: {} | ||
podMetricsEndpoints: | ||
- bearerTokenSecret: | ||
key: "" | ||
interval: 30s | ||
port: metrics | ||
selector: | ||
matchLabels: | ||
name: external-dns |
File renamed without changes.
16 changes: 8 additions & 8 deletions
16
...emplates/serviceaccount-external-dns.yaml → ...emplates/serviceaccount-external-dns.yaml
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
namespace: '{{ .Release.Namespace }}' | ||
annotations: | ||
azure.workload.identity~1client-id: '{{ .Values.credentials.userAssignedIdentityID }}' | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
creationTimestamp: null | ||
name: external-dns | ||
namespace: '{{ .Release.Namespace }}' | ||
annotations: | ||
azure.workload.identity~1client-id: '{{ .Values.credentials.userAssignedIdentityID }}' |
File renamed without changes.
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