mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-06 17:14:13 +00:00
Update License header to 2018
This commit is contained in:
parent
2e1e1a4c01
commit
d727d03c0c
3 changed files with 5 additions and 5 deletions
2
.header
2
.header
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2017 The prometheus-operator Authors
|
||||
// Copyright 2018 The prometheus-operator Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
|
6
Makefile
6
Makefile
|
@ -66,7 +66,7 @@ docs: embedmd po-docgen
|
|||
$(GOPATH)/bin/po-docgen compatibility > Documentation/compatibility.md
|
||||
|
||||
generate: jsonnet-docker
|
||||
docker run --rm -v `pwd`:/go/src/github.com/coreos/prometheus-operator po-jsonnet make generate-deepcopy jsonnet generate-bundle docs generate-kube-prometheus
|
||||
docker run --rm -v `pwd`:/go/src/github.com/coreos/prometheus-operator po-jsonnet make generate-deepcopy generate-openapi jsonnet generate-bundle docs generate-kube-prometheus
|
||||
|
||||
deepcopy-gen:
|
||||
go get -u -v -d k8s.io/code-generator/cmd/deepcopy-gen
|
||||
|
@ -82,8 +82,8 @@ openapi-gen:
|
|||
cd $(GOPATH)/src/k8s.io/code-generator; git checkout release-1.8
|
||||
go install k8s.io/code-generator/cmd/openapi-gen
|
||||
|
||||
generate-openapi:
|
||||
openapi-gen -i github.com/coreos/prometheus-operator/pkg/client/monitoring/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1 -p github.com/coreos/prometheus-operator/pkg/client/monitoring/v1
|
||||
generate-openapi: openapi-gen
|
||||
openapi-gen -i github.com/coreos/prometheus-operator/pkg/client/monitoring/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1 -p github.com/coreos/prometheus-operator/pkg/client/monitoring/v1 --go-header-file="$(GOPATH)/src/github.com/coreos/prometheus-operator/.header"
|
||||
|
||||
generate-bundle:
|
||||
hack/generate-bundle.sh
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// +build !ignore_autogenerated
|
||||
|
||||
// Copyright 2017 The prometheus-operator Authors
|
||||
// Copyright 2018 The prometheus-operator Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
|
Loading…
Add table
Reference in a new issue