Skip to content

Commit

Permalink
Update Deployments to use the apps/v1 API version
Browse files Browse the repository at this point in the history
The previous version, apps/v1beta1, is deprecated and will be removed in
Kubernetes 1.16
  • Loading branch information
imjasonh authored and tekton-robot committed Sep 19, 2019
1 parent eb6edee commit 9ff6aca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion config/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 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: tekton-pipelines-controller
Expand All @@ -21,6 +21,9 @@ metadata:
app.kubernetes.io/component: controller
spec:
replicas: 1
selector:
matchLabels:
app: tekton-pipelines-controller
template:
metadata:
annotations:
Expand Down
5 changes: 4 additions & 1 deletion config/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-pipelines-webhook
Expand All @@ -22,6 +22,9 @@ metadata:
app.kubernetes.io/component: webhook-controller
spec:
replicas: 1
selector:
matchLabels:
app: tekton-pipelines-webhook
template:
metadata:
annotations:
Expand Down

0 comments on commit 9ff6aca

Please sign in to comment.