Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

Commit c8fccb2

Browse files
author
Christopher Hein
authored
Merge pull request #107 from christopherhein/chore/23-codegen-crds
Remove Operator-Kit in favor of manually managing the operator server
2 parents d504206 + ffdc6d1 commit c8fccb2

File tree

11,316 files changed

+772
-2460980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,316 files changed

+772
-2460980
lines changed

.generated_files

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
file-prefix zz_generated.
2+
path-prefix pkg/client/
3+
path-prefix pkg/operator
4+
file-name template_functions.go
5+
file-name aws-service-operator.yaml

Gopkg.lock

Lines changed: 1 addition & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,10 @@ required = ["k8s.io/code-generator/cmd/client-gen"]
3030
branch = "master"
3131
name = "github.com/golang/glog"
3232

33-
[[constraint]]
34-
branch = "master"
35-
name = "github.com/christopherhein/operator-kit"
36-
3733
[[constraint]]
3834
name = "k8s.io/api"
3935
version = "kubernetes-1.11.3"
4036

41-
[[constraint]]
42-
name = "k8s.io/apiextensions-apiserver"
43-
version = "kubernetes-1.11.3"
44-
4537
[[constraint]]
4638
name = "k8s.io/apimachinery"
4739
version = "kubernetes-1.11.3"

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
commitSHA := $(shell git describe --dirty --always)
22
dateStr := $(shell date +%s)
3+
repo ?= github.com/awslab/aws-service-operator
34

45
.PHONY: build
56
build:
@@ -13,6 +14,10 @@ release:
1314
dev-release:
1415
goreleaser --rm-dist --snapshot --skip-publish
1516

17+
.PHONY: test
18+
test:
19+
go test -v -cover -race $(repo)/...
20+
1621
.PHONY: tag
1722
tag:
1823
git tag -a ${VERSION} -s

cloudformation/dynamodb.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: 2010-09-09
2-
Description: 'AWS Operator - Amazon DynamoDB'
2+
Description: 'AWS Service Operator - Amazon DynamoDB'
33
Parameters:
44
Namespace:
55
Description: >-
@@ -63,7 +63,7 @@ Resources:
6363
-
6464
AttributeName: !Ref RangeAttributeName
6565
KeyType: "RANGE"
66-
AttributeDefinitions:
66+
AttributeDefinitions:
6767
-
6868
AttributeName: !Ref HashAttributeName
6969
AttributeType: "S"

cloudformation/ecrrepository.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: 2010-09-09
2-
Description: 'AWS Operator - Amazon ECR Repository'
2+
Description: 'AWS Service Operator - Amazon ECR Repository'
33
Parameters:
44
Namespace:
55
Description: >-

cloudformation/s3bucket.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: 2010-09-09
2-
Description: 'AWS Operator - Amazon S3 Bucket'
2+
Description: 'AWS Service Operator - Amazon S3 Bucket'
33
Parameters:
44
Namespace:
55
Description: >-
@@ -90,13 +90,13 @@ Parameters:
9090
Default: "500.html"
9191
Mappings: {}
9292
Conditions:
93-
UseLogging: !Equals
93+
UseLogging: !Equals
9494
- !Ref EnableLogging
9595
- 'true'
96-
UseGlacierLifeCycle: !Equals
96+
UseGlacierLifeCycle: !Equals
9797
- !Ref EnableGlacierLifeCycle
9898
- 'true'
99-
UseVersioning: !Equals
99+
UseVersioning: !Equals
100100
- !Ref EnableVersioning
101101
- 'true'
102102
UseAsStaticSite: !Equals
@@ -122,7 +122,7 @@ Resources:
122122
Transitions:
123123
- TransitionInDays: !Ref GlacierLifeCycleTransitionInDays
124124
StorageClass: Glacier
125-
LoggingConfiguration: !If
125+
LoggingConfiguration: !If
126126
- UseLogging
127127
- DestinationBucketName: !Ref LoggingBucket
128128
LogFilePrefix: !Ref LoggingPrefix
@@ -138,7 +138,7 @@ Resources:
138138
Value: !Ref ClusterName
139139
- Key: Heritage
140140
Value: operator.aws
141-
VersioningConfiguration: !If
141+
VersioningConfiguration: !If
142142
- UseVersioning
143143
- Status: Enabled
144144
- !Ref 'AWS::NoValue'
@@ -171,7 +171,7 @@ Resources:
171171
DeletionPolicy: Retain
172172
Properties:
173173
AccessControl: LogDeliveryWrite
174-
BucketName: !Join
174+
BucketName: !Join
175175
- ''
176176
- - !Ref BucketName
177177
- logging
@@ -180,7 +180,7 @@ Outputs:
180180
Value: !Ref S3bucket
181181
Description: Name of the sample Amazon S3 bucket.
182182
BucketArn:
183-
Value: !GetAtt
183+
Value: !GetAtt
184184
- S3bucket
185185
- Arn
186186
Description: Name of the Amazon S3 bucket

cloudformation/snssubscription.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: 2010-09-09
2-
Description: 'AWS Operator - Amazon SNS Subscription'
2+
Description: 'AWS Service Operator - Amazon SNS Subscription'
33
Parameters:
44
Namespace:
55
Description: >-

cloudformation/snstopic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: 2010-09-09
2-
Description: 'AWS Operator - Amazon SNS Topic'
2+
Description: 'AWS Service Operator - Amazon SNS Topic'
33
Parameters:
44
Namespace:
55
Description: >-

cloudformation/sqsqueue.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: 2010-09-09
2-
Description: "AWS Operator - Amazon SQS Queue"
2+
Description: "AWS Service Operator - Amazon SQS Queue"
33
Parameters:
44
Namespace:
55
Type: String

0 commit comments

Comments
 (0)