-
Notifications
You must be signed in to change notification settings - Fork 9
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: Phil Brookes <[email protected]>
- Loading branch information
1 parent
c8bb5d6
commit 5eb982d
Showing
16 changed files
with
410 additions
and
50 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,31 @@ | ||
# permissions for end users to edit dnsrecords. | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: clusterrole | ||
app.kubernetes.io/instance: dnshealthcheckprobe-editor-role | ||
app.kubernetes.io/component: rbac | ||
app.kubernetes.io/created-by: dns-operator | ||
app.kubernetes.io/part-of: dns-operator | ||
app.kubernetes.io/managed-by: kustomize | ||
name: dnshealthcheckprobe-editor-role | ||
rules: | ||
- apiGroups: | ||
- kuadrant.io | ||
resources: | ||
- dnshealthcheckprobes | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- kuadrant.io | ||
resources: | ||
- dnshealthcheckprobes/status | ||
verbs: | ||
- get |
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,27 @@ | ||
# permissions for end users to view dnsrecords. | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: clusterrole | ||
app.kubernetes.io/instance: dnshealthcheckprobe-viewer-role | ||
app.kubernetes.io/component: rbac | ||
app.kubernetes.io/created-by: dns-operator | ||
app.kubernetes.io/part-of: dns-operator | ||
app.kubernetes.io/managed-by: kustomize | ||
name: dnshealthcheckprobe-viewer-role | ||
rules: | ||
- apiGroups: | ||
- kuadrant.io | ||
resources: | ||
- dnshealthcheckprobes | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- kuadrant.io | ||
resources: | ||
- dnshealthcheckprobes/status | ||
verbs: | ||
- get |
16 changes: 8 additions & 8 deletions
16
config/samples/kuadrant.io_v1alpha1_dnshealthcheckprobe.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,15 +1,15 @@ | ||
apiVersion: kuadrant.io/v1alpha1 | ||
kind: DNSHealthCheckProbe | ||
metadata: | ||
name: dnsprobe-sample | ||
name: $NAME | ||
spec: | ||
port: 443 | ||
hostname: "test.com" | ||
ipAddress: "192.168.0.16" | ||
path: "/" | ||
protocol: "HTTPS" | ||
interval: "60s" | ||
additionalHeadersRef: | ||
name: "headersSecret" | ||
hostname: test.com | ||
address: 192.168.0.16 | ||
path: /healthz | ||
protocol: HTTPS | ||
interval: 60s | ||
additionalHeadersRef: | ||
name: headers | ||
failureThreshold: 5 | ||
allowInsecureCertificate: True |
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,4 +1,5 @@ | ||
## Append samples of your project ## | ||
resources: | ||
- kuadrant.io_v1alpha1_dnsrecord.yaml | ||
- kuadrant.io_v1alpha1_dnshealthcheckprobe.yaml | ||
#+kubebuilder:scaffold:manifestskustomizesamples |
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
Oops, something went wrong.