Skip to content

Commit 65876b0

Browse files
committed
Added rediness probes support
1 parent 71928d8 commit 65876b0

8 files changed

+74
-25
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ COPY api/ api/
2020
COPY controllers/ controllers/
2121
COPY issuers/ issuers/
2222
COPY adcs/ adcs/
23+
COPY healthcheck/ healthcheck/
2324

2425
# Build
2526
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go

config/crd/bases/adcs.certmanager.csf.nokia.com_adcsissuers.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ spec:
2222
apiVersion:
2323
description: 'APIVersion defines the versioned schema of this representation
2424
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2626
type: string
2727
kind:
2828
description: 'Kind is a string value representing the REST resource this
2929
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
3131
type: string
3232
metadata:
3333
type: object

config/crd/bases/adcs.certmanager.csf.nokia.com_adcsrequests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ spec:
2626
apiVersion:
2727
description: 'APIVersion defines the versioned schema of this representation
2828
of an object. Servers should convert recognized schemas to the latest
29-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
29+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
3030
type: string
3131
kind:
3232
description: 'Kind is a string value representing the REST resource this
3333
object represents. Servers may infer this from the endpoint the client
34-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
34+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
3535
type: string
3636
metadata:
3737
type: object

config/crd/bases/adcs.certmanager.csf.nokia.com_clusteradcsissuers.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ spec:
2222
apiVersion:
2323
description: 'APIVersion defines the versioned schema of this representation
2424
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2626
type: string
2727
kind:
2828
description: 'Kind is a string value representing the REST resource this
2929
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
3131
type: string
3232
metadata:
3333
type: object

go.mod

+4-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ module github.com/nokia/adcs-issuer
22

33
go 1.12
44

5-
replace (
6-
k8s.io/api => k8s.io/api v0.0.0-20190718183219-b59d8169aab5
7-
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
8-
9-
k8s.io/client-go => k8s.io/client-go v0.0.0-20190718183610-8e956561bbf5
10-
sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.3.0
11-
)
5+
replace k8s.io/client-go => k8s.io/client-go v0.0.0-20190918160344-1fbdaa4c8d90
126

137
require (
148
github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4
@@ -18,9 +12,10 @@ require (
1812
github.com/jetstack/cert-manager v0.11.0
1913
github.com/onsi/ginkgo v1.10.2
2014
github.com/onsi/gomega v1.7.0
21-
k8s.io/api v0.0.0-20190918195907-bd6ac527cfd2
15+
k8s.io/api v0.0.0-20190918155943-95b840bb6a1f
2216
k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655
17+
//k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
2318
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
2419
//k8s.io/klog v0.4.0
25-
sigs.k8s.io/controller-runtime v0.3.0
20+
sigs.k8s.io/controller-runtime v0.4.0
2621
)

0 commit comments

Comments
 (0)