Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

fix: compatible with k8s 1.16 api #45

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tekton/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "tekton.name" . }}-controller
spec:
replicas: 1
selector:
matchLabels:
app: {{ template "tekton.name" . }}-controller
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion tekton/templates/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "tekton.name" . }}-webhook
spec:
replicas: 1
selector:
matchLabels:
app: {{ template "tekton.name" . }}-webhook
template:
metadata:
labels:
Expand Down